Human ABI
Summary
This package provides a way to parse Human Readable ABI introduced by ethers.js to the Python world. It's still pretty much a WIP. The goal is to be fully compatible with ethers.js and ethers-rs.
$ pip install human-abi
from human_abi import HumanReadableParser
parser = HumanReadableParser('event TestEvent(uint indexed id, (string, uint16, (uint8, uint8)) value)')
print(parser.take_event())
# {'type': 'event', 'name': 'TestEvent', 'anonymous': False, 'inputs': [{'type': 'uint', 'name': 'id', 'indexed': True}, {'type': 'tuple', 'name': 'value', 'indexed': False, 'components': [{'type': 'string'}, {'type': 'uint16'}, {'type': 'tuple', 'components': [{'type': 'uint8'}, {'type': 'uint8'}]}]}]}
WIP
This library is still a work-in-progress. Features are being implemented as needed. But if you find it lacks what you need, feel free to submit a pull request!
LICENSE
Apache License 2.0
Metadata
Release files for human-abi 0.1.1
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 |
|---|---|---|---|---|
| human_abi-0.1.1.tar.gz | 2.5 kB | Without provenance | Details for human_abi-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| human_abi-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for human_abi-0.1.1-py3-none-any.whl |
Total release size: 5.6 kB
Release files / human_abi-0.1.1.tar.gz
| Download URL | human_abi-0.1.1.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07297b436c7568a99f017bb5bc676674922454b5ff4bdf87257d220866397c48
|
|
BLAKE2b-256 checksum How to use checksums |
cc1d928580f6047a9ca7bc4125acacdba7276db2a517e556f4fb709190bdc22f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.11.2 Darwin/22.5.0
|
Release files / human_abi-0.1.1-py3-none-any.whl
| Download URL | human_abi-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ad68d6451f3f31caba8f1870f2ad20549db5996b1c4e08c5966edb8bbc00345
|
|
BLAKE2b-256 checksum How to use checksums |
3a34ac8d333d24a40cf2813fe8cb774507a84205c838ba7eb707aed96c16aee4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.11.2 Darwin/22.5.0
|
Security for human-abi 0.1.1
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.