Caching library reimplementing django.core.cache with async support and type hints, inspired by encode/databases.
Project description
Async Caches
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 local memory. Lets you develop and test caching without need for actual cache server.redis
- Redis cache intended for use in actual deployments.
Requirements: Python 3.6+ Documentation: https://rafalp.github.io/async-caches/
Installation
$ pip install async-caches
Contributing
Contributions are welcome!
If you've found a bug, got idea, question or just want to share the love, open GitHub issue or pull request!
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file async-caches-0.3.0.tar.gz
.
File metadata
- Download URL: async-caches-0.3.0.tar.gz
- Upload date:
- Size: 7.6 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b860095e286f598ad568fe120136d8f418754b39fd20ab1e60fdcfc1e39c7e6a |
|
MD5 | 810723b90f78f5ff898ec61bc68275e4 |
|
BLAKE2b-256 | 01459b0da42a898be24b57ee4ed75968cca60cd6b675d18822acd3ccd2e5f0b3 |
File details
Details for the file async_caches-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: async_caches-0.3.0-py3-none-any.whl
- Upload date:
- Size: 10.3 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b627c907e873149fa7cf9e2aa5eb4e9b8a641360a474d1850d6d99dff685a0f6 |
|
MD5 | a00982b95229d12d5d1ee297cffed299 |
|
BLAKE2b-256 | f14b85fc906c752dfaa5d29dd5f31c37c9bac9dbd5c3e88d4ea005a27ca7708a |