MTGJSON build scripts to generate alternative data formats
Find a file
Maciej Sumiński fb2674ff37 'Cards' table structure update to 4.4.2 + one bug fix (#19)
* Fix sqlite3.connect() parameter type

Function sqlite3.connect() expects a string, but output_file is a
PosixPath variable.

* Update 'cards' table structure to match version 4.4.2
2019-06-27 07:53:11 -04:00
mtgsqlive 'Cards' table structure update to 4.4.2 + one bug fix (#19) 2019-06-27 07:53:11 -04:00
.gitignore MTGJSONv4 Support (#10) 2019-01-17 17:04:42 -05:00
.pylintrc MTGJSONv4 Support (#10) 2019-01-17 17:04:42 -05:00
LICENSE License change approved. MTGJSON moving from GPLv3->MIT. 2019-06-22 23:59:05 -04:00
mypy.ini MTGJSONv4 Support (#10) 2019-01-17 17:04:42 -05:00
README.md MTGJSONv4 Support (#10) 2019-01-17 17:04:42 -05:00
requirements.txt MTGJSONv4 Support (#10) 2019-01-17 17:04:42 -05:00
requirements_test.txt MTGJSONv4 Support (#10) 2019-01-17 17:04:42 -05:00
setup.py MTGJSONv4 Support (#10) 2019-01-17 17:04:42 -05:00
tox.ini MTGJSONv4 Support (#10) 2019-01-17 17:04:42 -05:00

MTGSQLive

Connect With Us

Discord via Discord

Gitter via Gitter

Goals

The goals of this project are to extend the MTGJSONv4 protocols and give an option for pre-processed SQLite downloads. lly edit it to be correct. Once that is accomplished, we are then no longer dependent on them for card data, except for rullings.

About Us

MTGJSON and MTGSQlive are open sourced database creation and distribution tool for Magic: The Gathering cards, specifically in JSON and SQLite format.

You can find our documentation with all properties here.

To provide feedback and/or bug reports, please open a ticket as it is the best way for us to communicate with the public.

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

How To Use

Note: These are the build directions to compile your own SQLite file.
If you are looking for the pre-compiled SQLite file, you can download it from MTGJSON.com.

This system was built using Python 3.7, so we can only guarantee proper functionality with this version.

# Install dependencies
$ pip3 install -r requirements.txt 

# usage: mtgsqlive [-h] -i file -o file 
$ python3 -m mtgsqlive -i /path/to/AllSets.json -o /path/to/output.sqlite