MTGJSON build scripts to generate alternative data formats
Find a file
Antony Derham 2c2e51ddd3
Add Postgres support (#67)
* Add Postgres support

- Add engine switch to command
- Add support for Postgres schema syntax
- Leverage Postgres enum types
- Leverage Postgres array types

* Formatting, types, cleanup
2021-01-17 01:41:45 -05:00
mtgsqlive Add Postgres support (#67) 2021-01-17 01:41:45 -05:00
.gitignore Add CSV support (#33) 2019-10-27 19:06:09 -04: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 Fix #63 2020-08-16 23:45:01 -04:00
requirements.txt Add CSV support (#33) 2019-10-27 19:06:09 -04:00
requirements_test.txt MTGJSONv4 Support (#10) 2019-01-17 17:04:42 -05:00
setup.py Update setup.py 2020-04-22 17:32:36 -04: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/AllPrintings.json -o /path/to/output.sqlite