Skip to main content

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


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.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

interval_tools-0.14.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file interval-tools-0.14.0.tar.gz.

File metadata

  • Download URL: interval-tools-0.14.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for interval-tools-0.14.0.tar.gz
Algorithm Hash digest
SHA256 85e7e675e16e7ae9db9950fd1bf9da3fcf89d5634c8188fb8766ec92742b21ad
MD5 d86c043b53dada8860821a10f5feee42
BLAKE2b-256 952e187742f21e1af92585899ac20e8525071144b33e187949dd7da5e536649a

See more details on using hashes here.

File details

Details for the file interval_tools-0.14.0-py3-none-any.whl.

File metadata

File hashes

Hashes for interval_tools-0.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3ccdb16b9ec9ca1d0434e810c3a4056a4df3b7786e968efa19deaff4ecdc6fb
MD5 f04031e0645b19591d702207a44a9152
BLAKE2b-256 8fd2123cf056603d7f391feb93b35a3c71492781836e872c3081f29ff50051fe

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page