Skip to main content

A Python wrapper for the Fantasy Premier League API

Project description

A Python wrapper around the Fantasy Premier League API

Join the Discord server or submit an issue for help and / or suggestions!

Installing fpl

The recommended way to install fpl is via pip.

pip install fpl

To install it directly from GitHub you can do the following:

git clone git://

You can also install a .tar file or .zip file

curl -OL
curl -OL # Windows

Once it has been downloaded you can easily install it using pip:

cd fpl
pip install .


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

For more information on how to contribute to fpl see the contributing guide.


Documentation and examples for fpl can be found at

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

fpl-0.6.34.tar.gz (31.3 kB view hashes)

Uploaded source

Built Distribution

fpl-0.6.34-py2.py3-none-any.whl (38.4 kB view hashes)

Uploaded py2 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