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.0.tar.gz
(9.0 kB
view details)
Built Distribution
File details
Details for the file interval-tools-0.12.0.tar.gz
.
File metadata
- Download URL: interval-tools-0.12.0.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d861f113e58839baa1c1be3a18b844c510debd89bac576f5c5b4c4af3676a6d |
|
MD5 | 5558a960c3832ce3a1b46a144411ece8 |
|
BLAKE2b-256 | eb7fbde04b39b534bd659e7ea0c7a6f529791711b6376a796a2e8a3fbada07a1 |
File details
Details for the file interval_tools-0.12.0-py3-none-any.whl
.
File metadata
- Download URL: interval_tools-0.12.0-py3-none-any.whl
- Upload date:
- Size: 11.5 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 | 83f151486c9b67338b4bf83b017ad0e4779cf361244369dfdffde9a4dc66f6d8 |
|
MD5 | e8003129350e8da3ef315c8aea2c70b2 |
|
BLAKE2b-256 | 2837b4b480dccbdfd4c30b71db9e689516bc39ce45437762b2365d8704653dc9 |