Skip to main content

Package to compute hamming distance between two strings.

Project description

Hammit

Have you ever wanted to calculate the hamming distance between two strings? Well here's a library for that.

Usage

>>> from hammit import distance
>>> distance('123','122')
1 

A return value of -1 indicates the hamming distance could not be computed.

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

hammit-1.0.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hammit-1.0.0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file hammit-1.0.0.tar.gz.

File metadata

  • Download URL: hammit-1.0.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.3

File hashes

Hashes for hammit-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d4351ae6de3ba3c0b5de47828a0fd5198aabd01817cbff8038ff92498d5245da
MD5 189b0ca6e2fd2a66b7c271090409ba18
BLAKE2b-256 cf22154cb78d68d7ed43282c2a86aad3ea72972361e5eeafd2a144e6a925b969

See more details on using hashes here.

File details

Details for the file hammit-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: hammit-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.3

File hashes

Hashes for hammit-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d163b9fdaada417cffd90fcc0e9dce11fc29832ec3aa6b5dc03aaab84ce8f1c
MD5 8b2a2969f770614f5905f8f24a3c563f
BLAKE2b-256 7c039f695c6345f973bc8954a719bdea3ce178112b006437de8f302d5bff9403

See more details on using hashes here.

Supported by

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