pegnet-py
Still fairly alpha.
Usage
>>> import pegnet_py
>>> pegnetd = pegnet_py.PegNetd()
>>> pegnetd.get_sync_status()
{'syncheight': 62, 'factomheight': 62}
Get PegNet Balances
>>> import pegnet_py
>>> from factom_keys.fct import FactoidAddress
>>> pegnetd = pegnet_py.PegNetd()
>>> address = FactoidAddress(address_string="FA2jK2HcLnRdS94dEcU27rF3meoJfpUcZPSinpb7AwQvPRY6RL1Q")
>>> pegnetd.get_balances(address)
{'PEG': 0, 'pADA': 0, 'pBNB': 0, 'pBRL': 0, 'pCAD': 0, 'pCHF': 0, 'pCNY': 0, 'pDAS': 0, 'pDCR': 0, 'pETH': 0, 'pEUR': 0, 'pFCT': 0, 'pGBP': 0, 'pHKD': 0, 'pINR': 0, 'pJPY': 0, 'pKRW': 0, 'pLTC': 0, 'pMXN': 0, 'pPHP': 0, 'pRVN': 0, 'pSGD': 0, 'pUSD': 0, 'pXAG': 0, 'pXAU': 0, 'pXBC': 0, 'pXBT': 0, 'pXLM': 0, 'pXMR': 0, 'pZEC': 0}
Metadata
Release files for pegnet-py 0.0.2
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 |
|---|---|---|---|---|
| pegnet-py-0.0.2.tar.gz | 6.5 kB | Without provenance | Details for pegnet-py-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pegnet_py-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for pegnet_py-0.0.2-py3-none-any.whl |
Total release size: 15.3 kB
Release files / pegnet-py-0.0.2.tar.gz
| Download URL | pegnet-py-0.0.2.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8da6d2ecc528db5584657f0bbaf2fcd4c995379ef83d8f5439a9360d59e7172a
|
|
BLAKE2b-256 checksum How to use checksums |
68f010e35b26eefde44008192bff6c07473fcbc6fb4fe12a6be1ea0c8115673d
|
| 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/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.4
|
Release files / pegnet_py-0.0.2-py3-none-any.whl
| Download URL | pegnet_py-0.0.2-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c92f0eb8dca4de3a471732653c0144742b77617d1ca6bd28e6e52a039a87b60a
|
|
BLAKE2b-256 checksum How to use checksums |
8da18a499a994fbdcc14d68b657758e350d039e08c5fd1b4bcdcd8c3a7e5e9e0
|
| 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/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.4
|
Security for pegnet-py 0.0.2
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.