To interact with BTCS crypto systems.
Project description
crypto systems package for BTCS crypto business systems
Install
pip install btcs_crypto_systems
Update
pip install btcs_crypto_systems --upgrade
Usage
TokenMaster
from btcs_crypto_systems import token_master
tm = token_master.TokenMaster(env="test")
print(tm.assets[7].symbol)
Utils
from btcs_crypto_systems import utils
csv_writer = utils.get_csv_writer(file_name="example_output_file", headers=["address", "balance"])
csv_writer.writerow(["0x8c8d7c46219d9205f056f28fee5950ad564d7465","1.001"])
#creates a file called 20230217_0853_example_output_file.csv
AMS
from btcs_crypto_systems import address_manangement_service
ams = address_manangement_service.AMS(env="test")
print(json.dumps(ams.get_addresses(is_deposit=True, include_balances=True, limit=10, tags=["siba"]), indent=2))
Update the package
Navigate to the folder where the pyproject.toml file is. Update version number.
python3 -m build
python3 -m twine upload --repository pypi dist/*
Make sure old bulds are not part of the dist folder.
username: __token__
password: get an API key from here https://pypi.org/manage/account/token/
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
btcs_crypto_systems-0.0.14.tar.gz
(10.1 kB
view hashes)
Built Distribution
Close
Hashes for btcs_crypto_systems-0.0.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44b628b0f5939d6ddab574e8578e0eff5e97af9a46d2774a2184141fe7d6757f |
|
MD5 | b1129b524a8528c59c3343e98f6efb14 |
|
BLAKE2b-256 | 393b75d5fceb5d1bae373a6ae7352ad85dfb35e138908f95c3b37be3cfc6646e |
Close
Hashes for btcs_crypto_systems-0.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f22b3772f0972c1afca3e03f5b3492aaeda463230c5c9e2018c131d2b50284d6 |
|
MD5 | 5fd2ae1bf0642ca5108b13f7cf9c2623 |
|
BLAKE2b-256 | 2f82ce5ca36ccebd7c074ab206eeeaf09797d0a926b34cc542bd662627e41377 |