{ "info": { "author": "Toomas Ormisson", "author_email": "contact@verypythonproblems.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "============\nFPL Exporter\n============\n\n\n.. image:: https://img.shields.io/pypi/v/fpl_exporter.svg\n :target: https://pypi.python.org/pypi/fpl_exporter\n\n.. image:: https://img.shields.io/travis/P6rguvyrst/fpl_exporter.svg\n :target: https://travis-ci.org/P6rguvyrst/fpl_exporter\n\n.. image:: https://readthedocs.org/projects/fpl-exporter/badge/?version=latest\n :target: https://fpl-exporter.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n\n.. image:: https://pyup.io/repos/github/P6rguvyrst/fpl_exporter/shield.svg\n :target: https://pyup.io/repos/github/P6rguvyrst/fpl_exporter/\n :alt: Updates\n\n\n\nPrometheus Exporter for Fantasy Premier League.\n\n\n* Free software: Apache Software License 2.0\n* Documentation: https://fpl-exporter.readthedocs.io.\n\nInstallation & Upgrade\n----------------------\n\nhelm upgrade fpl-exporter charts/incubator/prometheus-exporter --namespace exporter -f values.yaml --install\n\n\n\nInternal Metrics\n----------------\n\n+--------------------------------------------+---------------------------------------------------+\n| Metric | Description |\n+============================================+===================================================+\n| prometheus_exporter_fpl_work_time | Time spemnt processing API response data |\n+--------------------------------------------+---------------------------------------------------+\n| prometheus_exporter_fpl_api_response_time | API response time |\n+--------------------------------------------+---------------------------------------------------+\n\n\nGeneric Metrics\n---------------\n\n+--------------------------------------------+---------------------------------------------------+\n| Metric | Description |\n+============================================+===================================================+\n| fpl_players_total | Number of FPL players |\n+--------------------------------------------+---------------------------------------------------+\n| fpl_assets_total | Number of Premier League assets (players) |\n+--------------------------------------------+---------------------------------------------------+\n\n\nTeam Metrics\n------------\n\n+--------------------------------------------+---------------------------------------------------+\n| Metric | Description |\n+============================================+===================================================+\n| fpl_team_availability | Team availability, current gameweek |\n+--------------------------------------------+---------------------------------------------------+\n| fpl_team_strength_attack_home | Team offensive strength on home games |\n+--------------------------------------------+---------------------------------------------------+\n| fpl_team_strength_attack_away | Team offensive strength on away games |\n+--------------------------------------------+---------------------------------------------------+\n| fpl_team_strength_defence_home | Team defensive strength on home games |\n+--------------------------------------------+---------------------------------------------------+\n| fpl_team_strength_defence_away | Team defensive strength on away games |\n+--------------------------------------------+---------------------------------------------------+\n| fpl_team_strength_overal_home | Team overall strength on home games |\n+--------------------------------------------+---------------------------------------------------+\n| fpl_team_strength_overal_away | Team overall strength on away games |\n+--------------------------------------------+---------------------------------------------------+\n| fpl_team_strength | Team strength |\n+--------------------------------------------+---------------------------------------------------+\n| fpl_team_table_position | Team position in Premier League table |\n+--------------------------------------------+---------------------------------------------------+\n| fpl_team_table_points | Team points accumulated in Premier League table |\n+--------------------------------------------+---------------------------------------------------+\n| fpl_team_games_played | Games played |\n+--------------------------------------------+---------------------------------------------------+\n| fpl_team_games_won | Ganes won |\n+--------------------------------------------+---------------------------------------------------+\n| fpl_team_games_lost | Games lost |\n+--------------------------------------------+---------------------------------------------------+\n| fpl_team_games_drawn | Games drawn |\n+--------------------------------------------+---------------------------------------------------+\n\nAsset Metrics\n-------------\n\n+--------------------------------------------+---------------------------------------------------+\n| Metric | Description |\n+============================================+===================================================+\n| fpl_asset_ict_index | Asset ICT Index | \n+--------------------------------------------+---------------------------------------------------+\n| fpl_asset_influence | Asset Influence | \n+--------------------------------------------+---------------------------------------------------+\n| fpl_asset_creatifity | Asset Creativity | \n+--------------------------------------------+---------------------------------------------------+\n| fpl_asset_threat | Asset Threat | \n+--------------------------------------------+---------------------------------------------------+\n| fpl_asset_selected_by_percent | Asset Selected by people (percentage) |\n+--------------------------------------------+---------------------------------------------------+\n| fpl_asset_form | Asset Form |\n+--------------------------------------------+---------------------------------------------------+\n| fpl_asset_bonus | Asset Bonus |\n+--------------------------------------------+---------------------------------------------------+\n| fpl_asset_bps | Asset Bonus Point Scores |\n+--------------------------------------------+---------------------------------------------------+\n\n\n\n**NB! There's more metrics instrumented, but since I haven't yet found use for them and don't want to overload exporter with useless functionality. Defined metrics can be found at fpl_exporter/metrics.py.**\n\n\nFeatures\n--------\n\n * HELP: fpl-exporter --help\n * DEBUG MODE: fpl-exporter -vd -p bootstrap-static\n\n\nEndpoints\n---------\nhttps://fantasy.premierleague.com/api/entry/{teamId}/history\nhttps://fantasy.premierleague.com/api/entry/{teamId}\n\nhttps://fantasy.premierleague.com/api/fixtures\nhttps://fantasy.premierleague.com/api/bootstrap-static\nhttp://fantasy.premierleague.com/api/element-summary/{playerId}\n\nhttp://fantasy.premierleague.com/api/leagues-classic-standings/{leagueId}\nhttp://fantasy.premierleague.com/api/leagues-h2h-standings/{leagueId}\n\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n=======\nHistory\n=======\n\n0.0.1 (2019-07-16)\n------------------\n\n* First release on PyPI.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/P6rguvyrst/FPLExporter", "keywords": "fpl_exporter fpl premierleague fantasypremierleague prometheus exporter", "license": "Apache Software License 2.0", "maintainer": "", "maintainer_email": "", "name": "fpl-exporter", "package_url": "https://pypi.org/project/fpl-exporter/", "platform": "", "project_url": "https://pypi.org/project/fpl-exporter/", "project_urls": { "Homepage": "https://github.com/P6rguvyrst/FPLExporter" }, "release_url": "https://pypi.org/project/fpl-exporter/0.1.5/", "requires_dist": [ "Click (>=6.0)", "requests", "prometheus-client", "responses" ], "requires_python": "", "summary": "Prometheus Exporter for Fantasy Premier League.", "version": "0.1.5" }, "last_serial": 5569126, "releases": { "0.1.4": [ { "comment_text": "", "digests": { "md5": "e56e4b69a847bbe5ecfb66c45f0ff609", "sha256": "396aacfac6cb4576b2a502de5d388893c34d4cbbc763d03cd53ca47fd0730d1e" }, "downloads": -1, "filename": "fpl_exporter-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e56e4b69a847bbe5ecfb66c45f0ff609", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7958, "upload_time": "2019-07-22T21:00:53", "url": "https://files.pythonhosted.org/packages/f6/df/ac70cf830be1f50b5ac1b2dd7892ad34840020f178f764810975972f9f5d/fpl_exporter-0.1.4-py2.py3-none-any.whl" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "4b0ba2328c6f175b711e38383abca527", "sha256": "84547e3615b8775611e8d31e79e9d9e290b9e181bd23607b2275b607ac66b8e6" }, "downloads": -1, "filename": "fpl_exporter-0.1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4b0ba2328c6f175b711e38383abca527", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7971, "upload_time": "2019-07-22T21:07:53", "url": "https://files.pythonhosted.org/packages/04/de/b6bf88ae32c848002ff2d1dbc7424d6ca2beddec1d8d270b83cbf7ab1ab5/fpl_exporter-0.1.5-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4b0ba2328c6f175b711e38383abca527", "sha256": "84547e3615b8775611e8d31e79e9d9e290b9e181bd23607b2275b607ac66b8e6" }, "downloads": -1, "filename": "fpl_exporter-0.1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4b0ba2328c6f175b711e38383abca527", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7971, "upload_time": "2019-07-22T21:07:53", "url": "https://files.pythonhosted.org/packages/04/de/b6bf88ae32c848002ff2d1dbc7424d6ca2beddec1d8d270b83cbf7ab1ab5/fpl_exporter-0.1.5-py2.py3-none-any.whl" } ] }