MCPcopy Create free account

hub / github.com/VexedWilosn/AetherSwap / functions

Functions1,137 in github.com/VexedWilosn/AetherSwap

↓ 5 callersFunction_build_cookies
从完整 cookie 字符串构建 cookies dict,并确保必要字段存在。
app/gift_engine.py:12
↓ 5 callersFunction_check_cookies
检查 cookies 中是否包含必要的登录字段,不满足时返回错误 dict。
app/routes/gift.py:44
↓ 5 callersFunction_fetch_with_proxy
Fetch JSON from URL using random proxy from pool.
app/services/steam_deals.py:91
↓ 5 callersFunction_get_cookies_raw
从凭证配置中获取完整 cookies 字符串。
app/routes/gift.py:36
↓ 5 callersFunction_http_error_reason
(where: str, status_code: int)
steam/market_orders.py:113
↓ 5 callersFunction_norm_name
(s: str)
app/repair_error_records.py:171
↓ 5 callersFunction_parse_price
Parse an international price string to a numeric value in local currency. Handles: spaces as thousands (VND/IDR), comma-as-decimal (RUB/BRL),
app/routes/steam_deals.py:129
↓ 5 callersFunction_prepare_repair
(monkeypatch, tmp_path, purchases, *, inventory=None, sold=None, sold_names=None, listings=None, listing_names
tests/test_repair_error_records.py:9
↓ 5 callersFunction_run_sell_phase_impl
(cfg: dict, state, flow_id: str, items: Optional[list] = None)
app/sell_pipeline.py:496
↓ 5 callersFunction_save
(data: dict)
app/accounts.py:20
↓ 5 callersFunction_构造代理管理器
用假数据直接构造 ProxyManager,跳过读配置文件
tests/test_proxy_manager.py:10
↓ 5 callersFunctionbatch_fetch_prices
批量查询一组物品名称的市场价,返回 {name: price_cny}. - PERF-01: 使用 ThreadPoolExecutor 并发查询(最多 4 线程),速度远快于串行 - 每个线程使用独立的 session,避免 requests.Session 线程安全问题
app/shared_market.py:28
↓ 5 callersFunctioncompactLoginError
(reason)
web/js/utils.js:200
↓ 5 callersFunctioncreate_market_session
( cookies_raw: str, steam_id: str, *, headers: Optional[dict] = None, verify: bool = False
steam/session.py:17
↓ 5 callersFunctionenv_bool
(name: str, default: Optional[bool] = None, env: Optional[Mapping[str, str]] = None)
app/runtime_env.py:46
↓ 5 callersFunctionfetch_steam_profile_via_api
(steam_id: str, cookies_str: str)
app/services/steam_auth.py:77
↓ 5 callersFunctionget_active_strategy_ids
(config: Optional[dict] = None)
app/strategy_engine.py:857
↓ 5 callersFunctionget_bind_host
(profile: Optional[RuntimeProfile] = None, env: Optional[Mapping[str, str]] = None)
app/runtime_env.py:127
↓ 5 callersMethodis_alive
(self)
tests/test_background_startup.py:41
↓ 5 callersFunctionlist_accounts
()
app/accounts.py:26
↓ 5 callersFunctionloadConfig
()
web/js/settings.js:6
↓ 5 callersFunctionrun_sell_phase_on_inventory_update
(items: list)
app/sell_pipeline.py:619
↓ 5 callersFunctionselectStrategyDraft
(id, rerender = true)
web/js/strategies.js:498
↓ 5 callersFunctionset_inventory
(items: list)
app/state.py:288
↓ 5 callersFunctionstrategyConfirmLeave
()
web/js/strategies.js:406
↓ 5 callersFunctionstrategyIsSellPricingCore
(moduleId)
web/js/strategies.js:86
↓ 5 callersFunctionstrategyStepLimit
(type = strategiesState.draft?.strategy_type || strategiesState.view)
web/js/strategies.js:63
↓ 5 callersFunctionvalidate_strategy
(strategy: dict, *, for_activation: bool = False)
app/strategy_engine.py:974
↓ 4 callersFunction_adjust_ref_price_for_daily_high
( market_hash_name: str, current_ref_price: float, config: dict, log_fn: Optional[Callable[[st
app/pipeline_steps.py:120
↓ 4 callersFunction_as_number
(value: Any)
app/strategy_engine.py:1597
↓ 4 callersFunction_description
(name, tags)
tests/test_steam_client.py:21
↓ 4 callersFunction_enrich_inventory_with_steam_prices
Fill lowest_price on inventory items using shared batch_fetch_prices.
app/routes/inventory.py:11
↓ 4 callersFunction_format_request_error
(prefix: str, exc: Exception)
steam/market_orders.py:107
↓ 4 callersFunction_is_declarative_user_module
(mod: dict)
app/strategy_engine.py:769
↓ 4 callersFunction_is_market_group_id
(value: str)
steam/client.py:55
↓ 4 callersFunction_normalize_country_code
(value)
app/gift_engine.py:114
↓ 4 callersFunctionanimateValue
(elem, end, duration = 600)
web/js/utils.js:260
↓ 4 callersFunctionapply_currency
( prices: List[float], currency: Optional[str], usd_to_cny_rate: float = USD_TO_CNY_DEFAULT, r
utils/money.py:105
↓ 4 callersFunctionbuild_listing_url
(market_hash_name: str, app_id: int = 730)
steam/client.py:203
↓ 4 callersFunctioncloseWizard
(goToTab)
web/js/settings.js:647
↓ 4 callersFunctioncompactErrorText
(reason, limit = 260)
web/js/utils.js:188
↓ 4 callersFunctiondefaultParamsForModule
(moduleId)
web/js/strategies.js:1015
↓ 4 callersFunctionget_account
(account_id: str)
app/accounts.py:37
↓ 4 callersFunctionget_log
(since_idx: int = 0)
app/state.py:240
↓ 4 callersMethodget_purchases
(self)
app/state.py:63
↓ 4 callersFunctionget_sales
()
app/state.py:266
↓ 4 callersFunctionget_sell_orders_cny
( session, market_hash_name: str, app_id: int = 730, *, country: str = "CN", language:
steam/market_orders.py:702
↓ 4 callersFunctionis_stop_requested
()
app/state.py:254
↓ 4 callersMethodis_stop_requested
(self)
app/pipeline_context.py:20
↓ 4 callersFunctionrefreshLog
()
web/js/console.js:43
↓ 4 callersMethodreload
(self)
utils/proxy_manager.py:93
↓ 4 callersFunctionruntimeCanLaunchBrowser
()
web/js/utils.js:176
↓ 4 callersFunctionsaveStrategyDraft
()
web/js/strategies.js:1293
↓ 4 callersFunctionsend_pushplus
(token: str, title: str, content: str, template: str = "html")
app/notify.py:9
↓ 4 callersFunctionset_buff_auth_expired
(value: bool)
app/state.py:234
↓ 4 callersFunctionshowReloginModal
(type, opts = {})
web/js/main.js:214
↓ 4 callersFunctionsteam_id_from_cookie_str
(cookie_str: str)
app/services/steam_auth.py:282
↓ 4 callersFunctionstrategyCanMoveStep
(fromIndex, insertIndex)
web/js/strategies.js:317
↓ 4 callersFunctionstrategyLocalDraft
()
web/js/strategies.js:54
↓ 4 callersFunctionstrategyModuleAddStatus
(mod, options = {})
web/js/strategies.js:105
↓ 4 callersFunctionstrategyModuleName
(moduleId)
web/js/strategies.js:69
↓ 4 callersFunctionstrategyStableString
(value)
web/js/strategies.js:1350
↓ 4 callersFunctionupdateSteamGuardDisplay
()
web/js/steamGuard.js:9
↓ 4 callersFunctionupdate_purchase_by_id
(db_id: int, data: dict)
app/state.py:284
↓ 4 callersFunctionupdate_steam_creds
(cookies: str, session_id: str, steam_id: str = None)
app/config_loader.py:25
↓ 3 callersFunction_build_listing_plan
Decide which sellable items to actually list and at what price. Returns a list of dicts ready for ``_submit_listings``.
app/sell_pipeline.py:154
↓ 3 callersFunction_clean
(value: Optional[str])
app/runtime_env.py:31
↓ 3 callersFunction_clean_logic
(value: Any)
app/strategy_engine.py:700
↓ 3 callersFunction_coerce_listing_url
(value: str)
steam/client.py:28
↓ 3 callersFunction_doSaveProxyConfig
()
web/js/proxy.js:154
↓ 3 callersFunction_env_value
(*names: str, env: Optional[Mapping[str, str]] = None)
app/runtime_env.py:51
↓ 3 callersFunction_friendly_browser_launch_error
(exc: Exception, relogin_type: str, retried: bool = False)
app/routes/auth.py:130
↓ 3 callersFunction_get_cart_items
(jwt_token: str)
app/gift_engine.py:416
↓ 3 callersFunction_get_with_retry
(url: str, params: dict, headers: dict, cookies: dict, debug_fn: Optional[Callable[[str], None]])
app/steam_listings.py:21
↓ 3 callersFunction_grpc_request
(jwt_token: str, endpoint: str, payload_b64: str)
app/gift_engine.py:386
↓ 3 callersFunction_has_sale_price
(purchase: dict)
app/repair_error_records.py:221
↓ 3 callersFunction_has_user_code_fields
(data: dict)
app/strategy_engine.py:765
↓ 3 callersFunction_hydrate_strategy_params
(strategy: dict, config: dict)
app/strategy_engine.py:1365
↓ 3 callersFunction_legacy_sell_id
(config: dict)
app/strategy_engine.py:849
↓ 3 callersFunction_normalize_market_tag
(value: Any)
steam/client.py:93
↓ 3 callersFunction_normalize_max_instances
(value: Any)
app/strategy_engine.py:785
↓ 3 callersFunction_pill
(label, cnyVal, cls, savingText, isExpensive)
web/js/steamDeals.js:212
↓ 3 callersFunction_purchase_from_dict
(d: dict)
app/database.py:134
↓ 3 callersFunction_sale_from_dict
(d: dict)
app/database.py:148
↓ 3 callersFunction_strategy_store
()
app/strategy_engine.py:628
↓ 3 callersFunction_wait_for_server_thread
(thread: threading.Thread)
app/main.py:92
↓ 3 callersFunctionappend_purchase
(p: dict)
app/state.py:260
↓ 3 callersFunctionapply_strategy_to_config
(config: dict, strategy_type: str, strategy_override: Optional[dict] = None)
app/strategy_engine.py:1409
↓ 3 callersFunctionbuildErrorExportName
(prefix = "aetherswap-error")
web/js/utils.js:203
↓ 3 callersFunctioncompute_holdings_stats
(holdings: list, resell_ratio: float = 0.85)
app/notify.py:180
↓ 3 callersFunctioncompute_smart_list_price
( sell_orders: List[Tuple[float, int]], *, wall_volume_threshold: int = 20, max_ignore_volume:
steam/market_orders.py:811
↓ 3 callersFunctiondb_get_steam_deals_count
(search: str = "")
app/database.py:441
↓ 3 callersFunctiondraw_text_left
(draw, xy, text, font, fill)
app/services/deal_cards.py:202
↓ 3 callersFunctionfetchBalance
()
web/js/gift.js:69
↓ 3 callersMethodfetch_history
( self, market_hash_name: str, app_id: int = 730, return_currency: bool = Fals
app/services/steam_client.py:24
↓ 3 callersFunctionfetch_my_listings
(cookies, debug_fn: Optional[Callable[[str], None]] = None)
app/steam_listings.py:146
↓ 3 callersFunctionfmtCNY
(val)
web/js/steamDeals.js:40
↓ 3 callersFunctionget_buff_credentials
()
app/config_loader.py:23
↓ 3 callersFunctionget_current_id
()
app/accounts.py:29
↓ 3 callersFunctionget_port
(env: Optional[Mapping[str, str]] = None)
app/runtime_env.py:135
← previousnext →101–200 of 1,137, ranked by callers