Ethereum Improvement Proposal (EIP) ETL library
Project description
Ethereum Improvement Proposal (EIP) Processor
CLI tools and Python library for interacting with EIPs from the source EIPs GitHub repository.
Features/TODO
Frontend
- CLI tools
- Library API
- Documentation
Data processing:
- EIP Metadata processing
- EIP relationships and references
- Automated tagging
- File history, changelog
- Aggregate data, statistics, and error detection
Usage
Show EIP
eips show 20
Show EIP Headers
eips show -h 4626
API Usage
Get an EIP
>>> from eips import EIPs
>>> eips = EIPs()
>>> eip_20 = eips.get(20)[0]
>>> eip_20.title
'Token Standard'
Get all EIPs
>>> from eips import EIPs
>>> eips = EIPs()
>>> for e in eips.get():
... print(e.eip_id)
...
2018
5216
999
606
[...]
Get count of EIPs
>>> from eips import EIPs
>>> eips = EIPs()
>>> eips.len()
687
Get EIPs aggregate stats
>>> from eips import EIPs
>>> eips = EIPs()
>>> eips.stats().total
687
>>> eips.stats().errors
0
>>> [c.value for c in eips.stats().categories]
['ERC', 'Core', 'Interface', 'Networking']
>>> [s.value for s in eips.stats().statuses]
['Stagnant', 'Last Call', 'Withdrawn', 'Final', 'Review', 'Draft', 'Living']
>>> [t.value for t in eips.stats().types]
['Standards Track', 'Meta', 'Informational']
Development
Run Tests
hatch env run -e test test
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
eips-0.0.1.tar.gz
(9.7 kB
view details)
Built Distribution
eips-0.0.1-py3-none-any.whl
(12.2 kB
view details)
File details
Details for the file eips-0.0.1.tar.gz
.
File metadata
- Download URL: eips-0.0.1.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.25.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 867ddcd9379ce708106d5d6acdd72e99721fe051853c4a2165e5dd440b99c461 |
|
MD5 | a5999dcaac83f2ffc35db0fc445ae796 |
|
BLAKE2b-256 | caa143e07d36af0677fd7bf383aa9da7b67803e103421075797d29ff89f7215f |
File details
Details for the file eips-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: eips-0.0.1-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.25.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c02c33724961d43344e7e5696f7015860489db21bb26ab7523397da3c93e452 |
|
MD5 | fdcdb047cdd571a79c3875e75703226c |
|
BLAKE2b-256 | 39448a4cfc7e9f076d075b68d280da3d37a01d979e73dac605663d0ca307994a |