BSD Ports

devel/py-iso8601 2.1.0 DragonFly

Simple module to parse ISO 8601 dates

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
13.0 KiB, 57.9 KiB installed

Description

This module parses the most common forms of ISO 8601 date strings (e.g. 2007-01-14T20:34:22+00:00) into datetime objects.

You can parse full date + times, or just the date. In both cases a datetime instance is returned but with missing times defaulting to 0, and missing days / months defaulting to 1.

In the other systems

SystemPortVersion
DragonFlydevel/py-iso86012.1.0
FreeBSDdevel/py-iso86012.1.0
NetBSDtime/py-iso86012.1.0nb2
MidnightBSDdevel/py-iso86012.1.0_1
HardenedBSDdevel/py-iso86012.1.0
GhostBSDdevel/py-iso86012.1.0

Install

Binary package:

pkg install py311-iso8601

From DPorts:

cd /usr/dports/devel/py-iso8601 && make install clean

Dependencies

Run dependencies 1