Skip to content

Commit

Permalink
Put note about my fork in README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
pak21 committed Aug 29, 2020
1 parent 4a3ee18 commit 0cf7c8a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
# Python MTGA

## pak21 fork

If you're reading this, it means you obtained this package from [pak21's fork](https://github.com/pak21/python-mtga)
of the [original](https://github.com/mtgatracker/python-mtga). This
fork has potentially breaking changes, please do not file any issues
found with this fork on the original.

## Introduction

MTGA tools & set data for python. Original cardset generated with MTGJSON and scryfall,
with initial set of MTGA grpId's collected by Fugi & Spencatro.
(Now we just use the data already present in your MTGA installation.)
Expand All @@ -22,4 +32,4 @@ Because I always forget:
python setup.py sdist bdist_wheel
twine check dist/* # check for readme issues (e.g. line endings MUST BE LF, not CRLF lol)
twine upload dist/MTGA-<version>*
```
```
6 changes: 6 additions & 0 deletions source/allcards.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env python3

import mtga

all_styles = [set(card.styles) for card in mtga.all_mtga_cards.cards]
print(set().union(*all_styles))
Binary file removed source/mtga/set_data/.__init__.py.swp
Binary file not shown.

0 comments on commit 0cf7c8a

Please sign in to comment.