pykalshi-client

v1.3.0 safe
1.8
Low Risk

Async Python client for the Kalshi prediction market API — typed HTTP + WebSocket

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 15 test file(s) found

  • Test runner config found: conftest.py
  • Test runner config found: pyproject.toml
  • 15 test file(s) detected (e.g. conftest.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (10077 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 7.0

Partial type annotation coverage

  • Classifier: Typing :: Typed
  • 512 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

🔬 Heuristic Checks

⚠ Outbound Network Calls score 9.0

Found 6 network call pattern(s)

  • sport self._client = httpx.AsyncClient(**client_kwargs) # Rate limit auto-configuration st
  • TO_CHANNEL.""" async with httpx.AsyncClient() as client: resp = await client.get("https://docs.k
  • all fields.""" async with httpx.AsyncClient() as client: resp = await client.get("https://docs.k
  • WN_MISSING.""" async with httpx.AsyncClient() as client: resp = await client.get("https://docs.k
  • num values.""" async with httpx.AsyncClient() as client: resp = await client.get("https://docs.k
  • ng {SPEC_URL}...") resp = httpx.get(SPEC_URL, timeout=15.0) resp.raise_for_status() spec
⚠ Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • nels["market_lifecycle_v2"] = __import__( "pykalshi.ws_client", fromlist=["ChannelState"] ).ChannelState(name="market_lifecycle_v2") await
✓ Shell / Subprocess Execution

No shell execution patterns detected

✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: outlook.com>

✓ Suspicious Page Links

All external links appear legitimate

⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 4.0

2 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with pykalshi-client
Build a simple Python application using the pykalshi-client package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!