Skip to main content

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)

Uploaded Source

Built Distribution

window_hash-0.1.3-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page