rfc3339
Format dates according to the RFC 3339.
What it is and what it does
rfc3339 is a lightweight library for formatting and parsing dates according to RFC 3339, the standardized Internet date/time format. It handles conversion between Python datetime objects and RFC 3339-compliant string representations, useful for APIs, HTTP headers, and systems requiring standards-compliant timestamp serialization.
The package has no external runtime dependencies, making it simple to integrate. However, it has been abandoned since its last release on 2019-09-24 and receives no active maintenance. While marked as Production/Stable in its classifiers, the lack of ongoing development means bugs or compatibility issues will not be addressed by the maintainer.
Use it for:
- Serialize Python datetime objects to RFC 3339 strings for REST API responses
- Parse RFC 3339 timestamps from HTTP headers or JSON payloads into Python datetime objects
- Generate standards-compliant timestamps for logging or audit trails in networked systems
- Convert between internal datetime representations and RFC 3339 format for data interchange
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Formats and parses dates according to RFC 3339, the Internet date/time standard.
Yes, if you need RFC 3339 formatting and can accept an unmaintained package. The library is simple, dependency-free, and has no known vulnerabilities. However, verify that its implementation meets your requirements and consider the risk of abandonment if you need long-term support or encounter bugs.
Install
rfc3339 on PyPI
pip
pip install rfc3339uv
uv add rfc3339poetry
poetry add rfc3339Installing rfc3339
Before you install
Installation is straightforward with no runtime dependencies. However, the package has been abandoned since 2019-09-24 and receives no maintenance, which may pose a risk if bugs are discovered.
License in practice
License is marked ISCL with unclear treatment, which may require verification before use in proprietary or copyleft projects.
Quickstart
pip install rfc3339
import rfc3339
from datetime import datetime
dt = datetime.now()
rfc_string = rfc3339.format(dt)
Verify before relying
- What obligations ISCL license carries and whether it is equivalent to ISC
- Whether RFC 3339 implementation is complete and spec-compliant
- Python 3 compatibility given classifiers list Python 2.6 and 2.7 but package is abandoned
Package facts
| License | ISCL (unclear) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 2,516 days since the last release |
| First released | |
| Downloads | 1,262,035/month — #4,147 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: rfc3339-6.2-py3-none-any.whl
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
pyRFC3339Parses and generates RFC 3339-compliant…
permissive · top 5,000 on PyPI
tonyg-rfc3339Parses and formats RFC 3339 date-time strings…
unclear · top 15,000 on PyPI
reuters-styleFormats dates, numbers, and text according to…
permissive · top 15,000 on PyPI
rfc3339-validatorValidates whether a string conforms to the…
permissive · top 1,000 on PyPI
types-pyRFC3339Provides type hints for pyRFC3339, enabling…
permissive · top 15,000 on PyPI
strict-rfc3339Converts Unix timestamps to and from RFC3339…
copyleft · top 5,000 on PyPI
ciso8601Parses ISO 8601 and RFC 3339 date-time strings…
permissive · top 5,000 on PyPI
rfc3161-clientImplements RFC 3161 Time-Stamp Protocol to…
permissive · top 5,000 on PyPI
python-mimeparseParses and matches MIME types against…
permissive · top 5,000 on PyPI
http-sfvParses and serializes HTTP Structured Field…
permissive · top 15,000 on PyPI