Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.36 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.36 KB

MTGSQLive

A project to ETL MTGJSON data into multiple other consumer formats

Connect With Us

Discord via Discord

About Us

MTGJSON and MTGSQLive are open sourced database creation and distribution tool for Magic: The Gathering cards.

You can find our documentation with all properties here.

To provide feedback or to report a bug, please open a ticket.

If you would like to join or assist the development of the project, you can join us on Discord to discuss things further.

Usage

$ pip install -r requirements.txt

$ python3 -m mtgsqlive [--args]

options:
  -h, --help            show this help message and exit
  -i INPUT_FILE, --input-file INPUT_FILE
                        Path to MTGJSON AllPrintings.json
  -o OUTPUT_DIR, --output-dir OUTPUT_DIR
                        Where to place translated files

Converters:
  --all                 Run all ETL operations
  --csv                 Compile CSV AllPrinting files
  --mysql               Compile AllPrintings.sql
  --parquet             Compile Parquet AllPrinting files
  --postgresql          Compile AllPrintings.psql
  --sqlite              Compile AllPrintings.sqlite