pybsv
Wrapping bitsv - https://github.com/AustEcon/bitsv
Description: An easy to use Python BSV library.
Install:
pip install pybsv
Usage:
from pybsv import PyBSVClient
# SUPPORTED_NETWORKS = [MAIN_NETWORK_TYPE, SCALING_NETWORK_TYPE, TEST_NETWORK_TYPE]
client = PyBSVClient('Your WIF Private Key Here', network=pybsv.TEST_NETWORK_TYPE)
# SUPPORTED_CURRENCIES = [BSV_CURRENCY_KEY, USD_CURRENCY_KEY]
client.get_balance(pybsv.BSV_CURRENCY_KEY)
from pybsv import PyBSVClient, BSV_CURRENCY_KEY, USD_CURRENCY_KEY, TEST_NETWORK_TYPE
# SUPPORTED_NETWORKS = [MAIN_NETWORK_TYPE, SCALING_NETWORK_TYPE, TEST_NETWORK_TYPE]
client = PyBSVClient('Your WIF Private Key Here', network=TEST_NETWORK_TYPE)
# SUPPORTED_CURRENCIES = [BSV_CURRENCY_KEY, USD_CURRENCY_KEY]
print(client.get_balance(BSV_CURRENCY_KEY))
print(client.get_address())
trans_id = client.send_bsv('Destination Wallet Address Here', 0.10, USD_CURRENCY_KEY) # Send $0.10 worth of BSV
print(trans_id)
Upload to PyPi:
python setup.py sdist
python setup.py bdist_wheel
twine upload dist/*whl dist/*gz
*Do this from the root of this project.
Metadata
Release files for pybsv 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pybsv-0.0.5.tar.gz | 2.2 kB | Without provenance | Details for pybsv-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pybsv-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for pybsv-0.0.5-py3-none-any.whl |
Total release size: 5.3 kB
Release files / pybsv-0.0.5.tar.gz
| Download URL | pybsv-0.0.5.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c11a831dc7ed764343bbc3f7eeda1cf4a96a49e8d605d45a6103e115333793f2
|
|
BLAKE2b-256 checksum How to use checksums |
5c4e15c82e133735d59babe42df9481764b6bb1509370bf1f820d41e8c895aaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7
|
Release files / pybsv-0.0.5-py3-none-any.whl
| Download URL | pybsv-0.0.5-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b9728c6b318cf6ae95016ef4af95fca67b5637707376e92bb4545f1ffc4f40e
|
|
BLAKE2b-256 checksum How to use checksums |
6d13a81fe07ada0fb5a1fbc3c7db530af71a4a1a9247592af1b7837138f393bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7
|
Security for pybsv 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.