Skip to main content

Pandas wrapper for Fantasy Premier League API based on the FPL package:

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.


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 install


For usage guidance and testing the package interactively, hit the Usage Jupyter Notebook.


For the code documentation, please visit the Documentation Github Pages.


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

Uploaded source

Built Distribution

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

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page