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.

Please see the docstring in the multihash module for more information.

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.1.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

pymultihash-0.8.1-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pymultihash-0.8.1.tar.gz
Algorithm Hash digest
SHA256 4868a871937be1fc98452d01cbf9baf226ceb8fd11c3ec2558f9aceae3a56f2c
MD5 54de7927ce1661285be4c50e7e16d1cb
BLAKE2b-256 21fcf2f032e32f6f1d6f7f12f9a741f0a92c6c0950d99ab954887a696788d731

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymultihash-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ebfd5ceb89807df32b53ad83f2585d5c72bc5322096f5ca224fd81164b0811a1
MD5 881d8df18442b3595261ef2a10267f2c
BLAKE2b-256 cdd2e81e490d03663606daf4696100e8e09cbc981cfb90e34549a8fff4c9b7d5

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