Skip to main content

Typed Binance

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

from binance import Binance

async with Binance.new(public=True) as client:
  price = await client.spot.market.ticker_price(symbol='BTCUSDT')
  print(price)

Why Typed Binance?

  • 🎯 Precise Types: every spot, USD-M futures, COIN-M futures, options, and portfolio margin parameter and response is a precise Python type, not dict/Any.
  • ✅ Runtime Validation: every response is validated against its schema by default, not just typed on paper.
  • ⚡ Async First: async HTTP requests and WebSocket market-data streams, built for concurrent workflows across every product line.
  • 📚 Full Surface: every documented spot, futures, options, and portfolio margin endpoint, not just the popular ones.

Installation

pip install typed-binance

How To

Documentation

Download files

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

Source Distribution

typed_binance-0.2.1.tar.gz (437.6 kB view details)

Uploaded Source

Built Distribution

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

typed_binance-0.2.1-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file typed_binance-0.2.1.tar.gz.

File metadata

  • Download URL: typed_binance-0.2.1.tar.gz
  • Upload date:
  • Size: 437.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for typed_binance-0.2.1.tar.gz
Algorithm Hash digest
SHA256 089176c06c27851eedd349f3893dbe8921ae1d5807c116d32f4ed9e1929f18d7
MD5 fbf81dd26316e05fba49ea33fa35bf6a
BLAKE2b-256 e0c525fc00428fc320a1ca8786e0acd6f3ddd2291f4eded14dc487b98eafbf8c

See more details on using hashes here.

Provenance

The following attestation bundles were made for typed_binance-0.2.1.tar.gz:

Publisher: release-binance.yml on tribulnation/typed

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file typed_binance-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: typed_binance-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for typed_binance-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 45ff3be25c0e71aa8fa974d26d4c0f66fbecd7f2456afcd43074d9a0d6e6531e
MD5 903b4b86875c66af80eb1c7799c72c62
BLAKE2b-256 bf8798d43a7406292035fc74f8a68ec8a4a2f437d1d6fc297f0b95e0e5ef4edb

See more details on using hashes here.

Provenance

The following attestation bundles were made for typed_binance-0.2.1-py3-none-any.whl:

Publisher: release-binance.yml on tribulnation/typed

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.0.0

2 files

0.2.3

2 files

0.2.2

2 files

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.3

2 files

0.1.2

2 files

0.1.0

2 files

Supported by

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