Skip to content

AnnikaCodes/PyKMN

Repository files navigation

PyKMN

Cross-Platform Build Lint & Test codecov

Python bindings for libpkmn.

For usage information, check out the documentation or the examples.

Development

First, install dependencies:

python3 -m pip install ruff mypy build coverage cffi requests types-cffi types-requests types-setuptools

Then, you can build and install PyKMN:

python3 -m build 
python3 -m pip install --find-links=dist pykmn

Alternatively, a shell script is provided to make this simpler — just run ./build.sh python3 once you've installed dependencies.

You can lint and test with

ruff check . # lint
mypy . # check types
python3 -m unittest discover tests # run unit tests

Releases

No releases published

Packages

No packages published