# Yosai DPCache: “DogPile” Cache Integration

This is a Yosai integration using a fork of the dogpile project, authored by Mike Bayer.
The dogpile project consists of two sub-projects: dogpile.core and dogpile.cache. Yosai_DPCache is a fork of these projects, replacing pickle-based serialization with serialization supported by Yosai and making a few other customizations.
## Serialization

Yosai reduces objects to their serializable form using the marshmallow library, encodes the “reductions” with msgpack, json, or other encoding scheme, and then caches the objects.
Objects obtained from cache are de-serialized back into their reduced forms and then re-materialized into Yosai objects.
## Installation
Install YosaiDPCache from PyPI using pip: pip install yosai_dpcache
## Setup
A YosaiDPCache.DPCacheHandler can be configured through one of two ways:
- Option 1: YAML Config File
Define a system environment variable, YOSAI_CACHE_SETTINGS, that points to the location of cache_settings.yaml file and make sure that the file permissions make it readable.
Instantiate a DPCacheHandler without arguments.
- Option 2: instantiate a DPCacheHandler, passing all of the required
arguments (see cachehandler.py and settings.py for detail)
## Dev Status (as of YosaiDPCache v0.0.5)
### Redis is Ready for Use
Only Redis support has been implemented and ad-hoc tested.
### Unit testing is Pending
Integrated testing of yosai includes YosaiDPCache, and so YosaiDPCache is included with automated testing. However, YosaiDPCache needs its own unit tests covering its customizations.
Metadata
Release files for yosai-dpcache 0.3.0
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 | Actions |
|---|---|---|---|---|
| yosai_dpcache-0.3.0.tar.gz | 100.9 kB | Without provenance | Details for yosai_dpcache-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yosai_dpcache-0.3.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for yosai_dpcache-0.3.0-py2.py3-none-any.whl |
Total release size: 130.5 kB
Release files / yosai_dpcache-0.3.0.tar.gz
| Download URL | yosai_dpcache-0.3.0.tar.gz |
|---|---|
| Size | 100.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20e8845d888e707c9acdebe2f72421e5ac7d1778a600bd82a2082e6dc5c3726d
|
|
BLAKE2b-256 checksum How to use checksums |
cc45788313c57fff7ad37a2a53cbb235e034b733b768e946140c99e1d51ec59c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / yosai_dpcache-0.3.0-py2.py3-none-any.whl
| Download URL | yosai_dpcache-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 29.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
3aced98391951d32aef0fb905b87ffd75c1e67553a2d5cb76b8116a7bf8d0e32
|
|
BLAKE2b-256 checksum How to use checksums |
819417a0fef23e7782dcb05214f4efef5d968d11c8b302da76e4ba1e3972a29f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for yosai-dpcache 0.3.0
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.