$npx skillfedfor your agent

cacheout

A caching library for Python

With conditionsPyPI LibrariesReleased Dec 2023896.4K downloads / moMIT LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — cacheout-0.16.0-py3-none-any.whl
v0.16.0 · released 2023-12-22 · Python >=3.7

Yes, if you need a lightweight, dependency-free in-memory cache with multiple eviction strategies and TTL support for a single-process application. The dormant maintenance status (last release 900+ days ago) is acceptable for a stable caching library with no active security vulnerabilities, but monitor the repository if you require ongoing feature development or rapid bug fixes. Not suitable if you need distributed caching or Redis-like persistence.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >= 3.7
  • Low install friction with no runtime dependencies.
  • Maintenance is dormant—last release was 2023-12-22, over 900 days ago—but the repository remains active and the package supports current Python versions (3.7–3.12).

License · maintenance · safety

MIT License (permissive) — MIT License (permissive) allows commercial and private use with minimal restrictions; you may use, modify, and distribute freely provided you include the license notice.

last release 2023-12-22 (966 days) · last repo commit 2023-12-22 · 435 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 896,353 downloads/mo, #4,787 on PyPI

Verify before relying

pip install cacheout

from cacheout import Cache

cache = Cache(maxsize=256, ttl=0)
cache.set('key', 'value')
assert cache.get('key') == 'value'
  • Performance characteristics (throughput, latency) compared to alternatives under typical workloads
  • Thread-safety guarantees under high concurrency or with custom eviction strategies
  • Memory overhead per cached entry relative to raw dictionary storage
Same gist for agents: .md · .json

What it is and what it does

Cacheout is a pure-Python in-memory caching library that stores key-value pairs with configurable eviction policies and optional time-based expiration. It offers six eviction strategies (FIFO, LIFO, LRU, MRU, LFU, RR) and supports TTL per entry or globally, with a maximum cache size enforced by the chosen policy. The library is thread-safe and provides bulk operations, filtering by string/regex/function, and event callbacks for cache lifecycle events.

It is typically used to reduce computation or I/O by caching function results via the memoization decorator, managing multiple independent caches through CacheManager, or as a simple session or data store within a single process. The package has no external runtime dependencies, making it lightweight to add to existing projects. Maintenance is dormant but the codebase is stable; the last release added callback hooks and statistics tracking.

Use it for

  • Memoize expensive function calls to avoid recomputation within a single process or application session
  • Implement a simple session store or temporary data cache with automatic expiration via TTL
  • Manage multiple independent caches (e.g., for different data types or modules) using CacheManager
  • Cache API responses or database query results with LRU eviction to bound memory usage
  • Track cache hit/miss statistics and performance metrics using built-in stats tracking

Worth the install?

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

With conditions

Yes, if you need a lightweight, dependency-free in-memory cache with multiple eviction strategies and TTL support for a single-process application.

The dormant maintenance status (last release 900+ days ago) is acceptable for a stable caching library with no active security vulnerabilities, but monitor the repository if you require ongoing feature development or rapid bug fixes. Not suitable if you need distributed caching or Redis-like persistence.

Install

cacheout on PyPI

Before you install

Low install friction with no runtime dependencies. Maintenance is dormant—last release was 2023-12-22, over 900 days ago—but the repository remains active and the package supports current Python versions (3.7–3.12).

Requires Python >= 3.7

License in practice

MIT License (permissive) allows commercial and private use with minimal restrictions; you may use, modify, and distribute freely provided you include the license notice.

Quickstart

pip install cacheout

from cacheout import Cache

cache = Cache(maxsize=256, ttl=0)
cache.set('key', 'value')
assert cache.get('key') == 'value'

Verify before relying

  • Performance characteristics (throughput, latency) compared to alternatives under typical workloads
  • Thread-safety guarantees under high concurrency or with custom eviction strategies
  • Memory overhead per cached entry relative to raw dictionary storage

Package facts

LicenseMIT License permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceDormant 966 days since the last release
Last repo commit
First released
Downloads896,353 / month, #4,787 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: DatabaseTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: Utilities

Evidence: cacheout-0.16.0-py3-none-any.whl

Tags

Capabilities
in-memory cache librarypython caching with TTLmemoization decoratorLRU cache implementationcache eviction strategiesthread-safe cachecache manager multiple caches
Topics
in-memory-cachememoizationeviction-policies
PyPI keywords
cacheoutcachecachingmemoizememoizationfifolifolfulrumru

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 › “cache eviction strategies”

  • cacheoutCacheout provides in-memory caching with multiple eviction strategies…
  • theineTheine is a high-performance in-memory cache with a Rust core,…
  • py-memoizeCaching library for async Python applications that prevents cache…

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

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also cachebox · memoization · theine · onecache · cachey · cachetools · py-memoize · lru-dict · async-cache · asyncache