File size: 1,045 Bytes
b4a927d
 
 
dc7e666
b4a927d
 
7602e68
 
2992875
7602e68
253071e
 
 
 
 
 
 
7602e68
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9365532
 
 
 
2992875
9365532
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
sdk: streamlit
sdk_version: 1.25.0
app_file: "Middle_School_Card_Search.py"
---

# middleschool-cardlist

Composes a list of Magic cards legal in the Middle School format

## List of Middle School legal cards

You can download the list in the following formats:

- [JSON](output/middleschool.json)
- [CSV](output/middleschool.csv)

## The process: the Jupyter notebook

Feel free to take a look at [the notebook](https://github.com/alecrem/middleschool-cardlist/blob/main/middleschool-cardlist.ipynb)

### Requirements to run the notebook

Command line utilities:

- [wget](https://www.gnu.org/software/wget/)
- [bzip2](https://sourceware.org/bzip2/)
- [jq](https://stedolan.github.io/jq/)

Python modules:

- json
- pandas
- requests_html

## Streamlit web interface

The app is deployed here: [middleschoolmtg.streamlit.app](https://middleschoolmtg.streamlit.app/)

To run the Streamlit app locally, install the [streamlit](https://docs.streamlit.io/library/get-started) module and run:

```sh
streamlit run Middle_School_Card_List.py
```