Skip to main content

django-sqlite-file-cache

A Django cache backend which has a similar API to FileBasedCache, but reduces the number of inodes used.

Build Status Coverage Status PyPI version

Supports both Python >=v2.7 and >=3.4.

Installation

pip install django-sqlite-file-cache

Usage

Add to your Django CACHES

CACHES = {
    'default': {
        'BACKEND': 'django_sqlite_file_cache.SQLiteFileCache',
        'LOCATION': '/var/tmp/django_cache/cache.db',
    }
}

Ensure LOCATION path is readable/writable by the web server's user

See https://docs.djangoproject.com/en/3.1/topics/cache/ for more options

Metadata

Release files for django-sqlite-file-cache 0.6.2

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

Built distribution (wheel)

Table of built distributions (wheels) for django-sqlite-file-cache 0.6.2
File Interpreter ABI Platform Actions
django_sqlite_file_cache-0.6.2-py2.py3-none-any.whl Python 2, Python 3 none any Details for django_sqlite_file_cache-0.6.2-py2.py3-none-any.whl

Release files / django_sqlite_file_cache-0.6.2-py2.py3-none-any.whl

Download URL django_sqlite_file_cache-0.6.2-py2.py3-none-any.whl
Size 4.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
11cc7cba2ed27ed0e3f6cea6665c75f28553c6b303bdcb6b75e55ec72098bcf7
BLAKE2b-256 checksum
How to use checksums
bba3f90b9130e215649c83b9e8e18af29b5646fd676feccf065d752c2209b10a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.13

Security for django-sqlite-file-cache 0.6.2

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.

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