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
Built Distribution
Close
Hashes for btcs_crypto_systems-0.0.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00e3d9b1dfbb9b735b7e345b99ff05961b4139c27e52143fa59f46b43ecf9366 |
|
MD5 | 668eb3185fe163bfb5cc257df6b26616 |
|
BLAKE2b-256 | 85f92046e93c1b69f8a1b728c8dcc210ac5e84f031f5ef8767b33e9389245a57 |
Close
Hashes for btcs_crypto_systems-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f01568eabe050519bc54286e7d40f196a7c05401c1f7ed2072acbe145456ae07 |
|
MD5 | 5a9f22da067e1dba1c8b79647a1c6b4b |
|
BLAKE2b-256 | 5eab6c5c11e120ff4ba0d51e2b9a4b55043e4619265b75ae08d507a21b0620e4 |