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/*
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
Built Distribution
Close
Hashes for btcs_crypto_systems-0.0.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3c5b6f6797b2c3aa5a8c074669f355180ca6cf745915399aa146cc61fb0905f |
|
MD5 | e01da5a51a1dba5256f4f7eff5c5e03d |
|
BLAKE2b-256 | 2fbbc85a6de36a6477d33e1444efd2a328c4a29a7e9918a901fd0f6404d3ddb2 |
Close
Hashes for btcs_crypto_systems-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d795ec8dc44cad6d1e6d168cccc82ccdfc1789d5f5120777e43122e14ca22a1b |
|
MD5 | 7be09b984265c1f2e4178f33d77962de |
|
BLAKE2b-256 | f54f93b1c58addda17c1f3af3a85b32d244e0f4798d1c8ffb113efa34a4ad7e9 |