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
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.2.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.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90dc80deecc353d1acee36d7607b8ba1e96687afcf2a2247b636ad809a1e4a39
|
|
| MD5 |
82dbdc7501ddd854c30d48256f7bc5e6
|
|
| BLAKE2b-256 |
3b399c2fc923ac76a6c71c0886794fae3d57222e1d116a10684049b177c3d14e
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
906ee4d90f0499132b1b774d40a0fb28afa448f1efb4125e05ad05fac1cf4ca9
|
|
| MD5 |
2c4470c471031edcc5b5d738a2c2dd45
|
|
| BLAKE2b-256 |
b6433379719ccff0a025329f59e86459110944ff06f3d872a3ba750d5478ece0
|