skillfed

types-dateparser

Typing stubs for dateparser

types-dateparser v1.4.2.20260813 2.0M downloads/30d#3,396 on PyPI37
Permissive license Apache-2.0 Active released

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-dateparser

uv

uv add types-dateparser

poetry

poetry add types-dateparser

Installing 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

Programming Language :: Python :: 3Typing :: Stubs Only

Tags

type stubs dateparserdateparser type hintsstatic type checking dateparsermypy dateparser annotationspyright dateparser types
type-stubsstatic-analysis

More Software Development packages