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.
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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38fed01f5f41182a70de6b0f597a355df6bc3aab0b8d58fc9c1fa4fc38e8d051 |
|
MD5 | 9fb1fbc611a8ab3ed311e955eee91407 |
|
BLAKE2b-256 | d052825c523da9e5751d66102f5ad1a28387836af898d37157d586121e00b4e1 |
Close
Hashes for btcs_crypto_systems-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68fa4ed928cf74eea5e5148ef917790880eaf9dc2710300a5f8c22bcf10589e6 |
|
MD5 | 82648de9aec39d9b624188f71dda4c48 |
|
BLAKE2b-256 | 0e98c0f80b2505cac3cc1fad57cd8a79a7a831def1e1525e1ecea5022ba855b3 |