Skip to main content

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

Release files for mtga-helper 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mtga-helper 0.2.1
File Size Uploaded
mtga_helper-0.2.1.tar.gz 242.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mtga-helper 0.2.1
File Interpreter ABI Platform
mtga_helper-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 255.2 kB

Release files / mtga_helper-0.2.1.tar.gz

Download URL mtga_helper-0.2.1.tar.gz
Size 242.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bccd62694fca7955f2c99c9cd78f6919705ebebb0f4b1d61fa6493ac9bc0db77
BLAKE2b-256 checksum
How to use checksums
fa4ac242bd3af3d1c82e0b690887872f4e67419b8cbeea8d26578ae87b564692
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / mtga_helper-0.2.1-py3-none-any.whl

Download URL mtga_helper-0.2.1-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23132047b354a9d7dc02d5276ec2caa86fe7f1ae21f6c275bc2fb1992c136ebc
BLAKE2b-256 checksum
How to use checksums
ab2f9671a5396bdd121dd53ffdab55111933114dd854cbff58c372c2228a426d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page