A library to manage all things Magic The Gathering related in python.
Explore the docs »
- Mightstone use
Pydantic
,Beanie
andAsyncio
as core feature. - Integrated persistence support through
Beanie
of many data classes. Download once, and use data offline. - HTTP cache integration
- Supported services:
Supported on python 3.9, 3.10, 3.11, and 3.12.
Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.
For more examples, please refer to the Documentation
Run make
for help
make install # Run `poetry install`
make lint # Runs bandit, black, mypy in check mode
make test # run pytest with coverage
make build # run `poetry build` to build source distribution and wheel
make pyinstaller # Create a binary executable using pyinstaller
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (git checkout -b feature/AmazingFeature)
- Commit your Changes (git commit -m 'Add some AmazingFeature')
- Push to the Branch (git push origin feature/AmazingFeature)
- Open a Pull Request
The project lint step will enforce coding standards through Black, Isort and Mypy.
As an asynchronous data handler, Mightstone must handle large JSON files that’s why it relies on IJSON. Mightstone use Ijson that relies on YAJL. IJson will use its python backend on the run if YAJL is not installed, but you could benefit from installing YAJL locally.