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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for interval_tools-0.14.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3ccdb16b9ec9ca1d0434e810c3a4056a4df3b7786e968efa19deaff4ecdc6fb |
|
MD5 | f04031e0645b19591d702207a44a9152 |
|
BLAKE2b-256 | 8fd2123cf056603d7f391feb93b35a3c71492781836e872c3081f29ff50051fe |