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 hashes)
Built Distribution
Close
Hashes for window_hash-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d211dfc76141fe65c2b37ab88df78f716433687307fad88b33525669f5b690ec |
|
MD5 | 00ed0186c126c54331aa4b5e05e45443 |
|
BLAKE2b-256 | dbe97195952218b396a076ee9a21ea2222fad711146343386e1b5cd6938d9b51 |