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.distance 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.2.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.2-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hammit-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 90dc80deecc353d1acee36d7607b8ba1e96687afcf2a2247b636ad809a1e4a39
MD5 82dbdc7501ddd854c30d48256f7bc5e6
BLAKE2b-256 3b399c2fc923ac76a6c71c0886794fae3d57222e1d116a10684049b177c3d14e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hammit-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 906ee4d90f0499132b1b774d40a0fb28afa448f1efb4125e05ad05fac1cf4ca9
MD5 2c4470c471031edcc5b5d738a2c2dd45
BLAKE2b-256 b6433379719ccff0a025329f59e86459110944ff06f3d872a3ba750d5478ece0

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