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
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.
Donate
If this library helps, feel free to donate.
ETH: 0xf560e5F7F234307A20670ed8A5778F350a8366d1
Metadata
Release files for trio-binance 0.5.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| trio_binance-0.5.3.tar.gz | 24.8 kB | Without provenance | Details for trio_binance-0.5.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| trio_binance-0.5.3-py3-none-any.whl | Python 3 | none | any | Details for trio_binance-0.5.3-py3-none-any.whl |
Total release size: 47.9 kB
Release files / trio_binance-0.5.3.tar.gz
| Download URL | trio_binance-0.5.3.tar.gz |
|---|---|
| Size | 24.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef8779019b1ce446d97075c285bdaa45c6a60b07a86c2322e3c24ba3dedcca1f
|
|
BLAKE2b-256 checksum How to use checksums |
569d1083bdf1bfdd1e5b5d04267a94707cdbf3eb089f88ca52287e53e9939075
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / trio_binance-0.5.3-py3-none-any.whl
| Download URL | trio_binance-0.5.3-py3-none-any.whl |
|---|---|
| Size | 23.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e706145e4ae60764354498ff0db635aa6a85854fad765e74f94293bf7fc9b81
|
|
BLAKE2b-256 checksum How to use checksums |
bfb88087337036d8f15b36f2dbcc1103cfecede53d2895d3b6a81d3fcf065aa0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Security for trio-binance 0.5.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.