Examples ======== These examples mirror the ``js-multiformats`` interface demos and show how to use the same concepts from Python. Run examples from the repository root: .. code:: bash python -m examples.block_interface.block_interface python -m examples.cid_interface.cid_interface python -m examples.multicodec_interface.multicodec_interface python -m examples.multihash_interface.multihash_interface Most examples support ``--json`` for structured output that is easier to compare in tests. .. toctree:: :maxdepth: 4 examples.block_interface examples.cid_interface examples.multicodec_interface examples.multihash_interface