2019-01-17 17:00:27 -05:00
# [**MTGSQLive**](https://mtgjson.com/)
2019-01-17 11:38:30 -05:00
2019-01-17 17:00:27 -05:00
# Connect With Us
Discord via [](https://discord.gg/74GUQDE)
2019-01-17 11:38:30 -05:00
2019-01-17 17:00:27 -05:00
Gitter via [](https://gitter.im/mtgjson/mtgjson4)
2019-01-17 11:38:30 -05:00
### Goals
2019-01-17 17:00:27 -05:00
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.
2019-01-17 11:38:30 -05:00
2019-01-17 17:00:27 -05:00
# About Us
2019-01-17 11:38:30 -05:00
2019-01-17 17:00:27 -05:00
MTGJSON and MTGSQlive are open sourced database creation and distribution tool for [*Magic: The Gathering* ](https://magic.wizards.com/ ) cards, specifically in [JSON ](https://json.org/ ) and [SQLite ](https://www.sqlite.org/index.html ) format.
2019-01-17 11:38:30 -05:00
2019-01-17 17:00:27 -05:00
You can find our documentation with all properties [here ](https://mtgjson.com/docs.html ).
2019-01-17 11:38:30 -05:00
2019-01-17 17:00:27 -05:00
To provide feedback and/or bug reports, please [open a ticket ](https://github.com/mtgjson/mtgsqlite/issues/new/ ) as it is the best way for us to communicate with the public.
2019-01-17 11:38:30 -05:00
2019-01-17 17:00:27 -05:00
If you would like to join or assist the development of the project, you can [join us on Discord ](https://discord.gg/Hgyg7GJ ) to discuss things further.
2019-01-17 11:38:30 -05:00
2019-01-17 17:00:27 -05:00
# How To Use
2019-01-17 11:38:30 -05:00
2019-01-17 17:00:27 -05:00
>**Note:** These are the build directions to compile your own SQLite file.< br >
>If you are looking for the pre-compiled SQLite file, you can download it from [MTGJSON.com ](https://mtgjson.com/ ).
2019-01-17 11:38:30 -05:00
2019-01-17 17:00:27 -05:00
This system was built using *Python 3.7* , so we can only guarantee proper functionality with this version.
2019-01-17 11:38:30 -05:00
2019-01-17 17:00:27 -05:00
```sh
# Install dependencies
$ pip3 install -r requirements.txt
2019-01-17 11:38:30 -05:00
2019-01-17 17:00:27 -05:00
# usage: mtgsqlive [-h] -i file -o file
$ python3 -m mtgsqlive -i /path/to/AllSets.json -o /path/to/output.sqlite
2019-01-17 11:38:30 -05:00
2019-01-17 17:00:27 -05:00
```