Skip to main content

Pandas wrapper for Fantasy Premier League API based on the FPL package: https://github.com/amosbastian/fpl

Project description

PyPi Downloads PyPi Monthly Downloads PyPi Version Python 3.6 Binder

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

  1. Fork the repository on GitHub.
  2. 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.
  3. Either create your feature and then write tests for it, or do this the other way around.
  4. Run all tests again with with python -m pytest tests/ to confirm that everything still passes, including your newly added test(s).
  5. Create a pull request for the main repository's master branch.

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

pandas-fpl-0.3.4.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

pandas_fpl-0.3.4-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file pandas-fpl-0.3.4.tar.gz.

File metadata

  • Download URL: pandas-fpl-0.3.4.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pandas-fpl-0.3.4.tar.gz
Algorithm Hash digest
SHA256 1e1c2db8aaddc402613133975a0a48640aa87ec65aea5a89dbc908b48490f98b
MD5 10e5117237ea9831a4c2fbcbb909a907
BLAKE2b-256 43f798515d109bf7725ee4a95e1f9117a156d718ce1c06678c17cfe6c3c815aa

See more details on using hashes here.

File details

Details for the file pandas_fpl-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: pandas_fpl-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pandas_fpl-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5599ea4fd78bc39ca3ab98084686b226e4a8bb2c07ff079af03c2aeb1176b1a7
MD5 ca0b0d3bcb76ab8db19f736c9d79273a
BLAKE2b-256 0114c15288ed4dc3811e7dc60063add5d4fd9472aa404d9fa3c1e32af8417343

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