Skip to main content

trio based asynchronous binance SDK

Project description

This is an unofficial Python wrapper for the Binance exchange REST API v3. I am in no way affiliated with Binance, use at your own risk.

And this repository is forked from python-binance, but has only async client, and works only with trio or trio-compatible asynchronous frameworks. I have kept the REST API as close to the original as possible, but using a completely different approach for websocket streams, due to the design of trio and structured concurrency.

Source code

https://github.com/halfelf/trio-binance

Quick Start

Register an account with Binance.

Generate an API Key and assign relevant permissions.

pip install trio-binance
# or, I suggest using uv to manage your Python dependencies.
uv add trio-binance

Example

Check pytest file under tests.

Project details


Download files

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

Source Distribution

trio_binance-0.5.3.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

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

trio_binance-0.5.3-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file trio_binance-0.5.3.tar.gz.

File metadata

  • Download URL: trio_binance-0.5.3.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for trio_binance-0.5.3.tar.gz
Algorithm Hash digest
SHA256 ef8779019b1ce446d97075c285bdaa45c6a60b07a86c2322e3c24ba3dedcca1f
MD5 30e3bcab9102c2e18013a8fdc7d56c17
BLAKE2b-256 569d1083bdf1bfdd1e5b5d04267a94707cdbf3eb089f88ca52287e53e9939075

See more details on using hashes here.

File details

Details for the file trio_binance-0.5.3-py3-none-any.whl.

File metadata

  • Download URL: trio_binance-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for trio_binance-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3e706145e4ae60764354498ff0db635aa6a85854fad765e74f94293bf7fc9b81
MD5 41bee8a335d0ea0aa1aca5b45f747553
BLAKE2b-256 bfb88087337036d8f15b36f2dbcc1103cfecede53d2895d3b6a81d3fcf065aa0

See more details on using hashes here.

Supported by

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