以太坊改进提案(EIP)ETL库
项目描述
以太坊改进提案(EIP)处理器
CLI工具和Python库,用于与源EIPs GitHub仓库中的EIP交互。
功能/待办事项
前端
- CLI工具
- 库API
- 文档
数据处理
- EIP元数据处理
- EIP关系和引用
- 自动标记
- 文件历史记录,更改日志
- 聚合数据,统计数据和错误检测
使用方法
显示EIP
eips show 20
显示EIP标题
eips show -i 4626
API使用
获取EIP
>>> from eips import EIPs
>>> eips = EIPs()
>>> eip_20 = eips.get(20)[0]
>>> eip_20.title
'Token Standard'
获取所有EIP
>>> from eips import EIPs
>>> eips = EIPs()
>>> for e in eips.get():
... print(e.eip_id)
...
2018
5216
999
606
[...]
获取EIP计数
>>> from eips import EIPs
>>> eips = EIPs()
>>> eips.len()
687
获取EIP聚合统计数据
>>> 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']
开发
运行测试
hatch run test
代码风格检查
hatch run lint
发布
# Bump the version major/minor/patch
hatch version patch
# Tag the git commit with the version
git tag -a "v$(hatch version)" -m "v$(hatch version)"
# Push it up to GH, don't forget the tag
git push --follow-tags
现在 创建GitHub发布,CI将完成剩余工作。
项目详情
下载文件
下载适合您平台的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。
源分发
eips-0.0.2.tar.gz (10.7 kB 查看哈希值)
构建发行版
eips-0.0.2-py3-none-any.whl (11.3 kB 查看哈希值)
关闭
eips-0.0.2.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 3b8be6aa81d624cbe8a1642a3b5dc65c1eabbb050131096eef2a6b3c9622f7e3 |
|
MD5 | b20b396e4aec007e631deaea4c054bc1 |
|
BLAKE2b-256 | 81a84148873fa5bc9d00222fd5b8a1c522a4e803aa653704f7076fdcc1493242 |
关闭
eips-0.0.2-py3-none-any.whl的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 7cd9255e96065f1f902ca800f8499ec93f0e6770402899d603dac402aaf52d3f |
|
MD5 | 05f1a357ec4f2f22c4e78d88e844ac65 |
|
BLAKE2b-256 | 3b5433707c8263532369650bc043ecc496f0325a50a255a4f4311f487e11d4fe |