fcache
a dictionary-like, file-based cache module for Python
Decision gist · record as of 2026-08-14
Yes, if you need simple file-based caching without external dependencies. The low install friction, permissive MIT license, and stable API make it suitable for small-to-medium projects. However, the dormant maintenance status means you should verify that the package meets your performance and concurrency requirements before adopting it in production; consider alternatives if you need active support or expect heavy use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; platformdirs must be installed (handled automatically by pip).
- Installation is straightforward with low friction; the package has one runtime dependency (platformdirs) and is distributed as a pure Python wheel.
- Maintenance is dormant—last commit was 2024-11-19 but no releases in 633 days—so expect no active bug fixes or feature updates.
License · maintenance · safety
MIT (permissive) — fcache is released under the MIT License, a permissive open-source license that allows commercial and private use with minimal restrictions, making it safe to adopt in most projects.
last release 2024-11-19 (633 days) · last repo commit 2024-11-19 · 22 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,034,387 downloads/mo, #2,779 on PyPI
Alternatives
Verify before relying
pip install fcache
from fcache.cache import FileCache
mycache = FileCache('myapp')
mycache['key'] = 'value'
print(mycache['key'])- Whether the write buffer implementation is suitable for high-concurrency or high-throughput scenarios
- Performance characteristics compared to other file-based cache solutions
- Whether dormant status means the package is stable or at risk of incompatibility with future Python versions
What it is and what it does
fcache is a lightweight, file-based cache module that wraps Python's shelve interface into a simple dictionary-like API. It stores cached key-value pairs directly to disk, making it useful for applications that need persistent caching without setting up a separate database server. The package supports standard dictionary operations (get, set, delete, iteration) and can be used as a context manager. It includes an optional write buffer to batch disk writes and reduce I/O overhead.
The module is designed for straightforward use cases where you need to cache data across application restarts. It depends only on platformdirs for cross-platform cache directory discovery, keeping the dependency footprint minimal. The package supports Python 3.9 through 3.13 and is classified as production-stable, though development has been dormant since its last release.
Use it for
- Cache application configuration or computed results to disk for reuse across program restarts
- Store temporary data in a simple key-value format without managing a separate database
- Build a lightweight session store for small-to-medium workloads that don't require a full cache server
- Persist memoized function results to disk for offline-capable applications
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need simple file-based caching without external dependencies.
The low install friction, permissive MIT license, and stable API make it suitable for small-to-medium projects. However, the dormant maintenance status means you should verify that the package meets your performance and concurrency requirements before adopting it in production; consider alternatives if you need active support or expect heavy use.
Install
fcache on PyPI
Before you install
Installation is straightforward with low friction; the package has one runtime dependency (platformdirs) and is distributed as a pure Python wheel. Maintenance is dormant—last commit was 2024-11-19 but no releases in 633 days—so expect no active bug fixes or feature updates.
Requires Python 3.9 or later; platformdirs must be installed (handled automatically by pip).
License in practice
fcache is released under the MIT License, a permissive open-source license that allows commercial and private use with minimal restrictions, making it safe to adopt in most projects.
Quickstart
pip install fcache
from fcache.cache import FileCache
mycache = FileCache('myapp')
mycache['key'] = 'value'
print(mycache['key'])
Verify before relying
- Whether the write buffer implementation is suitable for high-concurrency or high-throughput scenarios
- Performance characteristics compared to other file-based cache solutions
- Whether dormant status means the package is stable or at risk of incompatibility with future Python versions
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageplatformdirs |
| Maintenance | Dormant 633 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,034,387 / month, #2,779 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended 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.13Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Filesystems |
Evidence: fcache-0.6.0-py3-none-any.whl
Tags
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 › “file-based cache python”
- fcachefcache provides a dictionary-like file-based cache that persists data…
- diskcacheDiskCache provides a pure-Python disk-backed cache library that…
- diskcache-weaveDisk-backed cache library that stores key-value pairs on disk and in…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also diskcache · diskcache-weave · pickleshare · partd · shelved-cache · speedict · flexcache · cache-to-disk · persist-queue · shared