mtga-helper


Namemtga-helper JSON
Version 0.1.1 PyPI version JSON
download
home_pageNone
SummaryCLI application to parse log files from MTGA and analyse them using 17lands data
upload_time2025-08-02 21:28:15
maintainerNone
docs_urlNone
authorNone
requires_python>=3.0
licenseNone
keywords 17lands game limited mtg mtga tcg
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # python-mtga-helper

CLI application to parse log files from MTGA and analyse them using [17lands](http://17lands.com) data.
The card grading is implemented according to [limited-grades](https://github.com/youssefm/limited-grades).

Currently, only sealed pool analysis is implemented.

## Installation

### PyPI
```commandline
pip install mtga-helper
```

### Arch Linux User Repository
```commandline
yay -S python-mtga-helper-git
```

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

## Usage
```commandline
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.png](https://raw.githubusercontent.com/lubosz/python-mtga-helper/main/doc/screenshot_color_pair_pool.png)
![screenshot_color_pair_ranks.png](https://raw.githubusercontent.com/lubosz/python-mtga-helper/main/doc/screenshot_color_pair_ranks.png)
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "mtga-helper",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.0",
    "maintainer_email": "Lubosz Sarnecki <lubosz@gmail.com>",
    "keywords": "17lands, game, limited, mtg, mtga, tcg",
    "author": null,
    "author_email": "Lubosz Sarnecki <lubosz@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/34/3c/0e67da85572bd9134e74d4067d95f4478876d7c95c31dcd40154162e9b3f/mtga_helper-0.1.1.tar.gz",
    "platform": null,
    "description": "# python-mtga-helper\n\nCLI application to parse log files from MTGA and analyse them using [17lands](http://17lands.com) data.\nThe card grading is implemented according to [limited-grades](https://github.com/youssefm/limited-grades).\n\nCurrently, only sealed pool analysis is implemented.\n\n## Installation\n\n### PyPI\n```commandline\npip install mtga-helper\n```\n\n### Arch Linux User Repository\n```commandline\nyay -S python-mtga-helper-git\n```\n\n### From source\n```commandline\ngit clone https://github.com/lubosz/python-mtga-helper.git\ncd python-mtga-helper\nvirtualenv .env\n. .env/bin/activate\npip install .\n```\n\n## Usage\n```commandline\nusage: mtga-helper [-h] [-l LOG_PATH] [--land-count LAND_COUNT]\n                   [--print-top-pairs PRINT_TOP_PAIRS] [-v]\n                   [-d {PremierDraft,TradDraft,Sealed,TradSealed}]\n\nAnalyse MTGA log for sealed pools with 17lands data.\n\noptions:\n  -h, --help            show this help message and exit\n  -l, --log-path LOG_PATH\n                        Custom Player.log path (default: None)\n  --land-count LAND_COUNT\n                        Target Land count (default: 17)\n  --print-top-pairs PRINT_TOP_PAIRS\n                        Top color pairs to print (default: 3)\n  -v, --verbose         Log some intermediate steps (default: False)\n  -d, --data-set {PremierDraft,TradDraft,Sealed,TradSealed}\n                        Use specific 17lands format data set (default: PremierDraft)\n```\n\nDetailed game logs need to be enabled in\n`Options -> Account -> Detailed Logs (Plugin Support)`.\n\n## Screenshots\n\n![screenshot_color_pair_pool.png](https://raw.githubusercontent.com/lubosz/python-mtga-helper/main/doc/screenshot_color_pair_pool.png)\n![screenshot_color_pair_ranks.png](https://raw.githubusercontent.com/lubosz/python-mtga-helper/main/doc/screenshot_color_pair_ranks.png)",
    "bugtrack_url": null,
    "license": null,
    "summary": "CLI application to parse log files from MTGA and analyse them using 17lands data",
    "version": "0.1.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/lubosz/python-mtga-helper/issues",
        "Homepage": "https://github.com/lubosz/python-mtga-helper"
    },
    "split_keywords": [
        "17lands",
        " game",
        " limited",
        " mtg",
        " mtga",
        " tcg"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "8950375965b76cb0a48e6b285fd606cfae3c2e6be5a5cc17495f9c483e09d6dc",
                "md5": "7960d9bbad355a1869ce51bf7aa1edb7",
                "sha256": "95d93475633cab6f78d5897e86daa0afd3630a1fc881ddbb196ed0d7564f2065"
            },
            "downloads": -1,
            "filename": "mtga_helper-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7960d9bbad355a1869ce51bf7aa1edb7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.0",
            "size": 11036,
            "upload_time": "2025-08-02T21:28:13",
            "upload_time_iso_8601": "2025-08-02T21:28:13.754932Z",
            "url": "https://files.pythonhosted.org/packages/89/50/375965b76cb0a48e6b285fd606cfae3c2e6be5a5cc17495f9c483e09d6dc/mtga_helper-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "343c0e67da85572bd9134e74d4067d95f4478876d7c95c31dcd40154162e9b3f",
                "md5": "c75ac38dfd1475566ec714f7c0ae173b",
                "sha256": "3246d9d3873e7686ae9da3850704d2457e6f22b15b1c6f38731859c41ed4d425"
            },
            "downloads": -1,
            "filename": "mtga_helper-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "c75ac38dfd1475566ec714f7c0ae173b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.0",
            "size": 182426,
            "upload_time": "2025-08-02T21:28:15",
            "upload_time_iso_8601": "2025-08-02T21:28:15.257835Z",
            "url": "https://files.pythonhosted.org/packages/34/3c/0e67da85572bd9134e74d4067d95f4478876d7c95c31dcd40154162e9b3f/mtga_helper-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-02 21:28:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "lubosz",
    "github_project": "python-mtga-helper",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "mtga-helper"
}
        
Elapsed time: 0.47723s