Spaces:
Running
Running
Merge pull request #1 from alecrem/add-readme
Browse files- README.md +25 -0
- middleschool-cardlist.ipynb +7 -0
README.md
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# middleschool-cardlist
|
2 |
+
|
3 |
+
Composes a list of Magic cards legal in the Middle School format
|
4 |
+
|
5 |
+
## The process: the Jupyter notebook
|
6 |
+
|
7 |
+
Feel free to take a look at [the notebook](https://github.com/alecrem/middleschool-cardlist/blob/main/middleschool-cardlist.ipynb)
|
8 |
+
|
9 |
+
### Requirements to run the notebook
|
10 |
+
|
11 |
+
Command line utilities:
|
12 |
+
|
13 |
+
- [wget](https://www.gnu.org/software/wget/)
|
14 |
+
- [bzip2](https://sourceware.org/bzip2/)
|
15 |
+
- [jq](https://stedolan.github.io/jq/)
|
16 |
+
|
17 |
+
Python modules:
|
18 |
+
|
19 |
+
- json
|
20 |
+
- pandas
|
21 |
+
|
22 |
+
## The result: output files
|
23 |
+
|
24 |
+
- [middleschool.json ](https://github.com/alecrem/middleschool-cardlist/blob/main/output/middleschool.json)
|
25 |
+
- [middleschool.csv](https://github.com/alecrem/middleschool-cardlist/blob/main/output/middleschool.csv)
|
middleschool-cardlist.ipynb
CHANGED
@@ -206,6 +206,13 @@
|
|
206 |
"middleschool_df.to_csv('output/middleschool.csv')\n",
|
207 |
"middleschool_df.to_json('output/middleschool.json')\n"
|
208 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
}
|
210 |
],
|
211 |
"metadata": {
|
|
|
206 |
"middleschool_df.to_csv('output/middleschool.csv')\n",
|
207 |
"middleschool_df.to_json('output/middleschool.json')\n"
|
208 |
]
|
209 |
+
},
|
210 |
+
{
|
211 |
+
"cell_type": "markdown",
|
212 |
+
"metadata": {},
|
213 |
+
"source": [
|
214 |
+
"Feel free to delete everything in the `data` directory after you are done"
|
215 |
+
]
|
216 |
}
|
217 |
],
|
218 |
"metadata": {
|