No project description provided
Project description
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
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
window_hash-0.1.3.tar.gz
(2.9 kB
view details)
Built Distribution
File details
Details for the file window_hash-0.1.3.tar.gz
.
File metadata
- Download URL: window_hash-0.1.3.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22e708689670dca81f6fcf10ca2cfa12e82db641778c2de27802f85a925d044e |
|
MD5 | 5c79df3179d4a7d682abf2f72f94e719 |
|
BLAKE2b-256 | 9f116dab2514a7e1857135e993b3430f211ebf25e69f1bc787a3c2d6cf3b06f9 |
File details
Details for the file window_hash-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: window_hash-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d211dfc76141fe65c2b37ab88df78f716433687307fad88b33525669f5b690ec |
|
MD5 | 00ed0186c126c54331aa4b5e05e45443 |
|
BLAKE2b-256 | dbe97195952218b396a076ee9a21ea2222fad711146343386e1b5cd6938d9b51 |