Skip to main content

An IPLD implementation in Python

Project description


Python implementation of the IPLD specification.


This is a Work-in-Progress. For TODOs, see: #1


$ pip install ipld  # (not yet)


In the Python REPL:

>>> from ipld import marshal, multihash, unmarshal
>>> file = {
... 'name': 'hello.txt',
... 'size': 11
... }
>>> marshalled = marshal(file)
>>> multihash(marshalled)
>>> unmarshal(marshal(file)) == file

That’s it. No readthedocs, no private methods :boom:.


Only relevant, if you want to help developing.

$ pip install -e .[dev]
$ py.test -v


Thanks to the contributors over at BigchainDB for letting me take their setup structure.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipld-0.0.1.tar.gz (3.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page