This is just a Damaku Engine written in PySide6
-
Prepare poetry
See https://python-poetry.org/docs/#installation for more info.
-
Install project
Run
poetry installin this repository -
Build wheel
Run
poetry buildin this repository, you will find artifacts indistfolder -
Install wheel
Run
python -m installer dist/*.whlin this repository to install it. -
Run the program
Run
qdamakuenginein your terminal and everything should be fine. -
Run from source
After finishing step 2, run
poetry run qdamakuenginein this repository instead building, installing and running.
Simply connect to the socket and send json string like this:
{
"text": "sample-damaku"
}And you should received the response like this:
{
"result": 0,
"message": "Success to record damaku"
}When there is something wrong, you need to check result code and message for detailed info.
Run poetry install --with=dev to install pytest and its plugins, then run poetry run pytest.
Running poetry run pytest --cov=qdamakuengine to get test coverage report.