types-pyRFC3339
Typing stubs for pyRFC3339
What it is and what it does
This is a type stub package—a collection of type annotations that helps static type checkers understand the pyRFC3339 library without needing to execute its code. It's part of the typeshed project, the standard repository of type stubs for Python packages that predate or lack built-in type support.
The package targets pyRFC3339~=2.0.1 and has been tested with mypy 1.17.1 and pyright 1.1.404. It has no runtime dependencies and installs cleanly. However, it's designed as a temporary bridge: pyRFC3339 added native type annotations starting in version 2.1.0, so this stub becomes unnecessary if you upgrade to that version or later.
Use it for:
- Enable type checking in projects using pyRFC3339 2.0.x with mypy or pyright without waiting for native type support.
- Catch type errors in RFC 3339 date parsing and formatting code before runtime in a typed codebase.
- Maintain strict type checking across a project that depends on an older version of pyRFC3339.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type hints for pyRFC3339, enabling type checkers like mypy and pyright to validate code using pyRFC3339 for RFC 3339 date and time handling.
Yes, but with a clear condition: install this only if you are using pyRFC3339 version 2.0.x and need type checking support. If you're already on pyRFC3339 2.1.0 or later, uninstall it—the library now includes its own type annotations. For 2.0.x users who rely on static type checking, it's a straightforward, low-friction addition.
Install
types-pyrfc3339 on PyPI
pip
pip install types-pyrfc3339uv
uv add types-pyrfc3339poetry
poetry add types-pyrfc3339Installing types-pyRFC3339
Before you install
Low friction installation with no runtime dependencies. Actively maintained as part of typeshed; last commit 2026-08-14.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in most commercial and open-source projects without significant restriction.
Quickstart
pip install types-pyrfc3339
import pyrfc3339
# Type checker now understands pyrfc3339 types
Requires Python >=3.9
Verify before relying
- Whether this stub package remains necessary if you're using pyRFC3339 2.1.0 or later (description suggests uninstalling in that case).
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 354 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 341,095/month — #7,407 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: types_pyrfc3339-2.0.1.20250825-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
types-icalendarProvides type stubs for the icalendar package,…
permissive · top 15,000 on PyPI
pyRFC3339Parses and generates RFC 3339-compliant…
permissive · top 5,000 on PyPI
rfc3339Formats and parses dates according to RFC 3339,…
unclear · top 5,000 on PyPI
types-docutilsProvides type hints for the docutils library,…
permissive · top 5,000 on PyPI
types-pyserialProvides type hints for the pyserial library,…
permissive · top 5,000 on PyPI
types-html5libProvides type hints for the html5lib HTML…
permissive · top 5,000 on PyPI
types-retryProvides type hints for the retry package,…
permissive · top 5,000 on PyPI
types-grpcio-reflectionProvides type hints for grpcio-reflection,…
permissive · top 15,000 on PyPI
types-pyflakesProvides type stubs for the pyflakes static…
permissive · top 15,000 on PyPI
types-pytzProvides type stubs for the pytz timezone…
permissive · top 1,000 on PyPI