Skip to main content

Add your description here

Project description

FPG CLI

PyPI version License Python

A command-line interface for the Fantasy Premier Game (FPG). Quickly check rounds, make choices, and view standings — all from your terminal.

Features

  • Get the current round and season
  • View available team choices
  • Submit or update your weekly choices
  • Fetch standings, points, and player info
  • Prettified output with Rich tables & colors
  • Installable via pip or uv

Installation

From PyPI:

pip install fpg-cli

Or with uv:

uv tool install fpg-cli

Usage

Show commands:

fpg --help

Examples:

# Get current round
fpg current-round --player-id 6

# See available choices
fpg available-choices --player-id 6 --season 2025

Sample output:

Available Choices for Player 6 (Season 2025)
────────────────────────────────────────────
#   Team
1   Manchester United
2   Newcastle
3   Bournemouth
…
20  Sunderland

Development

git clone https://github.com/yourusername/fpg-cli.git
cd fpg-cli
uv pip install -e .

Roadmap

  • Interactive team selection (arrow-key menu)
  • Store default player ID and season in a config file
  • Authentication (Firebase JWT)
  • Publish to PyPI with versioning
  • CI/CD release pipeline (GitHub Actions)

License

This project is licensed under the MIT License.

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

fpg_cli-0.2.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

fpg_cli-0.2.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file fpg_cli-0.2.0.tar.gz.

File metadata

  • Download URL: fpg_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for fpg_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6b87f36557eb8c91d657e4ac8e56f115af56aeff4947f57978423da215e29a50
MD5 a2ad243242096c40d106069fee6a34e0
BLAKE2b-256 18aceefd13c0058bba0595ca59e024dc22a10cbac978b59f97b24b94097dfb77

See more details on using hashes here.

File details

Details for the file fpg_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: fpg_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for fpg_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d589516ea3f8fa81ea8159ebdac37c86c55f7153e4898310d8b2d39035fc0ca2
MD5 6e0c68c9e6f3dde676b9920cf6e724b9
BLAKE2b-256 11217bc0d1db4aba02ac5f985b2905c3b1b176bbe315e59714b96c4c93b93144

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