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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

interval_tools-0.16.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file interval_tools-0.16.0.tar.gz.

File metadata

  • Download URL: interval_tools-0.16.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for interval_tools-0.16.0.tar.gz
Algorithm Hash digest
SHA256 c89e332cd2aa8ae1455a4d28fe1543b4b79868827ce3eb33a031d2573f0a850b
MD5 f853f8c93102eafdd703160a6aa04bbe
BLAKE2b-256 abb33e4d51ae585f510c48aa02661b2d414158df634073c32f5738aa9dc9f753

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for interval_tools-0.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 27d51f4300a23677588aa687ae181cf87012b0af83f4571b8d3bfb97b38a972d
MD5 1f8327e328d910e1f59c6297b5942ef2
BLAKE2b-256 278eaa171ccfac1dc2104bc94e97b1d66f041d106a61e3a88911d3a6f71d92cc

See more details on using hashes here.

Supported by

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