Skip to main content

Utilities for parsing iso8601 intervals and periods

Project description

iso8601utils
=======================

A set of utilities for parsing and validating iso8601 `durations
<https://en.wikipedia.org/wiki/ISO_8601#Durations>`_ and `intervals
<https://en.wikipedia.org/wiki/ISO_8601#Time_intervals`_.

.. code:: python

from iso8601utils import parsers
parsers.interval()
(start, end)

parsers.duration()
(duration)

from iso8601utils import validators
validators.interval()
True
validators.interval()
False
validators.duration()
True
validators.duration()
False

This project currently only supports utc times.

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

iso8601utils-0.0.1.dev1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

iso8601utils-0.0.1.dev1-py2-none-any.whl (4.5 kB view details)

Uploaded Python 2

File details

Details for the file iso8601utils-0.0.1.dev1.tar.gz.

File metadata

File hashes

Hashes for iso8601utils-0.0.1.dev1.tar.gz
Algorithm Hash digest
SHA256 e0f5ab18a4cdcc4d45e5b472526950100b1d43e8b9baa16ec943078a119aa805
MD5 e3a713cc59a863bc443f7f3a7a72cc23
BLAKE2b-256 16661e3cbf0adee24e4eb6a16b45c7fb8368097d7a0013dc14bfd8307592c34e

See more details on using hashes here.

File details

Details for the file iso8601utils-0.0.1.dev1-py2-none-any.whl.

File metadata

File hashes

Hashes for iso8601utils-0.0.1.dev1-py2-none-any.whl
Algorithm Hash digest
SHA256 febe53e659c5f4f3a7581092434ee82564260470a9243b8410f56ad7a981a88e
MD5 97ffef5609e45863df8647ae1297c5fa
BLAKE2b-256 78e3e6ef0e88d54350d257e61ea0cc7e93c5f19b847b9b71d2d6a3733c0498f1

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