Skip to main content

Extended kalshi sdk with methods you were missing so much.

Project description

kalshi-async-plus

An extended, drop-in replacement for the official kalshi-python-async SDK, featuring the methods you were missing so much.

Installation

uv add kalshi-async-plus

Plus Features

1. Cleaner Configuration

Pass your credentials directly into the Configuration constructor—no more manual attribute assignment.

from kalshi_async_plus import Configuration, KalshiClient

config = Configuration(
    api_key_id="your_id",
    private_key_pem="your_pem_string",
    debug=True  # Automatically enables Plus-level debug logging
)
client = KalshiClient(config)

2. High-Precision Sport & Scope Filtering

Fetch events with perfect parity to the Kalshi website using type-safe enums.

from kalshi_async_plus import KalshiClient, Sport, Scope

async def main():
    async with KalshiClient(config) as client:
        # 1. Fetch all baseball games
        baseball_events = await client.get_all_events(
            sport=Sport.BASEBALL, 
            status="open"
        )
        
        # 2. Granular filtering: Just Tennis "Games" (skips Futures/Set Winners)
        tennis_games = await client.get_all_events(
            sport=Sport.TENNIS,
            scope=Scope.GAMES,
            status="open"
        )
        
        for event in tennis_games:
            print(f"Match: {event.title}")

3. Professional Logging & Debugging

When you set debug=True in your configuration, kalshi-async-plus automatically activates its internal high-level logging. We've cleaned up propagation so you get clean, singular log entries in your console.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kalshi_async_plus-0.0.5.tar.gz (35.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kalshi_async_plus-0.0.5-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file kalshi_async_plus-0.0.5.tar.gz.

File metadata

  • Download URL: kalshi_async_plus-0.0.5.tar.gz
  • Upload date:
  • Size: 35.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kalshi_async_plus-0.0.5.tar.gz
Algorithm Hash digest
SHA256 0728b70f72e02a36228648a6244165101747cf11ca0bb700b3a5d606f9c54ac7
MD5 473ca482db24ec762452257b6c917a7f
BLAKE2b-256 c9b05afc4cfb8955a8d7d62aad5c424b4bd4e6e6cdf99912f34961ffa81e867e

See more details on using hashes here.

File details

Details for the file kalshi_async_plus-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: kalshi_async_plus-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kalshi_async_plus-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e70534c3fb74f899bf371d826676e1a87af4841c0422292728a2163fab34e6fa
MD5 33e72e262d0b854f06217fc74cc4954b
BLAKE2b-256 d396b84d3874702f2dcead2a2edaf0d0dd4349196480f2d3554b636f705daaf4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page