fcache
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)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| fcache-0.6.0.tar.gz | 7.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|
Security for fcache 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.