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 get_stream_logger
>>> import logging
>>> formatter = logging.Formatter('%(levelname)s:%(name)s:%(message)s')
>>> logger = get_stream_logger('interval', 'INFO', formatter=formatter)
>>> logger.info('Readability counts.')
INFO:interval:Readability counts.
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.10.8.tar.gz
(7.8 kB
view hashes)
Built Distribution
Close
Hashes for interval_tools-0.10.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 726affd5de2830e7a3f207f6f72984c133c0e88d86a57848f6c9b0ab94bbecf8 |
|
MD5 | d837b847d38eb921518c88dec3efb6f8 |
|
BLAKE2b-256 | 1a56346f554c5efac5a940c579dcdfc52b08e2139ea8b5328abddca9839f6e75 |