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.2.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pandas_fpl-0.3.2-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pandas-fpl-0.3.2.tar.gz
  • Upload date:
  • Size: 5.8 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.2.tar.gz
Algorithm Hash digest
SHA256 6366e31e40304fd3b55b82e100ca82714d0e7bbff5323c328b2bc2b436ff1c2f
MD5 6ef2c312d1ef00696c843f67a2862996
BLAKE2b-256 0ccb31d21bd62666afb94248c5a8118af736fedf4b993a13fc37152d62424131

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pandas_fpl-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 6.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b54fd25b7e132d0b54fbcbecfea22584d0158fc15478eb30ae6f1b48438d1a04
MD5 dc4a7be7906fa7b9999eddcfbfac448c
BLAKE2b-256 6dab8a7fdcb73c63fbf1ec669a58425aaad9259531a086afa7f1f04ccaeab37b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page