cache4py: Caching simplified.
Getting started
Installation
Install using pip: $ pip install cache4py
Usage
from cache4py.decorators import cache
from cache4py.storage.redis import RedisBackend
# You can choose memcached, redis or default (python's dict) as a backend.
redis_backend = RedisBackend(url='localhost', port='6379')
@cache(backend=redis_backend)
def my_function_one(*args, **kwargs):
# do something awesome
return
Options
- Keys
- Eviction policies (coming soon)
- Backend
- Max memory limit (coming soon)
- Key expiry time (coming soon)
Contributing to cache4py
Refer CONTRIBUTING.md
Issue tracking
Create issues at cache4py/issues.
Authors
- Nitin Labhishetty (lnitin94@gmail.com)
- Vaibhav Tulsyan (vstulsyan@gmail.com)
Metadata
Release files for cache4py 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cache4py-0.0.1.tar.gz | 5.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cache4py-0.0.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 14.1 kB
Release files / cache4py-0.0.1.tar.gz
| Download URL | cache4py-0.0.1.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0dcd9f71fc36c72b681f5b9a3336ed0e1b7523b3563f7791a6acdfe976adb969
|
|
BLAKE2b-256 checksum How to use checksums |
f91de62bac3ff4f733af56a228ab7a10fe9d5a06c4961180f296d2ffe5c59dbc
|
| 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.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0
|
Release files / cache4py-0.0.1-py2.py3-none-any.whl
| Download URL | cache4py-0.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ae0db0bb0cdb102a827e7f6380822a0b84b2bf2c3dc6b9ff08c6583581fd093b
|
|
BLAKE2b-256 checksum How to use checksums |
af3b6df8164a957b00d6590d423a4e4a469fa92dfe606fada66861d4648622a2
|
| 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.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0
|
Security for cache4py 0.0.1
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.