Skip to content

A python library to handle all sort of Magic The Gathering related stuffs

License

Notifications You must be signed in to change notification settings

Guibod/mightstone

Repository files navigation

mightstone

PyPi Documentation security: bandit OpenSSF Best Practices

Mightstone

Logo

A library to manage all things Magic The Gathering related in python.
Explore the docs »

Report Bug · Request Feature


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.
  • HTTP cache integration
  • Supported services:

Supported on python 3.9, 3.10, 3.11, and 3.12.


Usage

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


Developing

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

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

The project lint step will enforce coding standards through Black, Isort and Mypy.

System dependencies

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.

About

A python library to handle all sort of Magic The Gathering related stuffs

Resources

License

Stars

Watchers

Forks

Packages

No packages published