Installation

You can install mightstone from PyPI using pip:

pip install mightstone

or through Poetry:

poetry add mightstone

Features

  • Mightstone use Pydantic, Beanie and Asyncio as core feature.

  • Integrated persistence support through Beanie of many data classes. Download once, and use data offline.

  • Synchronous support is provided by universalasync learn more in Async and Sync API section

  • HTTP cache integration

  • Supported services:

  • A ColorPie generator

  • A robust Color identity Map

  • A comprehensive rules API

Plans

  • Support:
    • magicthegathering.io

    • 17lands

    • draftsim

    • MTGGoldfish

    • MtgTo8

  • An API to handle core concepts such as Abilities, ManaCost, Colors and Color Identity.

  • I also hope to provide tools for pandas integration

Indices and tables

Acknowledgments

Mightstone is inspired by mtgtools, by Esko-Kalervo Salaka

Mightstone logo is derived from Peter Venters original art edited by WOTC in Antiquities extension.

Some static data are extracted from third part tools or websites:

All the graphical and literal information and data related to Magic: The Gathering which can be handled with this software, such as card information and card images, is copyright © of Wizards of the Coast LLC, a Hasbro inc. subsidiary. This software is in no way endorsed or promoted by Scryfall, magicthegathering.io or Wizards of the Coast. This software is free and is created for the purpose of creating new Magic: The Gathering content and software, and just for fun.