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.1.tar.gz
(9.5 kB
view hashes)
Built Distribution
Close
Hashes for interval_tools-0.14.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e4a77736b1a9302a0f365d245a06f50380924d944f0ed24453e2a06093c8b8b |
|
MD5 | 1e48aade1c4ed80b999874959f31c7c7 |
|
BLAKE2b-256 | f724d12147073b060cd908a70de4415c7ccc47afd334ab3cf0455ec3cbd1becf |