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.2.tar.gz (23.5 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.2-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trio_binance-0.5.2.tar.gz
  • Upload date:
  • Size: 23.5 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.2.tar.gz
Algorithm Hash digest
SHA256 34ded009076392e36d8636d0802392343094ba5569a54bc7830f9123aa2ab553
MD5 1b2f3492251fa45d4850cd6aa3fef63d
BLAKE2b-256 f6be549e81473883ec876387895bb5488ce6f927ad4979d2e0b2d4cc9c6da63c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trio_binance-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 21.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1e00f265b1b05948c7d22351afd22a1dd8b63ac9809449b633175ab43ef5c4df
MD5 0212ffef254f7bfdbeee31875f42968e
BLAKE2b-256 c05da10312fceb17fc32ff4a2ad7dedeee8e59ac2b3f8a8b5504f676457c8c58

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