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 Filtering
Fetch events for specific sports with perfect parity to the Kalshi website. Our get_all_events method handles pagination and official metadata filtering for you.
from kalshi_async_plus import KalshiClient, Sport
async def main():
async with KalshiClient(config) as client:
# Uses the Sport enum for type-safety and auto-completion
baseball_events = await client.get_all_events(sport=Sport.BASEBALL, status="open")
for event in baseball_events:
print(f"Baseball Game: {event.title}")
3. Linked Debugging
When you set debug=True in your configuration, kalshi-async-plus automatically activates its internal high-level logging to show you exactly how your filters and pagination are performing.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kalshi_async_plus-0.0.4.tar.gz.
File metadata
- Download URL: kalshi_async_plus-0.0.4.tar.gz
- Upload date:
- Size: 34.7 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4157c5b5b1dfdba23bd2e368a811d329722a414553272bb4c7e0749fc4e6cda2
|
|
| MD5 |
7825c6e79e4571136787491dc72d2d83
|
|
| BLAKE2b-256 |
06050ecd825f549283fbeb22fa4d94aac050474a8722cd936661f14e559267fd
|
File details
Details for the file kalshi_async_plus-0.0.4-py3-none-any.whl.
File metadata
- Download URL: kalshi_async_plus-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.3 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d35981c0523db3f1231ce3a4ea745552e0126d7ae811c46933b0dae141282ba5
|
|
| MD5 |
449676f5949b93816b70c64dc4c21c0f
|
|
| BLAKE2b-256 |
90cf679d69f7a5337c398490a6ee963abe89a1856ff27bfa5512504e3a1dbc8f
|