All Projects → mtgatracker → python-mtga

mtgatracker / python-mtga

Licence: MIT license
MTGA set data & tooling for python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to python-mtga

mtga-utils
Magic the Gathering: Arena related stuff (Card collection export)
Stars: ✭ 47 (+161.11%)
Mutual labels:  magic-the-gathering, mtg-arena
Scrython
A python wrapper for the Scryfall API
Stars: ✭ 87 (+383.33%)
Mutual labels:  magic-the-gathering
Docker Mtgo
Docker image with ready-to-play MTGO (Magic Online) for Linux and macOS
Stars: ✭ 275 (+1427.78%)
Mutual labels:  magic-the-gathering
Uicard
Generic UI for card games like Hearthstone, Magic Arena and Slay the Spire...
Stars: ✭ 142 (+688.89%)
Mutual labels:  magic-the-gathering
Mtgjson3
MTGJSON repository for Magic Cards
Stars: ✭ 538 (+2888.89%)
Mutual labels:  magic-the-gathering
Mtgjson
MTGJSON build scripts for Magic: the Gathering
Stars: ✭ 191 (+961.11%)
Mutual labels:  magic-the-gathering
Tutor
JavaScript interface for the Gatherer card database
Stars: ✭ 152 (+744.44%)
Mutual labels:  magic-the-gathering
Mage
Magic Another Game Engine
Stars: ✭ 1,180 (+6455.56%)
Mutual labels:  magic-the-gathering
Whatsinstandard
a Magic: The Gathering format reference
Stars: ✭ 121 (+572.22%)
Mutual labels:  magic-the-gathering
Wagic
Wagic the Homebrew
Stars: ✭ 242 (+1244.44%)
Mutual labels:  magic-the-gathering
Manamoji Slack
Slack emojis for Magic card symbols. Used by Scryfall’s Slack bot.
Stars: ✭ 16 (-11.11%)
Mutual labels:  magic-the-gathering
Cockatrice
A cross-platform virtual tabletop for multiplayer card games
Stars: ✭ 1,053 (+5750%)
Mutual labels:  magic-the-gathering
Mtg Familiar
An Android app for all things Magic: The Gathering
Stars: ✭ 231 (+1183.33%)
Mutual labels:  magic-the-gathering
Mtg Arena Tool
An MTG Arena deck and statistics manager
Stars: ✭ 327 (+1716.67%)
Mutual labels:  magic-the-gathering
mtgjson-website
MTGJSON Documentation Front-End Application built with Vuepress 1
Stars: ✭ 29 (+61.11%)
Mutual labels:  magic-the-gathering
Keyrune
Magic: the Gathering set symbol pictographic font
Stars: ✭ 272 (+1411.11%)
Mutual labels:  magic-the-gathering
mtgtools
collection of tools for easy handling of Magic: The Gathering data on your computer
Stars: ✭ 35 (+94.44%)
Mutual labels:  magic-the-gathering
Swiftfall
Wrapper for Scryfall API written in Swift
Stars: ✭ 21 (+16.67%)
Mutual labels:  magic-the-gathering
tts-deckconverter
Generate card decks for Tabletop Simulator.
Stars: ✭ 27 (+50%)
Mutual labels:  magic-the-gathering
Mtgatracker
MTGATracker is a deck tracker for MTG Arena, offering an in-game overlay that shows real time info about your deck in MTGA. It can also record & analyze your past matches to show personal aggregated gameplay history information, like lifetime wins/losses by deck, by event, etc.
Stars: ✭ 232 (+1188.89%)
Mutual labels:  magic-the-gathering

Python MTGA

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.)

Installation

pip install mtga or python setup.py install

Usage

from mtga.set_data import all_mtga_cards
print(all_mtga_cards.find_one("Mangara"))
# <Card: 'Mangara, the Diplomat' ['White'] M21 71809>
print(all_mtga_cards.find_one(71809))
# <Card: 'Mangara, the Diplomat' ['White'] M21 71809>
print(all_mtga_cards.find_one("71809"))
# <Card: 'Mangara, the Diplomat' ['White'] M21 71809>

Deploying

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>*
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].