A library manage all things Magic The Gathering related in python
Project description
mightstone
Features
- 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.
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!
- 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.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mightstone-0.10.0.tar.gz
.
File metadata
- Download URL: mightstone-0.10.0.tar.gz
- Upload date:
- Size: 422.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5832da387e2d03e21e941ebc937412699175c7f2d2ae2f784f8237bd5ec17aa7 |
|
MD5 | b6f4e90102b2be50a50648553111a572 |
|
BLAKE2b-256 | 5f7ccf97f31027a05daccdbfaa3251a93fe82c7861568c2d6df7f54a02aa3def |
File details
Details for the file mightstone-0.10.0-py3-none-any.whl
.
File metadata
- Download URL: mightstone-0.10.0-py3-none-any.whl
- Upload date:
- Size: 437.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5e17fc47887737a06eda8ea6b2812bc09a59e1a3934c32f58fe4537b5b54292 |
|
MD5 | 1e8ffbecde590f596e1bef8c040a1246 |
|
BLAKE2b-256 | beb8fdfd48429865706fd35574d54f0ad17457619342699af732d1e1be53e37d |