$npx skillfedfor your agent

types-DateTimeRange

Typing stubs for DateTimeRange

With conditionsPyPI Software DevelopmentReleased Jul 202390.3K downloads / moApache-2.0 licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_DateTimeRange-2.0.0.6-py3-none-any.whl
v2.0.0.6 · released 2023-07-20 · 1 runtime deps: types-python-dateutil

Yes, but only if you are using DateTimeRange version 2.0.x and need type checking support. If you are on DateTimeRange 2.1.0 or later, uninstall this package—DateTimeRange now includes its own type annotations. The package is stable and actively maintained via typeshed, with no known vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Only useful if you are using DateTimeRange version 2.0.x; DateTimeRange 2.1.0 and later include their own type annotations, making this package unnecessary.
  • Low install friction with a single lightweight dependency on types-python-dateutil.
  • The package is actively maintained via typeshed, though it has not been updated since 2023-07-20.

License · maintenance · safety

Apache-2.0 license (permissive) — Licensed under Apache-2.0, a permissive license that allows use in most projects without restriction.

last release 2023-07-20 (1121 days) · last repo commit 2026-08-14 · 5,108 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 90,346 downloads/mo, #13,596 on PyPI

Verify before relying

pip install types-DateTimeRange
# Type checkers will now understand DateTimeRange types in your code
  • Whether the stubs remain accurate for DateTimeRange versions released after 2023-07-20.
  • Compatibility with type checker versions beyond those tested (1.4.1, 1.1.318, 2023.6.16).
Same gist for agents: .md · .json

What it is and what it does

types-DateTimeRange is a PEP 561 type stub package that provides type information for the DateTimeRange library to static type checkers. It acts as a bridge between type checkers and the DateTimeRange package, allowing those tools to understand and validate the types used in DateTimeRange code.

The package is maintained as part of typeshed and depends on types-python-dateutil for its own type information. However, the package documentation indicates that DateTimeRange has included native type annotations since version 2.1.0, making this stub package redundant for users on that version or later.

Use it for

  • Enable type checkers to validate code using DateTimeRange in projects on version 2.0.x.
  • Provide type hints for DateTimeRange in IDEs when using older DateTimeRange versions.
  • Validate datetime range operations in a codebase with strict type checking enabled.
  • Support type-aware code completion for DateTimeRange in compatible editors.

Worth the install?

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

With conditions

Yes, but only if you are using DateTimeRange version 2.0.x and need type checking support.

If you are on DateTimeRange 2.1.0 or later, uninstall this package—DateTimeRange now includes its own type annotations. The package is stable and actively maintained via typeshed, with no known vulnerabilities.

Install

types-datetimerange on PyPI

Before you install

Low install friction with a single lightweight dependency on types-python-dateutil. The package is actively maintained via typeshed, though it has not been updated since 2023-07-20.

Only useful if you are using DateTimeRange version 2.0.x; DateTimeRange 2.1.0 and later include their own type annotations, making this package unnecessary.

License in practice

Licensed under Apache-2.0, a permissive license that allows use in most projects without restriction.

Quickstart

pip install types-DateTimeRange
# Type checkers will now understand DateTimeRange types in your code

Verify before relying

  • Whether the stubs remain accurate for DateTimeRange versions released after 2023-07-20.
  • Compatibility with type checker versions beyond those tested (1.4.1, 1.1.318, 2023.6.16).

Package facts

LicenseApache-2.0 license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
types-python-dateutil
MaintenanceActively maintained 1,121 days since the last release
Last repo commit
First released
Downloads90,346 / month, #13,596 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Typing :: Stubs Only

Evidence: types_DateTimeRange-2.0.0.6-py3-none-any.whl

Tags

Capabilities
type stubs datetimerangepep 561 type stubsstatic type checking datetimepython type hints datetime rangetype checking datetimerangetyping stubs python
Topics
type-stubsstatic-analysis

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 › “type stubs datetimerange”

  • types-DateTimeRangeProvides type stubs for the DateTimeRange package, enabling static…
  • DateTimeRangeDateTimeRange creates and manipulates time range objects, supporting…
  • types-assertpyProvides type stubs enabling static type checkers like mypy and…

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

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also types-typed-ast · types-tzlocal · types-futures · types-SQLAlchemy · DateTimeRange · types-urllib3 · types-contextvars · types-termcolor · types-beautifulsoup4 · types-dataclasses