Skip to main content

Dache

https://badge.fury.io/py/dache.svg https://travis-ci.org/eliangcs/dache.svg?branch=master https://coveralls.io/repos/eliangcs/dache/badge.png?branch=master

Forked from Django’s cache framework, Dache is a Python library that provides a unified API across various cache backends.

WARNING: This package is still in development. Do NOT use it in production!

Installation

pip install dache

Usage

>>> import dache
>>> cache = dache.Cache('locmem://')
>>> cache.set('key', {'value': 1234})
>>> cache.get('key')
{'value': 1234}

Built-in backends:

Backend

Required Python Package(s)

URL

File

file:///DIR_PATH

LevelDB

leveldb

leveldb:///DIR_PATH

Local memory

locmem://

Memcached

python-memcached or python3-memcached pylibmc

memcached://HOST:PORT pylibmc://HOST:PORT

Redis

redis and hiredis

redis:///HOST:PORT/DB

To register a custom backend, you can use register_backend():

>>> import dache
>>> dache.register_backend('awesome', 'my.backend.MyAwesomeCache')

Metadata

Release files for dache 0.0.4

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

Source distribution (sdist)

Source distribution for dache 0.0.4
File Size Uploaded Provenance
dache-0.0.4.tar.gz 15.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dache 0.0.4
File Interpreter ABI Platform
dache-0.0.4-py2-none-any.whl Python 2 none any Details

Total release size: 35.5 kB

Release files / dache-0.0.4.tar.gz

Download URL dache-0.0.4.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e58c2cd88faa71874e590ffd6e536caa15ef719f3dc78ac736119ad180ab896e
BLAKE2b-256 checksum
How to use checksums
559f1ffb91ff0d164a3326769343cfecc64f42f04656e0c89378fc9d77749591
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / dache-0.0.4-py2-none-any.whl

Download URL dache-0.0.4-py2-none-any.whl
Size 20.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
9db81ce21e7422478a79ade4881b94793647c1c1dd01d1b0f3eaa25706586ccc
BLAKE2b-256 checksum
How to use checksums
e860d2ed57f6ba02f8b271eb43deadc1c5abc8526e872c490a7c35b930479bb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for dache 0.0.4

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