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.1.tar.gz (2.5 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.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hammit-1.0.1.tar.gz
  • Upload date:
  • Size: 2.5 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.1.tar.gz
Algorithm Hash digest
SHA256 22d41efeff8928740196f37ad4e1d30b67edc67fb4d9876f9c0cba49e339abbe
MD5 3e4e3017f1007d4294c6077202567906
BLAKE2b-256 58638d18311906502fbd0131c58508d207ce414dc649c8bdce766f245aad2b35

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hammit-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c91d7da2077f3a6bc2796a1976ca5d9c7897399c5b6bfaf9c16fefd762bb1565
MD5 078393ab3f4dccd67c0c750f3d7311c4
BLAKE2b-256 788d0ca0614686dd24f93035f054a9b587064376a6eb30ba493bdc8d95f162d6

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