Skip to main content

Caching library reimplementing django.core.cache with async support and type hints, inspired by encode/databases.

Project description

Async Caches

Build Status Codecov

Caching library reimplementing django.core.cache API with async support and type hints, inspired by encode/databases.

Currently three cache backends are available:

  • dummy - Dummy cache backend that doesn't cache anything. Used to disable caching in tests!
  • locmem - Cache backend that stores data in thread's memory. Lets you develop and test caching without need to setup and maintin cache server.
  • redis - Redis cache intended for use in actual deployments.

Requirements: Python 3.6+

Installation

$ pip install async-caches

Credits and license

This is free software and you are welcome to modify and redistribute it under the conditions described in the license. For the complete license, refer to the LICENSE file.

Parts of software come from databases package developed by Tom Christie and contributors and from Django package developed by Django project maintainers and contributors.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

async-caches-0.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

async_caches-0.1.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file async-caches-0.1.0.tar.gz.

File metadata

  • Download URL: async-caches-0.1.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for async-caches-0.1.0.tar.gz
Algorithm Hash digest
SHA256 91d6ea8d02b788a125726f541852eebddb9d244aae109c4552e4976cf859c981
MD5 aa79876e9ef5891d9b4ac47535d0d7bf
BLAKE2b-256 614a2d8b42c5281feaa1914bd5e2d06768bcbeda0d67d4cc2ba3b131d017a445

See more details on using hashes here.

File details

Details for the file async_caches-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: async_caches-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for async_caches-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 38076f1161e819740b0ce91c9652871117a7d91b54b060a1e200022c1a6aa1e9
MD5 496296e259244e9df6c0eedb9e1a1958
BLAKE2b-256 b35291a176ea2a7a227b305a41685b6a877a8af297b91e37627b29f2cd6f0540

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page