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.0.tar.gz (21.9 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.0-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trio_binance-0.5.0.tar.gz
  • Upload date:
  • Size: 21.9 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.0.tar.gz
Algorithm Hash digest
SHA256 85728671fc6c9409f14915432e950337a367dc7d52a3a62c10cee99f34c5a17d
MD5 b1f02e91eae91b51cd6436950a0e2281
BLAKE2b-256 b96e63179ce3cd560352ae7a13a1d0eefd854adf7efab9280e44a64843013965

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trio_binance-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 20.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 549497e060a734bb4724724fd91486e138c9aab07ebcae5db5ca3813ba21317d
MD5 5d35c6dbec81712bbadcc7a083a2406d
BLAKE2b-256 de0e1882a0003a403817fb228e4606504b041341be8ab01f875c630db01a4968

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