Skip to main content

CLI application to parse log files from MTGA and analyse them using 17lands data

Project description

python-mtga-helper

CLI application to parse log files from MTGA and analyse them using 17lands data. The card grading is implemented according to limited-grades.

The following features are implemented:

  • Pool analysis for Quick Draft, Premier Draft and Sealed
  • Pick analysis for Quick Draft and Premier Draft

Installation

PyPI

Install the PyPI package.

pip install mtga-helper

Arch Linux User Repository

Install the AUR package.

yay -S python-mtga-helper-git

From source

git clone https://github.com/lubosz/python-mtga-helper.git
cd python-mtga-helper
virtualenv .env
. .env/bin/activate
pip install .

Usage

usage: mtga-helper [-h] [-l LOG_PATH] [--land-count LAND_COUNT]
                   [--print-top-pairs PRINT_TOP_PAIRS] [-v]
                   [-d {PremierDraft,TradDraft,Sealed,TradSealed}]

Analyse MTGA log for sealed pools with 17lands data.

options:
  -h, --help            show this help message and exit
  -l, --log-path LOG_PATH
                        Custom Player.log path (default: None)
  --land-count LAND_COUNT
                        Target Land count (default: 17)
  --print-top-pairs PRINT_TOP_PAIRS
                        Top color pairs to print (default: 3)
  -v, --verbose         Log some intermediate steps (default: False)
  -d, --data-set {PremierDraft,TradDraft,Sealed,TradSealed}
                        Use specific 17lands format data set (default: PremierDraft)

Detailed game logs need to be enabled in Options -> Account -> Detailed Logs (Plugin Support).

Screenshots

screenshot color pair pool screenshot color pair ranks screenshot draft pick

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

mtga_helper-0.2.1.tar.gz (242.0 kB view details)

Uploaded Source

Built Distribution

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

mtga_helper-0.2.1-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file mtga_helper-0.2.1.tar.gz.

File metadata

  • Download URL: mtga_helper-0.2.1.tar.gz
  • Upload date:
  • Size: 242.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for mtga_helper-0.2.1.tar.gz
Algorithm Hash digest
SHA256 bccd62694fca7955f2c99c9cd78f6919705ebebb0f4b1d61fa6493ac9bc0db77
MD5 867fd468f8f16c4b80e0834c934067ca
BLAKE2b-256 fa4ac242bd3af3d1c82e0b690887872f4e67419b8cbeea8d26578ae87b564692

See more details on using hashes here.

File details

Details for the file mtga_helper-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: mtga_helper-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for mtga_helper-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 23132047b354a9d7dc02d5276ec2caa86fe7f1ae21f6c275bc2fb1992c136ebc
MD5 0e5eac3961cb095ea443ccd1425df81f
BLAKE2b-256 ab2f9671a5396bdd121dd53ffdab55111933114dd854cbff58c372c2228a426d

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