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.2.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for window_hash-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c5ee5a563ee2d1d4ed1675c63a8b48fad212c13e7c0c15a4569308f71741040 |
|
MD5 | 910bdff2d0b4416a0c661810f9c4b941 |
|
BLAKE2b-256 | a5a4ffe91e4ae2a8f79ea7871e200476e1146975562fa165d28b4008126344ab |