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.12.1.tar.gz
(9.1 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.12.1.tar.gz.
File metadata
- Download URL: interval-tools-0.12.1.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c9c1bdd8a819d728ddbe8ee025997625a7a7b32e35eb3355d43aa9251d6848c
|
|
| MD5 |
3b3dfd71b14fd056ff7747e958a9dedd
|
|
| BLAKE2b-256 |
f2a812c9f2cf8d2694a370e6971b154884c485d35eb77782a951c286fbdd734b
|
File details
Details for the file interval_tools-0.12.1-py3-none-any.whl.
File metadata
- Download URL: interval_tools-0.12.1-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed778f349c53d914b3c571fa866c41772341d5746c1212bf4281a96661a23374
|
|
| MD5 |
2a5a25e9c6d55ad7fa4437efb9594ff4
|
|
| BLAKE2b-256 |
91b0a383354ba6374f32c97b13bdc780d022be4e0e15580d8b1ceb7ae6303613
|