xchainpy/xchainpy-util
Utitity helpers for XChain clients
Modules (in alphabetical order)
asset- Utilities for handling assetschain- Utilities for multi-chain
Usage
pip install xchainpy_util
Asset
from xchainpy_util.asset import Asset
asset = Asset(chain='BNB', symbol='RUNE-67C')
print(asset.chain)
print(asset.symbol)
print(asset.ticker)
asset = Asset(chain='BNB', symbol='RUNE-67C', ticker='RUNE')
print(asset)
Chain
from xchainpy_util import chain
from xchainpy_util.chain import Chain
is_chain = chain.is_chain(Chain.Binance)
print(is_chain)
is_chain = chain.is_chain('BNB')
print(is_chain)
Tests
These packages needed to run tests:
- pytest
pip install pytest
How to run tests?
$ python -m pytest xchainpy/xchainpy_util/tests
Metadata
Release files for xchainpy-util 0.1.8
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 |
|---|---|---|---|---|
| xchainpy_util-0.1.8.tar.gz | 3.9 kB | Without provenance | Details for xchainpy_util-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xchainpy_util-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for xchainpy_util-0.1.8-py3-none-any.whl |
Total release size: 8.3 kB
Release files / xchainpy_util-0.1.8.tar.gz
| Download URL | xchainpy_util-0.1.8.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be3dc6b0e3a8716914669fa9840740965e138f340a9786fbd48e88e150668633
|
|
BLAKE2b-256 checksum How to use checksums |
411df986e65f9a25dc1191e1dfe0d9d88a99d9ba2ffdcaf48349118a2d0dd395
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10
|
Release files / xchainpy_util-0.1.8-py3-none-any.whl
| Download URL | xchainpy_util-0.1.8-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f984185803d665cb9b45365da1df90380e82097105820904ff16999e1fc39a59
|
|
BLAKE2b-256 checksum How to use checksums |
1c9dcab49a79c09d8499b67f1d77a1c12ad8b6cca1679e41237d45517abb7832
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10
|
Security for xchainpy-util 0.1.8
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.