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
candystore-0.3.1.tar.gz
(14.8 kB
view hashes)
Built Distribution
candystore-0.3.1-py3-none-any.whl
(18.0 kB
view hashes)
Close
Hashes for candystore-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57cc5bdf62ca5d012b43b3db906b782fcec888e15a60024443d3c6ab39381836 |
|
MD5 | 816af82c5f1c41da883dc344576dd1ca |
|
BLAKE2b-256 | 25fb7101c69b07605c96e991ac2e4baf761156c8526148961cee30fbc3dc98de |