mirror of
https://github.com/correl/mtgsqlive.git
synced 2024-11-24 19:19:53 +00:00
99d6c40d4c
* initial pass * Improve speeds, fix rulings Signed-off-by: Zach Halpern <ZaHalpern+github@gmail.com> * tox Signed-off-by: Zach Halpern <ZaHalpern+github@gmail.com> * Readme, main, and updates Signed-off-by: Zach Halpern <ZaHalpern+github@gmail.com> * fixes to params Signed-off-by: Zach Halpern <ZaHalpern+github@gmail.com> * alpha Signed-off-by: Zach Halpern <ZaHalpern+github@gmail.com> * Add tokens Signed-off-by: Zach Halpern <ZaHalpern+github@gmail.com>
39 lines
1.7 KiB
Markdown
39 lines
1.7 KiB
Markdown
# [**MTGSQLive**](https://mtgjson.com/)
|
|
|
|
# Connect With Us
|
|
Discord via [![Discord](https://img.shields.io/discord/224178957103136779.svg)](https://discord.gg/74GUQDE)
|
|
|
|
Gitter via [![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/mtgjson/mtgjson4)
|
|
|
|
|
|
### 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*](https://magic.wizards.com/) cards, specifically in [JSON](https://json.org/) and [SQLite](https://www.sqlite.org/index.html) format.
|
|
|
|
You can find our documentation with all properties [here](https://mtgjson.com/docs.html).
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
# How To Use
|
|
|
|
>**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/).
|
|
|
|
This system was built using *Python 3.7*, so we can only guarantee proper functionality with this version.
|
|
|
|
|
|
|
|
```sh
|
|
# 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
|
|
|
|
```
|