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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22d41efeff8928740196f37ad4e1d30b67edc67fb4d9876f9c0cba49e339abbe
|
|
| MD5 |
3e4e3017f1007d4294c6077202567906
|
|
| BLAKE2b-256 |
58638d18311906502fbd0131c58508d207ce414dc649c8bdce766f245aad2b35
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c91d7da2077f3a6bc2796a1976ca5d9c7897399c5b6bfaf9c16fefd762bb1565
|
|
| MD5 |
078393ab3f4dccd67c0c750f3d7311c4
|
|
| BLAKE2b-256 |
788d0ca0614686dd24f93035f054a9b587064376a6eb30ba493bdc8d95f162d6
|