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.2.tar.gz (438.5 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.2-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: typed_binance-0.2.2.tar.gz
  • Upload date:
  • Size: 438.5 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.2.tar.gz
Algorithm Hash digest
SHA256 9132592192a34160cc51e6d7b376815ae476c1ec3912f90f1b20881fea7642b7
MD5 292b7bd193cf0d6870512af4a949cc0b
BLAKE2b-256 0fb01a01ef298ebb1ac056107c3318397132b8efe4d04ec634fb2ed56834bdd1

See more details on using hashes here.

Provenance

The following attestation bundles were made for typed_binance-0.2.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: typed_binance-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9728fbb56e2d8fb8b7ce910d3e58790a6ada08e6f63d198527dd0d9b480fada0
MD5 e83109a9b23a31b1434c9ca4d9e2056e
BLAKE2b-256 c4586356e0940cb8167d6f729ff0d6bb6baf86046b717133bc28dcd86bd8e2ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for typed_binance-0.2.2-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

This release

0.2.2 This release

2 files

0.2.1

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