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.
=======================
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
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
Built Distribution
Close
Hashes for iso8601utils-0.0.1.dev1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | febe53e659c5f4f3a7581092434ee82564260470a9243b8410f56ad7a981a88e |
|
MD5 | 97ffef5609e45863df8647ae1297c5fa |
|
BLAKE2b-256 | 78e3e6ef0e88d54350d257e61ea0cc7e93c5f19b847b9b71d2d6a3733c0498f1 |