Skip to main content

Stilpy creates time intervals from records and manage them for you.

Project description

Stilpy

https://img.shields.io/pypi/v/stilpy.svg Documentation Status Updates

Stilpy creates time intervals from records and manage them for you.

Features

  • Sorted time intervals iterator created from a collection of records

  • List, tuples, dicts and dict like objects supported as the items inside the collection of records

  • sqlite3.Row objects supported as well

  • Records grouping supported so you can create intervals applying grouping conditions

  • datetime strings dynamically casted to datetime format

  • Sum the durations of your time intervals if they can be sum

  • This repository is being maintained

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

[ ~ Dependencies scanned by PyUp.io ~ ]

History

1.0.1 (2024-01-11)

  • Remove typing from a variable since it crashes on Python 3.5

1.0.0 (2023-01-04)

  • Change the way extra arguments are populated in the interval when using TimeGaps constructor

0.2.0 (2020-05-21)

  • Second release on PyPI.

0.1.0 (2020-01-17)

  • First release on PyPI.

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

stilpy-1.0.1.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

stilpy-1.0.1-py2.py3-none-any.whl (10.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file stilpy-1.0.1.tar.gz.

File metadata

  • Download URL: stilpy-1.0.1.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

File hashes

Hashes for stilpy-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b67233fd12304d2fd7de922210693d99c6af4e3533ab443d33d3e78fe33a5763
MD5 70c71dd753b3e605e9ece26795c90d97
BLAKE2b-256 ade7f680ac3d0e22c74627687936a5a56dffd36a4fe8a6b9fa6fc0a8c9fd984f

See more details on using hashes here.

File details

Details for the file stilpy-1.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: stilpy-1.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

File hashes

Hashes for stilpy-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 41cebef5570901d96a2d27c73b8ff1f307c7a794ef969faae288af5a347afda1
MD5 56cd058733326b81f80349d63f8e4b7c
BLAKE2b-256 6104b09b1b2c8bed9be84b40cf32f196a05b1fd07cd20c3a2153637ef13850c2

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