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.15.0.tar.gz (9.6 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.15.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: interval_tools-0.15.0.tar.gz
  • Upload date:
  • Size: 9.6 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.15.0.tar.gz
Algorithm Hash digest
SHA256 d04b66edbda814efea28b5ddffe9c886a0732c46965154748904291b38ad891e
MD5 d06d96d34b1bfb05c75f6b2c1061defe
BLAKE2b-256 190bb0dd9c3a83debea9e82afaa2bb40e37db3aa46ca79b88c3174443b46f6dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for interval_tools-0.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 937786795eb7b454b090501f702a875e0e954839b0039088df9a80703ad6727f
MD5 dbe93e0186fbb040c23414e354a6c76a
BLAKE2b-256 6e66d55822b31949c2d20aa9b3d65bb30aacb7b8b4ff30c2d47e53498c1eea37

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