2019-01-17 22:00:27 +00:00
# [**MTGSQLive**](https://mtgjson.com/)
2019-01-17 16:38:30 +00:00
2019-01-17 22:00:27 +00:00
# Connect With Us
Discord via [![Discord ](https://img.shields.io/discord/224178957103136779.svg )](https://discord.gg/74GUQDE)
2019-01-17 16:38:30 +00:00
2019-01-17 22:00:27 +00:00
Gitter via [![Gitter ](https://img.shields.io/gitter/room/nwjs/nw.js.svg )](https://gitter.im/mtgjson/mtgjson4)
2019-01-17 16:38:30 +00:00
### Goals
2019-01-17 22:00:27 +00: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 16:38:30 +00:00
2019-01-17 22:00:27 +00:00
# About Us
2019-01-17 16:38:30 +00:00
2019-01-17 22:00:27 +00: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 16:38:30 +00:00
2019-01-17 22:00:27 +00:00
You can find our documentation with all properties [here ](https://mtgjson.com/docs.html ).
2019-01-17 16:38:30 +00:00
2019-01-17 22:00:27 +00: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 16:38:30 +00:00
2019-01-17 22:00:27 +00: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 16:38:30 +00:00
2019-01-17 22:00:27 +00:00
# How To Use
2019-01-17 16:38:30 +00:00
2019-01-17 22:00:27 +00: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 16:38:30 +00:00
2019-01-17 22:00:27 +00:00
This system was built using *Python 3.7* , so we can only guarantee proper functionality with this version.
2019-01-17 16:38:30 +00:00
2019-01-17 22:00:27 +00:00
```sh
# Install dependencies
$ pip3 install -r requirements.txt
2019-01-17 16:38:30 +00:00
2019-01-17 22:00:27 +00:00
# usage: mtgsqlive [-h] -i file -o file
2020-07-06 20:03:58 +00:00
$ python3 -m mtgsqlive -i /path/to/AllPrintings.json -o /path/to/output.sqlite
2019-01-17 16:38:30 +00:00
2019-01-17 22:00:27 +00:00
```