Skip to main content
https://img.shields.io/pypi/v/penaltymodel-cache.svg

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

Release files for penaltymodel-cache 0.4.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for penaltymodel-cache 0.4.5
File Size Uploaded
penaltymodel-cache-0.4.5.tar.gz 9.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for penaltymodel-cache 0.4.5
File Interpreter ABI Platform
penaltymodel_cache-0.4.5-py3-none-any.whl Python 3 none any Details

Total release size: 21.6 kB

Release files / penaltymodel-cache-0.4.5.tar.gz

Download URL penaltymodel-cache-0.4.5.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
84167042a62f16f47bb98286a163c365d416f23b9f2ba86a928b56d25c2d5d17
BLAKE2b-256 checksum
How to use checksums
72bc5244b79baa28d979eca8491ec8f6fd1fcf47dce96e6f5e7ab1efdc536ada
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.8

Release files / penaltymodel_cache-0.4.5-py3-none-any.whl

Download URL penaltymodel_cache-0.4.5-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4872ffc070aaba6308358fd4180ae647c01f5509173cf774e2c10294452e92d7
BLAKE2b-256 checksum
How to use checksums
63ad7e95bada01b0a7d0ca0049c6ae0f7224764e4e89fed782312ad7bf12db5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.8

Release history Release notifications | RSS feed

This release

0.4.5 This release

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page