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.17.0.tar.gz
(9.9 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.17.0.tar.gz.
File metadata
- Download URL: interval_tools-0.17.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79a4c2972b4340fa2b50b07d5ed1a2e5f3a8a0a7ad5c56356614133a2162f4c0
|
|
| MD5 |
fedf717d930793db212b92a451bf3ff9
|
|
| BLAKE2b-256 |
1e7c912931a8c2712cba117edffce52c0f0db116a793ec3c267f4ed3ebc228ff
|
File details
Details for the file interval_tools-0.17.0-py3-none-any.whl.
File metadata
- Download URL: interval_tools-0.17.0-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc889bb5ce88e9d758f8ad39fd5060b418bf8ac954288e14c1c163d78c5ef995
|
|
| MD5 |
6140cf0694eff3215fe7d66ed3b6bae1
|
|
| BLAKE2b-256 |
ab424e4374a334a30a6e822a4e36488a3b7b0e21833dbe55e516e87fb6a2bf28
|