BSD Ports

devel/py-isodate 0.6.0_1 MidnightBSD

ISO 8601 date/time/duration parser and formater

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd3
Categories
devel, python

Description

This module implements ISO 8601 date, time and duration parsing. The implementation follows ISO8601:2004 standard, and implements only date/time representations mentioned in the standard. If something is not mentioned there, then it is treated as non existent, and not as an allowed option.

For instance, ISO8601:2004 never mentions 2 digit years. So, it is not intended by this module to support 2 digit years. (while it may still be valid as ISO date, because it is not explicitly forbidden.) Another example is, when no time zone information is given for a time, then it should be interpreted as local time, and not UTC.

As this module maps ISO 8601 dates/times to standard Python data types, like date, time, datetime and timedelta, it is not possible to convert all possible ISO 8601 dates/times. For instance, dates before 0001-01-01 are not allowed by the Python date and datetime classes. Additionally fractional seconds are limited to microseconds. That means if the parser finds for instance nanoseconds it will round it to microseconds.

In the other systems

The newest version among them is 0.7.2, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-isodate0.6.0_1no data-[email protected]-
FreeBSDdevel/py-isodate0.7.2 newestnone known-[email protected]-
OpenBSDdevel/py-isodate0.7.2p3 newestno data-The OpenBSD ports mailing-list <[email protected]>2026-08-11
DragonFlydevel/py-isodate0.7.2 newestnone known-[email protected]-
HardenedBSDdevel/py-isodate0.7.2 newestno data-[email protected]-
GhostBSDdevel/py-isodate0.7.2 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}isodate

From mports:

cd /usr/mports/devel/py-isodate && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}isodate>0:devel/py-isodate

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Runtime 1

Run dependencies 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
isodate-0.6.0.tar.gz284802e364a3d5759479cdb2d37cce6b9376ea504db2ff90252a2e5b7cc89cc9ff2d8
Master sites 1
  • PYPI