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 in Domain-Driven Design, 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.11.1.tar.gz
(8.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file interval-tools-0.11.1.tar.gz.
File metadata
- Download URL: interval-tools-0.11.1.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8c94822ac108f74bb97364ff18f357009951fd1414eaf1ceaec1ad5f4487b54
|
|
| MD5 |
2f2e38521a3d0b1659e00605191b23df
|
|
| BLAKE2b-256 |
5ae1ee374c5a6fc7493d73321a9953a154154806693ddfd9f5a3e7093c7be699
|
File details
Details for the file interval_tools-0.11.1-py3-none-any.whl.
File metadata
- Download URL: interval_tools-0.11.1-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27c89d7a6e733fa9b3873c33681dffef8ad0376462cd5d71e0a28583da6f6c7a
|
|
| MD5 |
d43f534d8c6e3d9bec0ae550cd101b21
|
|
| BLAKE2b-256 |
4a56917fd33ab437ff2b7e902094d01fd311ce7face187c6eca63feacb06f0bb
|