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 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.14.1.tar.gz.
File metadata
- Download URL: interval_tools-0.14.1.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a3f90d0d4459be35030b45fffe393bbe0355163b1e19afb8957a9a071fedb09
|
|
| MD5 |
0d50057b6353a57e1b835b697610066d
|
|
| BLAKE2b-256 |
aeeee3fd8278c7dd07215905a31efdb12f0f88c643b1be0b724b0bf0e23d454a
|
File details
Details for the file interval_tools-0.14.1-py3-none-any.whl.
File metadata
- Download URL: interval_tools-0.14.1-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e4a77736b1a9302a0f365d245a06f50380924d944f0ed24453e2a06093c8b8b
|
|
| MD5 |
1e48aade1c4ed80b999874959f31c7c7
|
|
| BLAKE2b-256 |
f724d12147073b060cd908a70de4415c7ccc47afd334ab3cf0455ec3cbd1becf
|