Skip to main content

Factories for randomised AFL data sets for testing purposes

Project description

candystore

build fitzRoy integration Documentation Status Maintainability Test Coverage Contributor Covenant PyPI version

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


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.4.tar.gz (13.5 kB view hashes)

Uploaded Source

Built Distribution

candystore-0.3.4-py3-none-any.whl (18.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page