candystore-0.3.4
توضیحات
Factories for randomised AFL data sets for testing purposes
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | candystore-0.3.4 |
| نام | candystore |
| نسخه کتابخانه | 0.3.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Craig Franklin |
| ایمیل نویسنده | craigjfranklin@gmail.com |
| آدرس صفحه اصلی | https://github.com/tipresias/candystore |
| آدرس اینترنتی | https://pypi.org/project/candystore/ |
| مجوز | - |
# candystore

[](https://github.com/tipresias/candystore/actions/workflows/integration.yml)
[](https://candystore.readthedocs.io/en/latest/?badge=latest)
[](https://codeclimate.com/github/tipresias/candystore/maintainability)
[](https://codeclimate.com/github/tipresias/candystore/test_coverage)
[](code_of_conduct.md)
[](https://badge.fury.io/py/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](https://www.footywire.com/) and [AFLTables](https://afltables.com/afl/afl_index.html). The column names are converted to `snake_case` for convenience.
## Installation
```bash
pip3 install candystore
```
```python
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:
```bash
docker build -t candystore_tests .
```
- ```bash
pip3 install -r requirements.txt
```
- Run tests with the script file `./scripts/tests.sh`
نیازمندی
| مقدار | نام |
|---|---|
| - | numpy |
| - | pandas |
| - | faker |
| - | mypy |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl candystore-0.3.4:
pip install candystore-0.3.4.whl
نصب پکیج tar.gz candystore-0.3.4:
pip install candystore-0.3.4.tar.gz