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 details)
Built Distribution
File details
Details for the file interval-tools-0.14.0.tar.gz
.
File metadata
- Download URL: interval-tools-0.14.0.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85e7e675e16e7ae9db9950fd1bf9da3fcf89d5634c8188fb8766ec92742b21ad |
|
MD5 | d86c043b53dada8860821a10f5feee42 |
|
BLAKE2b-256 | 952e187742f21e1af92585899ac20e8525071144b33e187949dd7da5e536649a |
File details
Details for the file interval_tools-0.14.0-py3-none-any.whl
.
File metadata
- Download URL: interval_tools-0.14.0-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3ccdb16b9ec9ca1d0434e810c3a4056a4df3b7786e968efa19deaff4ecdc6fb |
|
MD5 | f04031e0645b19591d702207a44a9152 |
|
BLAKE2b-256 | 8fd2123cf056603d7f391feb93b35a3c71492781836e872c3081f29ff50051fe |