Web cache
Python module for simple key-value storage backed up by sqlite3 database. The typical use case is a URL to HTTP data cache, but it can also be used fo non web ressources.
Features
- Simple
dictinterface allows natural usage (if key in cache,value = cache[key], etc.) - Optional Zlib, BZIP2 or LZMA compression
- FIFO or LRU cache eviction strategies
- Optional thread safe interface to work around Python Sqlite3 'same thread' limitation
- Provides cache hit rate statistics
Installation (from PyPI, with PIP)
web_cache requires Python >= 3.4.
- If you don't already have it, install pip for Python 3
- Install web_cache:
pip3 install web_cache
License
Metadata
Release files for web_cache 1.1.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 | |
|---|---|---|---|
| web_cache-1.1.0.tar.gz | 16.2 kB | Details |
Release files / web_cache-1.1.0.tar.gz
| Download URL | web_cache-1.1.0.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d5a10a34c87beffc794b8e1dec77bf6b419886b9cc60b9b10c706810870e0eb5
|
|
BLAKE2b-256 checksum How to use checksums |
1b679970fa9705c2e4234923a1ae0ca96bd5f29571d21b70c5457528347f1eaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3
|