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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for candystore-0.3.4.tar.gz
Algorithm Hash digest
SHA256 d6c50d0182e23e02a4a45c290a5cb78bff21096cc9a2899955959be7a1bc511a
MD5 e15df3e7285cd889cd0cbac3c51ba0fc
BLAKE2b-256 df139d580a96a94cb369f557f18438dc8d7a44547240259e5236fcfc923c79be

See more details on using hashes here.

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

Hashes for candystore-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 16edfcde8d8b9260ed83a66679cb55bf27dae4ad6a2624d251cac620af32548a
MD5 f9d43e087dabe6b651957049d9dbcd9a
BLAKE2b-256 bd792173319234751a378feba7d78c70959692dd21395c8e1cb9af887b7c69ed

See more details on using hashes here.

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