Bitcart coins support library
Project description
bitcart-sdk
This is a async version of client library(wrapper) around bitcart daemon. It is used to simplify common commands. New coins may be added soon.
APIs are the same, just use async and await. poll_updates method is still blocking as it needs to run forever. Async callback functions for @btc.on now supported. The only main change is that you must use async with context manager or manually close connections, like so:
async with btc:
print(await btc.balance())
Or, if you don't use context managers, close it manually:
print(await btc.balance())
await btc.close()
For more information Read the Docs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bitcart-async-0.6.4.tar.gz
(9.5 kB
view hashes)
Built Distribution
Close
Hashes for bitcart_async-0.6.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd8ade5feb61314ee4bfefc9d17f3708ef1285b68da2e26e5808a95286502355 |
|
MD5 | 55eed7f500fb000773a96c7f153816f5 |
|
BLAKE2b-256 | c45030aee7d1fcc57e8ac5ff4a3158e3e0dfb7f5de1d3bd1ca0bd4428f17f548 |