types-cachetools
Typing stubs for cachetools
Install
types-cachetools on PyPI
pip
pip install types-cachetoolsuv
uv add types-cachetoolspoetry
poetry add types-cachetoolsPackage 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 — 31 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: types_cachetools-7.0.0.20260713-py3-none-any.whl
About types-cachetools
from the package's own PyPI description — quoted content, verbatim
Typing stubs for cachetools
This is a type stub package
for the cachetools package. It can be used by type checkers
to check code that uses cachetools. This version of
types-cachetools aims to provide accurate annotations for
cachetools==7.0.*.
Note: The cachetools package includes type annotations or type stubs
since version 7.1.0. Please uninstall the types-cachetools
package if you use this or a newer version.
This package is part of the typeshed project.
All fixes for types and metadata should be contributed there.
See the README
for more details. The source for this package can be found in the
stubs/cachetools
directory.
This package was tested with the following type checkers: * mypy 2.2.0 * pyright 1.1.411
It was generated from typeshed...
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Provides type annotations for the cachetools library, enabling static type checkers like mypy and pyright to validate code that uses cachetools.
Low friction; a pure-stub package with no runtime dependencies. Actively maintained as part of typeshed, last updated 31 days ago.
Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions.
Usage
pip install types-cachetools
# Type checkers will now understand cachetools imports when analyzing your code
Requires Python 3.10 or later. The description notes that cachetools 7.1.0+ includes its own type stubs, making this package redundant for those versions.
Verdict: A lightweight, actively maintained type-stub package for cachetools 7.0.x with no security vulnerabilities and permissive licensing. Suitable for projects needing static type checking support, though obsolete if upgrading cachetools to 7.1.0 or newer.
Needs verification
- Whether stub coverage is complete for all cachetools 7.0.x APIs beyond the tested type checkers (mypy 2.2.0, pyright 1.1.411).
- Compatibility with type checkers other than mypy and pyright.
Similar packages
permissive · top 1,000 on PyPI
types-PyYAMLpermissive · top 1,000 on PyPI
types-pytzpermissive · top 1,000 on PyPI
types-paramikopermissive · top 1,000 on PyPI
types-tomlpermissive · top 1,000 on PyPI
types-python-dateutilpermissive · top 1,000 on PyPI
types-certifipermissive · top 1,000 on PyPI
cachetoolspermissive · top 1,000 on PyPI
types-setuptoolspermissive · top 1,000 on PyPI
types-protobufpermissive · top 1,000 on PyPI