A typed, validated async client for Kraken Spot REST and WebSocket v2, plus public Futures REST and Charts.
- Documentation: https://tribulnation.com/typed/kraken
- Source Code: https://github.com/tribulnation/typed/tree/main/packages/kraken
from typed_kraken import Kraken
async with Kraken.new(public=True) as client:
ticker = await client.spot.market_data.ticker(pair='XBTUSD')
print(ticker)
Why Typed Kraken?
- 🎯 Precise Types: every
client.spot,client.streams,client.trading_ws,client.futures, andclient.chartsparameter and response is typed, down toTypedDicts andLiterals for Kraken's own field names. - ✅ Runtime Validation: REST and WebSocket v2 responses are validated against their schema before you see them, not just typed on paper.
- ⚡ Async First: async REST calls and long-lived WebSocket v2 subscriptions, built for concurrent trading workflows.
- 📚 Full Surface: market data, account, trading, funding, and earn -- every documented Kraken Spot endpoint, not just the popular ones.
Installation
pip install typed-kraken
How To
Reference
Design Philosophy
Typed Kraken follows the principles outlined in this blog post.
Details matter. Developer experience matters.
License
MIT -- see LICENSE.
Metadata
Release files for typed-kraken 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| typed_kraken-0.6.0.tar.gz | 102.6 kB | With provenance | Details for typed_kraken-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| typed_kraken-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for typed_kraken-0.6.0-py3-none-any.whl |
Total release size: 288.3 kB
Release files / typed_kraken-0.6.0.tar.gz
| Download URL | typed_kraken-0.6.0.tar.gz |
|---|---|
| Size | 102.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67c9a630479bfad41438e386a30d76e4b9f054fa7b9ff7b64ca4e3ae31cd539b
|
|
BLAKE2b-256 checksum How to use checksums |
d7bdb6baebd58382fbafa14e96eb4fa841091291bb0ead02881827ca33b1febd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.
Transparency logRelease files / typed_kraken-0.6.0-py3-none-any.whl
| Download URL | typed_kraken-0.6.0-py3-none-any.whl |
|---|---|
| Size | 185.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e833fefbf3afbdb13fcf5ae5018d7a3fe11713b0afc1f9f01582013487a10e58
|
|
BLAKE2b-256 checksum How to use checksums |
ef3d365920c1015f8af3d12311e80972333c8c7e188ad7ab210df9085299531e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.
Transparency logSecurity for typed-kraken 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for typed_kraken-0.6.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.