BSD Ports

time/py-aniso8601 10.0.1 NetBSD

Library for parsing ISO 8601 strings

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
modified-bsd
Categories
time, python
Package size
94.0 KiB, 959.6 KiB installed

Description

Library for parsing ISO 8601 strings

Features * Pure Python implementation * Python 3 support * Logical behavior

  • Parse a time, get a datetime.time
  • Parse a date, get a datetime.date
  • Parse a datetime, get a datetime.datetime
  • Parse a duration, get a datetime.timedelta
  • Parse an interval, get a tuple of dates or datetimes
  • Parse a repeating interval, get a date or datetime generator * UTC offset represented as fixed-offset tzinfo * Parser separate from representation, allowing parsing to different datetime formats * No regular expressions

In the other systems

SystemPortVersion
NetBSDtime/py-aniso860110.0.1
DragonFlydevel/py-aniso860110.0.0

Install

Binary package:

pkgin install py311-aniso8601

From pkgsrc:

cd /usr/pkgsrc/time/py-aniso8601 && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_6410.0.1
NetBSD 10.1 aarch6410.0.1
SmartOS / illumos x86_6410.0.1
macOS 15 arm6410.0.1

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-aniso8601-10.0.1, py313-aniso8601-10.0.1, py314-aniso8601-10.0.1