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.13.tar.gz
(10.1 kB
view hashes)
Built Distribution
Close
Hashes for btcs_crypto_systems-0.0.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5007c60ab57a4a23ac1980f0d5f84166f1c0cbb1818833517d2588853a4870c7 |
|
MD5 | c01260a978d4a5efa2a5d84eea7feaa0 |
|
BLAKE2b-256 | 613d969a29beb16f9275df75109f6fa6e630d91a8876a3a8908d79a7941bce7b |
Close
Hashes for btcs_crypto_systems-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7088a3531388de2b0d078a1bb440e8c1a7957b937755c38ce8176c54e96b3a9d |
|
MD5 | 31939d851ac3f1855a3ae4da90d12f5b |
|
BLAKE2b-256 | 7a43b3873447162d6c284f93dd115f608dea5a363ee339fa1947ddcb7cb7ddd4 |