Skip to main content

Python implementation of the multihash specification

Project description

This is an implementation of the multihash specification in Python. The main component in the module is the Multihash class, a named tuple that represents a hash function and a digest created with it, with extended abilities to work with hashlib-compatible hash functions, verify the integrity of data, and encode itself to a byte string in the binary format described in the specification (possibly ASCII-encoded). The decode() function can be used for the inverse operation, i.e. converting a (possibly ASCII-encoded) byte string into a Multihash object.

For more information, please see the documentation under the docs directory and the docstrings in the multihash package. Ready-to-read documentation is also available in https://pymultihash.readthedocs.io/.

This package requires at least Python 3.4.

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

pymultihash-0.8.2.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

pymultihash-0.8.2-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file pymultihash-0.8.2.tar.gz.

File metadata

  • Download URL: pymultihash-0.8.2.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pymultihash-0.8.2.tar.gz
Algorithm Hash digest
SHA256 49c75a1ae9ecc6d22d259064d4597b3685da3f0258f4ded632e03a3a79af215b
MD5 f4fca3382b8d817c48e96a273accd224
BLAKE2b-256 326453a5c75b11fa697d74ae5c52b38ee6c98fa3bf3bfd50e064ae11ef1a0db3

See more details on using hashes here.

File details

Details for the file pymultihash-0.8.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pymultihash-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f7fa840b24bd6acbd6b073fcd330f10e15619387297babf1dd13ca4dae6e8209
MD5 e229cf2bf30f06f1ac0032b69cc8eb31
BLAKE2b-256 1e1c570697fafd87adcec479b9ad34dc8371a363aa14bd9edaece5f0b8066903

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page