def-cache is a python package used to cache results from python methods
Project description
def-cache
def-cache is a python package that can be used as a method decorator to case their results.
Currently, the backend supported is fs (file-system) and the results of the cached method are stored in files
Installation
As def-cache is a python package it can be installed directly using pip:
python -m pip install def-cache
Alternatively one can use the source code directly.
Usage
Upon installation one can directly use the decorator on the methods that need to be cached.
TODO: add code snippets
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file def_cache-1.0.0.tar.gz.
File metadata
- Download URL: def_cache-1.0.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eddfd95973c73d264614744844bf1727dfea262188058ebdcb97033e9a698d7a
|
|
| MD5 |
930b2d6d5b6dafedd8b284dbdc6b10c3
|
|
| BLAKE2b-256 |
79d9e45dca7bbe93cdcdaa22de5e4fe8613cb7fdd4210823f5539a12380cc257
|
File details
Details for the file def_cache-1.0.0-py3-none-any.whl.
File metadata
- Download URL: def_cache-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dab75c545d241b20b57863a2b18ba3b58473e2a0a19aa03403a150732fcc60a1
|
|
| MD5 |
3b4e8033b00734ebc5d9a553bb128a93
|
|
| BLAKE2b-256 |
90d65e40f7af0e13d29b0fff3b8bdea16bff43f8da3dbbf5f3e6830561a92d5b
|