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://github.com/amosbastian/fpl.git
You can also install a .tar file or .zip file
curl -OL https://github.com/amosbastian/fpl/tarball/master
curl -OL https://github.com/amosbastian/fpl/zipball/master # Windows
Once it has been downloaded you can easily install it using pip:
cd fpl
pip install .
Contributing
- Fork the repository on GitHub.
- Create a
credentials.cfgfile with your FPL login and password (see example). - 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 amosbastian@gmail.com. - Either create your feature and then write tests for it, or do this the other way around.
- Run all tests again with with
pytest tests/to confirm that everything still passes, including your newly added test(s). - Create a pull request for the main repository's
masterbranch.
For more information on how to contribute to fpl see the contributing guide.
Documentation
Documentation and examples for fpl can be found at http://fpl.readthedocs.io/en/latest/.
Release files for fpl 0.6.35
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fpl-0.6.35.tar.gz | 31.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fpl-0.6.35-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 70.6 kB
Release files / fpl-0.6.35.tar.gz
| Download URL | fpl-0.6.35.tar.gz |
|---|---|
| Size | 31.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
174a6ba7fa0cd17e4eecfb704b0779a4c5eceabb44b3243d87ac7a0113433009
|
|
BLAKE2b-256 checksum How to use checksums |
60680431497f936a9f7b6767e4a95214e2e19fa2e80518af6cd7b6dc0883bc8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / fpl-0.6.35-py2.py3-none-any.whl
| Download URL | fpl-0.6.35-py2.py3-none-any.whl |
|---|---|
| Size | 38.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
190b558f57f46883d99549ea6e5d10a62e4ddf4a72ab1694a557f52e565d59e2
|
|
BLAKE2b-256 checksum How to use checksums |
0d6488c2bfbe54c9020255e030b513fab6714435aacc0a2f0d2e49c3febd54a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|