A local cache for penalty models.
Project description
Penalty Model Cache
A local cache for penalty models. Serves as a factory and cache for penaltymodel.
On install, penaltymodel_cache registers an entry point that can be read by
penaltymodel. By identifying itself as both a cache and a factory, it will
be used automatically by any project that uses penaltymodel’s get_penalty_model
function. It will also be automatically populated
Installing
To install:
pip install penaltymodel_cache
To build from source:
cd penaltymodel_cache
pip install -r requirements.txt
pip install -e ../penaltymodel_core/
python setup.py install
Cache Location
If installed inside of a virtual environment, penaltymodel_cache will
store the database in /path/to/virtualenv/data/app_name
. Otherwise
the cache will be placed in the system’s application data directory.
License
Released under the Apache License 2.0. See LICENSE
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
Hashes for penaltymodel_cache-0.3.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e4323e1bf24d15f0d0ec8f130bcaee8690ff5d5b32e3e9a3da989aa3c9b0b62 |
|
MD5 | e21ab1b62d796879a0d6b7320dc94d61 |
|
BLAKE2b-256 | aedf8303beb7d9bcaa8e786f2cbfcce93f1ea211fe35dfbda768090bdf534eb0 |