Skip to main content

fcache

https://badge.fury.io/py/fcache.svg https://github.com/tsroten/fcache/actions/workflows/ci.yml/badge.svg

fcache is a dictionary-like, file-based cache module for Python. It’s simple to use, has an optional write buffer, and is Shelf-compatible.

>>> from fcache.cache import FileCache
>>> mycache = FileCache('myapp')
>>> mycache['foo'] = [1, 2, 3, 4, 5]
>>> mycache['foo']
[1, 2, 3, 4, 5]
>>> mycache['bar'] = 'value'
>>> list(mycache)
['foo', 'bar']
>>> del mycache['foo']
>>> mycache['foo']
    ...
    KeyError: 'foo'
with FileCache('myapp') as mycache:
    mycache['foo'] = [1, 2, 3, 4, 5]

Install

To install fcache, use pip:

$ pip install fcache

Documentation

fcache’s documentation contains an introduction along with an API overview. For more information on how to get started with fcache, be sure to read the documentation.

Bug/Issues Tracker

fcache uses its GitHub Issues page to track bugs, feature requests, and support questions.

License

fcache is released under the OSI-approved MIT License. See the file LICENSE.txt for more information.

Metadata

Release files for fcache 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fcache 0.6.0
File Size Uploaded
fcache-0.6.0.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fcache 0.6.0
File Interpreter ABI Platform
fcache-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.5 kB

Release files / fcache-0.6.0.tar.gz

Download URL fcache-0.6.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
79949f0aafe8cedc5c9064631b3c157941a288e59f9991dd158c23e8e60b5422
BLAKE2b-256 checksum
How to use checksums
009460d2b17996d5edf1a62d213ad37a9d2f25fd6864997dfd2b099fffc3deed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.27.2

Release files / fcache-0.6.0-py3-none-any.whl

Download URL fcache-0.6.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dbf0753bb7400ed80d703df9ffcfb438786698872ed92c50169f95cb0eac8306
BLAKE2b-256 checksum
How to use checksums
840cababd9fed96d865463f95f897c48a8781bc831f9e08cdc8124b96964f92c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.27.2

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.7

2 release files

0.4.5

1 release file

0.4.4

1 release file

0.4.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4

1 release file

0.3.1

1 release file

0.3

1 release file

0.2.1

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page