Introduction
This library provides a simple wrapper to help divide a stream of items into pages/windows, with hash value calculated for each window as checksum and/or identifier.
It supports all hash functions from standard library's hashlib.
It supports any condition to help determine when a window is complete. In addition, a few common conditions are provided as well, based on window size or duration. Examples:
- Publishing to a message queue with total size limitation for each message
- Publishing to a message queue where each message is for items of each minute
Metadata
Release files for window-hash 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| window_hash-0.1.3.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| window_hash-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.2 kB
Release files / window_hash-0.1.3.tar.gz
| Download URL | window_hash-0.1.3.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22e708689670dca81f6fcf10ca2cfa12e82db641778c2de27802f85a925d044e
|
|
BLAKE2b-256 checksum How to use checksums |
9f116dab2514a7e1857135e993b3430f211ebf25e69f1bc787a3c2d6cf3b06f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.3 Darwin/23.5.0
|
Release files / window_hash-0.1.3-py3-none-any.whl
| Download URL | window_hash-0.1.3-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d211dfc76141fe65c2b37ab88df78f716433687307fad88b33525669f5b690ec
|
|
BLAKE2b-256 checksum How to use checksums |
dbe97195952218b396a076ee9a21ea2222fad711146343386e1b5cd6938d9b51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.3 Darwin/23.5.0
|