A fully typed, validated async client for the Extended API.
- Documentation: https://tribulnation.com/typed/extended
- Source Code: https://github.com/tribulnation/typed/tree/main/packages/extended
from typed_extended import Extended
async with Extended.new(public=True) as client:
stats = await client.info.market_stats('BTC-USD')
print(stats['lastPrice'], stats['markPrice'], stats['fundingRate'])
Why Typed Extended?
- 🎯 Precise Types: Typed inputs and responses for every REST call and WebSocket stream, including the order request union (limit, market, conditional, TP/SL).
- ✅ Runtime Validation: Responses and stream messages validated by default, with prices and sizes as exact
Decimaland timestamps asdatetime. - ⚡ Async First: Async HTTP and WebSocket streams, with Stark order, transfer and withdrawal signing done for you.
- 📚 Full Surface: Market data, account, orders, transfers and withdrawals, portfolio analytics, vault, interest, points, referrals and builder endpoints.
Installation
pip install typed-extended
Signing runs in pure Python out of the box. For roughly 10x faster signatures, install the optional native backend:
pip install "typed-extended[fast]"
How To
- Fetch Market Data
- Listen To Live Streams
- Place & Manage Orders
- Fetch Account Data
- Paginate Through Results
- Transfer & Withdraw
Reference
Design Philosophy
Typed Extended follows the principles outlined in this blog post.
Details matter. Developer experience matters.
License
MIT — see LICENSE.
Metadata
Release files for typed-extended 0.2.1
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_extended-0.2.1.tar.gz | 79.9 kB | With provenance | Details for typed_extended-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| typed_extended-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for typed_extended-0.2.1-py3-none-any.whl |
Total release size: 232.7 kB
Release files / typed_extended-0.2.1.tar.gz
| Download URL | typed_extended-0.2.1.tar.gz |
|---|---|
| Size | 79.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ae63b662df912def7234d58eb1719425ef40dfbbf8a6c692ec19b6aa0023260
|
|
BLAKE2b-256 checksum How to use checksums |
ccef709279358488789ca4d7d8a88aee1f53a4d5f8cd98763726e8cb491e0c30
|
| 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 19, 2026.
Transparency logRelease files / typed_extended-0.2.1-py3-none-any.whl
| Download URL | typed_extended-0.2.1-py3-none-any.whl |
|---|---|
| Size | 152.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f845dff46e438b53493e2a6880a064618120314aad138a811fb797ba5e3d8949
|
|
BLAKE2b-256 checksum How to use checksums |
fd9473ea795dcb69fe8588ba6457df4eed7bbedeb78ac2a329c0a03fafdb1baa
|
| 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 19, 2026.
Transparency logSecurity for typed-extended 0.2.1
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_extended-0.2.1.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 19, 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.