SeaHash
Python bindings to seahash - A blazingly fast, portable hash function with proven statistical guarantees.
Installation
pip install seahash
Wheels should be available for most platforms. If you need a wheel which isn't provided, raise an issue.
Compiling from source will require a Rust toolchain.
Usage
Hashing can be done in 2 ways:
Primitive functions
import seahash
# Plain hash
seahash.hash(b"123")
# Hash with custom seeds
seahash.hash_seeded(b"123", 4, 5, 6, 7)
Both methods return an int.
hashlib-compatible class
For convenience, a hashlib-compatible class is provided:
import seahash
s = seahash.SeaHash()
s.update(b"123")
s.digest()
s.hexdigest()
The underlying int digest can be obtained with intdigest.
Metadata
Release files for seahash 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| seahash-0.2.0.tar.gz | 5.1 kB | Details |
Built distributions (wheels)
Total release size: 8.5 MB
Release files / seahash-0.2.0.tar.gz
| Download URL | seahash-0.2.0.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df239f29bb393b60b0c4068e0c78b44621dda100a923b7ed0351346a108772e7
|
|
BLAKE2b-256 checksum How to use checksums |
14c8b52ae1657da5da436293a686fb30c5c199ff548590be731474e860dabeb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / seahash-0.2.0-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
| Download URL | seahash-0.2.0-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | Linux glibc 2.5+ x86-64 PyPy 3.7 PyPy 3.7 7.3 |
|
SHA-256 checksum How to use checksums |
9955843fc8a5bc93db2aebc1912d8e14bbf24329da3b8aa316fcb7bdfd284c8e
|
|
BLAKE2b-256 checksum How to use checksums |
c7ddc5ba35dc10f2ab53fb7103e1a9d55787202c9e96e0ea05b9c03dab3d677a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / seahash-0.2.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.whl
| Download URL | seahash-0.2.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.11 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
5ec322b14e846925d1e56a88f1c68ba2a4806647e58f6893458a517a9d65cf75
|
|
BLAKE2b-256 checksum How to use checksums |
8c8c732b01e0525ecb9cad7f1ec240e0569d5000046f3de8086d40426073acca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / seahash-0.2.0-cp310-none-win_amd64.whl
| Download URL | seahash-0.2.0-cp310-none-win_amd64.whl |
|---|---|
| Size | 129.3 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d1e3753004809eb738cbbfd3291be687e77650ca543273c83ffd2f58334e7715
|
|
BLAKE2b-256 checksum How to use checksums |
9c6e5f6699d1dbda13a013ca3a5724c6644f3a646f19a4fa787ac0fbfc70dc47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / seahash-0.2.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
| Download URL | seahash-0.2.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.10 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
dae04b6f2f375e32a705aeadb191a850de496d1958a9244b8d345d6d05bb702d
|
|
BLAKE2b-256 checksum How to use checksums |
bb87b53b650becfbe08686bfdd2cf424b253d19015ba0b1801c2c03f62853b99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / seahash-0.2.0-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
| Download URL | seahash-0.2.0-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl |
|---|---|
| Size | 469.1 kB |
| Tags | CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3f8a6fe24c2f5282416de593d93275c618957691586fe6b1805d8de890e4c32b
|
|
BLAKE2b-256 checksum How to use checksums |
2a00aae736929bd79bd2a47c31131e498a34a7c55b3c407ad2401dd5f273ce11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / seahash-0.2.0-cp39-none-win_amd64.whl
| Download URL | seahash-0.2.0-cp39-none-win_amd64.whl |
|---|---|
| Size | 129.6 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2bb17af11423b055e8e69547af7210e0d76f21a8ce5d1b8db2730eae0a236270
|
|
BLAKE2b-256 checksum How to use checksums |
a56f27599793ca3d773a443888ead8b62bbd6fdc7b6cfeaa9f36707be77fb356
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / seahash-0.2.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
| Download URL | seahash-0.2.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.9 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
2df1a3748732319cab5b751eb3d835701abf3bb80827bb8ac3a601e1f6e35e7e
|
|
BLAKE2b-256 checksum How to use checksums |
26a0a053f4df58ec715b305bc353e491ccbd3d756df40b7a0343d3392b2e16bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / seahash-0.2.0-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
| Download URL | seahash-0.2.0-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl |
|---|---|
| Size | 470.3 kB |
| Tags | CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ed2c35ac49092cd8d0778fd7e213fdaf670d5f51059149e70a6e3aa52e9a450a
|
|
BLAKE2b-256 checksum How to use checksums |
8a0bb748d0baf20c025b5c2cd619473d1d82ceefc5bd9b379c24439fc9b09ce7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / seahash-0.2.0-cp38-none-win_amd64.whl
| Download URL | seahash-0.2.0-cp38-none-win_amd64.whl |
|---|---|
| Size | 129.1 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7a04741e9c918617346dcf2f2ec88b99757b1b658a64969581c95f8fa720c897
|
|
BLAKE2b-256 checksum How to use checksums |
7c79de27a7848d2e44b9edab4507ae3489067221f7496e5fdbabbdb6777382ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / seahash-0.2.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
| Download URL | seahash-0.2.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.8 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
d27c3b362a2b693d36f753ba549ed564a345de698fc9b4c77961e71c85ec91a9
|
|
BLAKE2b-256 checksum How to use checksums |
4d03434e9ae1d423dd9c0b4774aea36e78c1fd4d9504999cb743754e593d38ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / seahash-0.2.0-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
| Download URL | seahash-0.2.0-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl |
|---|---|
| Size | 469.7 kB |
| Tags | CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
996181a7933b06dc420d8d32f3266ed16d95074836fccf0555c752bda4beed95
|
|
BLAKE2b-256 checksum How to use checksums |
bd094823171396ab3333da686d6c5024cae1b0618615ebe95245db91a540b281
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / seahash-0.2.0-cp37-none-win_amd64.whl
| Download URL | seahash-0.2.0-cp37-none-win_amd64.whl |
|---|---|
| Size | 129.1 kB |
| Tags | CPython 3.7 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c260db6aac3eb46cd75c99fdfbfe0abf9fa9768727e74be4236e8da4ae19b0fe
|
|
BLAKE2b-256 checksum How to use checksums |
45fe7273c87671a93375c59e5e1d1c8f6b59262873a7bd74febea4537d0b5269
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / seahash-0.2.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
| Download URL | seahash-0.2.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
2ac04a25d2513ce0a0955f4e08ba788386598af853b7113e78942dc8ff820146
|
|
BLAKE2b-256 checksum How to use checksums |
d59c92d4c05444d5010c1994af84d1544596b821ad0a52aee7a77ae1a150b94c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / seahash-0.2.0-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
| Download URL | seahash-0.2.0-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl |
|---|---|
| Size | 469.8 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ed9f8fe1b539986fe0a55a27516c2bc9f9fd11b47c3c68f8d084a6d902ae4d83
|
|
BLAKE2b-256 checksum How to use checksums |
8f4fb727d94edc29cb57e0981a081ea9f722dbf1951839495b86e103e2ee11b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|