Skip to main content

General datetime period library

Project description


“Simplified time period manipulations”


Installation

pip install gperiod

Presenting gperiod

Introduction

Functional API

Period class

PeriodProto protocol

factories (Period/Tuple/…)

Quickstart

Prepare playground

pip install ipython

ipython -i -c 'from gperiod.g import *; from datetime import *'

Versioning

SemVer used for versioning. For available versions see the repository tags and releases.

Authors

  • Dima Burmistrov - Initial work - pyctrl

License

This project is licensed under the X11 License (extended MIT) - see the LICENSE file for details

Additional APIs

Representations

x
  • str and repr output differs

Pickling, dumping and loading

Pickling

x

Dumping

x

Loading

x

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

gperiod-0.0.4.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

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

gperiod-0.0.4-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file gperiod-0.0.4.tar.gz.

File metadata

  • Download URL: gperiod-0.0.4.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for gperiod-0.0.4.tar.gz
Algorithm Hash digest
SHA256 482cc127bb0f6b94e6654f15b31738db85b62f2bcde9989c9f4463fa65258236
MD5 51f9125334b49931e9a23f50ddcc6fb2
BLAKE2b-256 bc66d6deb266140993507d8123de282e4c4530ae483d808358875f2db26a0124

See more details on using hashes here.

Provenance

The following attestation bundles were made for gperiod-0.0.4.tar.gz:

Publisher: publish-to-pypi.yml on pyctrl/gperiod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gperiod-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: gperiod-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for gperiod-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4d1fa262204348c0f2db82894096667fe8c481f474f451c13fb5ae9bc7822166
MD5 a94da0c76e2f9a5b8443f81ec1228168
BLAKE2b-256 5db752cde98e261c36b14e3f8499d46df67ca2be7d7bc8bfce300dec91363352

See more details on using hashes here.

Provenance

The following attestation bundles were made for gperiod-0.0.4-py3-none-any.whl:

Publisher: publish-to-pypi.yml on pyctrl/gperiod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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