Skip to main content

Utility functions and classes used in applications of Interval Design.

Project description

Python Tools for Applications of Interval Design

Requirements

Python 3.11+

Installation

pip install interval-tools

Or if you want to use ObjectId as a unique identifier for Entity or Aggregate, run

pip install "interval-tools[objectid]"

Quickstart

>>> from interval.utils import batched
>>> for batch in batched('ABCDEFG', 3):
...     print(batch)
...
('A', 'B', 'C')
('D', 'E', 'F')
('G',)

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

interval-tools-0.14.0.tar.gz (9.5 kB view hashes)

Uploaded Source

Built Distribution

interval_tools-0.14.0-py3-none-any.whl (12.0 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