Pandas wrapper for Fantasy Premier League API
The FPLPandas class in this package uses the excellent FPL library to retrieve data from the Fantasy Premier League API. It maps the results to the pandas data frames so that the data can be analysed interactively, e.g. in a Jupyter notebook.
FPL library is an asynchronous wrapper for the Fantasy Premier League API But the Jupyter notebook work better with synchronous code, the methods exposed by the FPLPandas class are synchronous.
Installation
Using pip
You can install using the pip package manager by running
pip install pandas-fpl
From source
Download the source code by cloning the repository or by pressing Download ZIP on this page. Install by navigating to the proper directory and running
python setup.py install
Usage
For usage guidance and testing the package interactively, hit the Usage Jupyter Notebook.
Documentation
For the code documentation, please visit the Documentation Github Pages.
Contributing
- Fork the repository on GitHub.
- Run the tests with
python -m pytest tests/to confirm they all pass on your system. If the tests fail, then try and find out why this is happening. If you aren't able to do this yourself, then don't hesitate to either create an issue on GitHub, contact me on Discord or send an email to py@177arc.net. - Either create your feature and then write tests for it, or do this the other way around.
- Run all tests again with with
python -m pytest tests/to confirm that everything still passes, including your newly added test(s). - Create a pull request for the main repository's
masterbranch.
Metadata
Release files for pandas-fpl 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pandas-fpl-0.3.4.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pandas_fpl-0.3.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.2 kB
Release files / pandas-fpl-0.3.4.tar.gz
| Download URL | pandas-fpl-0.3.4.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e1c2db8aaddc402613133975a0a48640aa87ec65aea5a89dbc908b48490f98b
|
|
BLAKE2b-256 checksum How to use checksums |
43f798515d109bf7725ee4a95e1f9117a156d718ce1c06678c17cfe6c3c815aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8
|
Release files / pandas_fpl-0.3.4-py3-none-any.whl
| Download URL | pandas_fpl-0.3.4-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5599ea4fd78bc39ca3ab98084686b226e4a8bb2c07ff079af03c2aeb1176b1a7
|
|
BLAKE2b-256 checksum How to use checksums |
0114c15288ed4dc3811e7dc60063add5d4fd9472aa404d9fa3c1e32af8417343
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8
|