--- id: types-cachetools version: "7.0.0.20260713" license: Apache-2.0 license_treatment: permissive maintenance: active --- # types-cachetools — Typing stubs for cachetools License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install types-cachetools uv add types-cachetools poetry add types-cachetools ## Description ## Typing stubs for cachetools This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html) for the [`cachetools`](https://github.com/tkem/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](https://github.com/python/typeshed). All fixes for types and metadata should be contributed there. See [the README](https://github.com/python/typeshed/blob/main/README.md) for more details. The source for this package can be found in the [`stubs/cachetools`](https://github.com/python/typeshed/tree/main/stubs/cachetools) directory. This package was tested with the following type checkers: * [mypy](https://github.com/python/mypy/) 2.2.0 * [pyright](https://github.com/microsoft/pyright) 1.1.411 It was generated from typeshed... ## AI interpretation — verify before relying Provides type annotations for the cachetools library, enabling static type checkers like mypy and pyright to validate code that uses cachetools. 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. [View on SkillFed](https://skillfed.io/packages/types-cachetools) · [View on PyPI](https://pypi.org/project/types-cachetools/)