py-cid:自我描述的内容寻址标识符,用于Python中的分布式系统实现

时间:2021-05-08 15:30:59
【文件属性】:
文件名称:py-cid:自我描述的内容寻址标识符,用于Python中的分布式系统实现
文件大小:27KB
文件格式:ZIP
更新时间:2021-05-08 15:30:59
python cid ipld Python CID(内容标识符) 什么是CID? 是一种格式,用于引用类的分布式信息系统中的内容。 它利用了,和。 它是和使用的核心标识符。 CID是一个自我描述的内容寻址标识符。 它使用加密哈希来实现内容寻址。 它使用了几个实现灵活的自我描述,即的哈希值, multicodec数据内容类型和多基准来编码CID本身为字符串。 样品用量 >> > from cid import make_cid >> > make_cid ( 'QmaozNR7DZHQK1ZcU9p7QdrshMvXqWK6gpu5rmrkPdT3L4' ) CIDv0 ( version = 0 , codec = dag - pb , multihash = b" \x12 \xb9 M' \xb9 \x93 M> \x08 \xa5 .R \xd7 \xda } \xab \xfa \xc4 \x84 .." ) >
【文件预览】:
py-cid-master
----MANIFEST.in(262B)
----.travis.yml(696B)
----README.rst(3KB)
----.readthedocs.yml(87B)
----docs()
--------history.rst(28B)
--------conf.py(9KB)
--------usage.rst(3KB)
--------api_reference.rst(436B)
--------make.bat(6KB)
--------authors.rst(28B)
--------.gitignore(33B)
--------Makefile(7KB)
--------index.rst(333B)
--------contributing.rst(33B)
----AUTHORS.rst(152B)
----requirements_dev.txt(231B)
----travis_pypi_setup.py(4KB)
----.github()
--------ISSUE_TEMPLATE.md(335B)
----CONTRIBUTING.rst(3KB)
----tests()
--------__init__.py(58B)
--------test_cid.py(8KB)
----tox.ini(661B)
----LICENSE(1KB)
----cid()
--------cid.py(9KB)
--------__init__.py(257B)
----HISTORY.rst(347B)
----setup.cfg(613B)
----setup.py(2KB)
----.gitignore(777B)
----Makefile(2KB)
----.editorconfig(292B)

网友评论