Skip to main content

Typed Extended

A fully typed, validated async client for the Extended API.

PyPI version Python versions Docs License



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 Decimal and timestamps as datetime.
  • ⚡ 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

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.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for typed-extended 0.1.0
File Size Uploaded Provenance Actions
typed_extended-0.1.0.tar.gz 77.6 kB With provenance Details for typed_extended-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for typed-extended 0.1.0
File Interpreter ABI Platform Actions
typed_extended-0.1.0-py3-none-any.whl Python 3 none any Details for typed_extended-0.1.0-py3-none-any.whl

Total release size: 227.4 kB

Release files / typed_extended-0.1.0.tar.gz

Download URL typed_extended-0.1.0.tar.gz
Size 77.6 kB
Tags Source
SHA-256 checksum
How to use checksums
df3445164bbb4bfb46a0ba2e116d19bcf80d4d6b2e846205f9e13b373fb13184
BLAKE2b-256 checksum
How to use checksums
71076e94bef1c579c4e83ff7efb8ba580a23b3e9c78cebfb47161578f00fdde2
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 Oct 22, 2026.

Transparency log

Release files / typed_extended-0.1.0-py3-none-any.whl

Download URL typed_extended-0.1.0-py3-none-any.whl
Size 149.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4cab98ce9abdc38578cb2666b00c74879656e63ecb63bff7e77522638d1068fa
BLAKE2b-256 checksum
How to use checksums
58b07a15077698c44a3dede7d6e1813cfcd50eee5e968ac724edb5342a25e929
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 Oct 22, 2026.

Transparency log

Security for typed-extended 0.1.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.

Select from 2 files

Attestation for typed_extended-0.1.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 Oct 22, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page