Factories for randomised AFL data sets for testing purposes
Project description
candystore
Factories for randomised AFL data sets, selling candy to your unit tests.
The shape and content of the data is based on what's returned by the R package fitzRoy, which gets most of its data from the sites Footywire and AFLTables. The column names are converted to snake_case for convenience.
Installation
pip3 install candystore
from candystore import CandyStore
candy = CandyStore()
candy.fixtures()
Documentation
More-detailed documentation can be found at https://candystore.readthedocs.io/en/latest/
Setting up dev environment
- Install Docker
- Build Docker image for integration tests:
docker build -t candystore_tests .
-
pip3 install -r requirements.txt
- Run tests with the script file
./scripts/tests.sh
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
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 candystore-0.3.4.tar.gz.
File metadata
- Download URL: candystore-0.3.4.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6c50d0182e23e02a4a45c290a5cb78bff21096cc9a2899955959be7a1bc511a
|
|
| MD5 |
e15df3e7285cd889cd0cbac3c51ba0fc
|
|
| BLAKE2b-256 |
df139d580a96a94cb369f557f18438dc8d7a44547240259e5236fcfc923c79be
|
File details
Details for the file candystore-0.3.4-py3-none-any.whl.
File metadata
- Download URL: candystore-0.3.4-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16edfcde8d8b9260ed83a66679cb55bf27dae4ad6a2624d251cac620af32548a
|
|
| MD5 |
f9d43e087dabe6b651957049d9dbcd9a
|
|
| BLAKE2b-256 |
bd792173319234751a378feba7d78c70959692dd21395c8e1cb9af887b7c69ed
|