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.13.1.tar.gz
(9.4 kB
view details)
Built Distribution
File details
Details for the file interval-tools-0.13.1.tar.gz
.
File metadata
- Download URL: interval-tools-0.13.1.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a446bc6e8b57af46e6fb9a9ad12f4f3a12b8d64fc6bd6c0e7b7023af5abb5ffc |
|
MD5 | a663a2f4b3a7289233b6734b45ed3a37 |
|
BLAKE2b-256 | a615b7e1d0ae597cf3f762f0c779ac1465f73ffe8e856882b56f08548c165639 |
File details
Details for the file interval_tools-0.13.1-py3-none-any.whl
.
File metadata
- Download URL: interval_tools-0.13.1-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d287676bc8220131c297c0c4e5b0b855fccf68c25583c07972b45bb9f8a74770 |
|
MD5 | 3cad1e6a9264d6d9960c93a36222ad7a |
|
BLAKE2b-256 | a23bab1dcf90d25e83c7ea98de2d67da096083513cb70633c550874c6e586e6b |