types-dateparser
Typing stubs for dateparser
What it is and what it does
types-dateparser is a type stub package that adds static type information to the dateparser library. It is part of the typeshed project and allows type checkers—mypy, pyright, pyrefly, and ty—to understand and validate code that calls dateparser functions. The stubs are generated from typeshed and aim to provide accurate annotations for dateparser version 1.4.2.
You install this package alongside dateparser in your development environment so that your type checker can verify that you are calling dateparser functions correctly. It has no runtime dependencies and adds no overhead to your application; it is purely a development tool for catching type errors before runtime.
Use it for:
- Enable mypy or pyright to catch type errors when calling dateparser functions in your codebase.
- Provide IDE autocomplete and type hints for dateparser APIs in editors that support type stubs.
- Ensure type safety in projects that parse dates with dateparser and use strict type checking.
- Validate that dateparser function arguments and return values match expected types in CI/CD pipelines.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type stubs for the dateparser package, enabling static type checkers like mypy, pyright, and others to validate code that uses dateparser for date parsing.
Yes, if you use dateparser and run static type checking. Install it alongside dateparser in your development dependencies (or in a type-checking environment) to get accurate type information. It has no runtime cost and is actively maintained as part of typeshed. If you do not use a type checker, there is no reason to install it.
Install
types-dateparser on PyPI
pip
pip install types-dateparseruv
uv add types-dateparserpoetry
poetry add types-dateparserInstalling types-dateparser
Before you install
Low install friction; a pure stub package with no runtime dependencies. Actively maintained as part of typeshed, with a release just 1 day old.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in most projects without significant legal constraints.
Quickstart
pip install types-dateparser
# Then use dateparser in your code; type checkers will now understand its types:
import dateparser
result = dateparser.parse('2026-08-14')
Requires Python 3.10 or later.
Verify before relying
- Whether these stubs are kept in sync with dateparser releases beyond 1.4.2.
- Whether all dateparser APIs are fully annotated or if some remain untyped.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,970,804/month — #3,396 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: types_dateparser-1.4.2.20260813-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-antlr4-python3-runtimeProvides type stubs for antlr4-python3-runtime,…
permissive · top 15,000 on PyPI
types-dockerProvides type hints for the docker package,…
permissive · top 5,000 on PyPI
types-geventProvides type stubs for the gevent library,…
permissive · top 15,000 on PyPI
types-python-dateutilProvides type annotations for the…
permissive · top 1,000 on PyPI
types-DeprecatedProvides type stubs for the Deprecated package,…
permissive · top 5,000 on PyPI
types-yt-dlpProvides type hints for yt-dlp, enabling static…
permissive · top 15,000 on PyPI
types-bleachProvides type stubs for the bleach HTML…
permissive · top 5,000 on PyPI
pandas-stubsProvides type stubs for pandas, enabling static…
permissive · top 1,000 on PyPI
types-pyinstallerProvides type stubs for pyinstaller, enabling…
permissive · top 15,000 on PyPI
types-django-filterProvides type hints for django-filter, enabling…
permissive · top 15,000 on PyPI