$npx skillfedfor your agent

aniso8601

A library for parsing ISO 8601 strings.

With conditionsPyPI Python ModulesReleased Apr 20259.3M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — aniso8601-10.0.1-py2.py3-none-any.whl
v10.0.1 · released 2025-04-18

Yes, if you need to parse ISO 8601 formats beyond what Python's built-in datetime.fromisoformat supports (e.g., week dates, ordinal dates, durations, repeating intervals, or custom delimiters). The package has no dependencies, installs easily, and carries no known vulnerabilities. However, if you only need basic ISO 8601 datetime parsing, Python's standard library may be sufficient and more actively maintained. The aging maintenance status means slower issue response, but the stable API and lack of recent vulnerabilities suggest it is reliable for its narrow, well-defined purpose.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Leap seconds (second value 60) are not supported and will raise LeapSecondError.
  • Low install friction with no runtime dependencies.
  • Last release was 483 days ago; maintenance status is aging, so expect slower response to issues but no immediate concern for a stable, mature parser.

License · maintenance · safety

permissive license (permissive) — Permissive license (BSD) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2025-04-18 (483 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 9,335,643 downloads/mo, #1,543 on PyPI

Verify before relying

pip install aniso8601

import aniso8601
dt = aniso8601.parse_datetime('1977-06-10T12:00:00Z')
date = aniso8601.parse_date('1984-04-23')
time = aniso8601.parse_time('11:31:14')
duration = aniso8601.parse_duration('P1Y2M3DT4H54M6S')
  • Whether datetime.datetime.fromisoformat (built-in since Python 3.7) covers your use case better than aniso8601 for basic ISO 8601 parsing.
  • Performance characteristics for very large volumes of parsing operations.
  • Whether custom builder support for alternative datetime representations is actively maintained.
Same gist for agents: .md · .json

What it is and what it does

aniso8601 is a pure-Python ISO 8601 parser that converts ISO 8601 formatted strings into standard Python datetime objects. It handles dates, times, datetimes with timezone offsets, durations, and repeating intervals, returning them as datetime.date, datetime.time, datetime.datetime, datetime.timedelta, or generator objects respectively. The parser supports both extended format (with hyphens and colons) and basic format (compact), reduced accuracy (e.g., hour or minute precision), decimal fractions on the lowest time element, and UTC offsets represented as fixed-offset tzinfo.

The package has no external runtime dependencies and installs as a pure-Python wheel. It was last released 483 days ago and is classified as aging in maintenance status, though it remains in Production/Stable development status. The documentation notes that for basic ISO 8601 parsing, Python's built-in datetime.datetime.fromisoformat, datetime.date.fromisoformat, and datetime.time.fromisoformat (available in modern Python versions) may be sufficient for simpler use cases.

Use it for

  • Parse ISO 8601 datetime strings from APIs or data feeds into Python datetime objects with timezone awareness.
  • Convert ISO 8601 duration strings (e.g., 'P1Y2M3DT4H54M6S') into timedelta objects for time arithmetic.
  • Handle ISO 8601 week dates and ordinal dates that are not supported by Python's built-in fromisoformat.
  • Generate repeating intervals from ISO 8601 repeat syntax by obtaining a generator of datetime objects.
  • Determine the resolution (year, month, day, hour, minute, second) of an ISO 8601 string for validation or logging.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to parse ISO 8601 formats beyond what Python's built-in datetime.fromisoformat supports (e.g., week dates, ordinal dates, durations, repeating intervals, or custom delimiters).

The package has no dependencies, installs easily, and carries no known vulnerabilities. However, if you only need basic ISO 8601 datetime parsing, Python's standard library may be sufficient and more actively maintained. The aging maintenance status means slower issue response, but the stable API and lack of recent vulnerabilities suggest it is reliable for its narrow, well-defined purpose.

Install

aniso8601 on PyPI

Before you install

Low install friction with no runtime dependencies. Last release was 483 days ago; maintenance status is aging, so expect slower response to issues but no immediate concern for a stable, mature parser.

Leap seconds (second value 60) are not supported and will raise LeapSecondError.

License in practice

Permissive license (BSD) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install aniso8601

import aniso8601
dt = aniso8601.parse_datetime('1977-06-10T12:00:00Z')
date = aniso8601.parse_date('1984-04-23')
time = aniso8601.parse_time('11:31:14')
duration = aniso8601.parse_duration('P1Y2M3DT4H54M6S')

Verify before relying

  • Whether datetime.datetime.fromisoformat (built-in since Python 3.7) covers your use case better than aniso8601 for basic ISO 8601 parsing.
  • Performance characteristics for very large volumes of parsing operations.
  • Whether custom builder support for alternative datetime representations is actively maintained.

Package facts

Licensepermissive license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAging 483 days since the last release
First released
Downloads9,335,643 / month, #1,543 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Evidence: aniso8601-10.0.1-py2.py3-none-any.whl

Tags

Capabilities
ISO 8601 parserparse ISO datetime stringsISO date time parsingISO 8601 duration parserdatetime string parsingISO interval parsingtimezone-aware datetime parsing
Topics
datetime-parsingiso-8601
PyPI keywords
iso8601parser

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “ISO 8601 parser”

  • aniso8601Parses ISO 8601 date, time, datetime, duration, and interval strings…
  • iso8601Parses ISO 8601 date strings (e.g. 2007-01-14T20:34:22+00:00) into…
  • isodateParses and formats ISO 8601 date, time, duration, and timezone…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also backports-datetime-fromisoformat · DateTimeRange · iso8601 · metomi-isodatetime · ciso8601 · isodate · isoduration · ntplib · arrow · udatetime