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 install
in this repository -
Build wheel
Run
poetry build
in this repository, you will find artifacts indist
folder -
Install wheel
Run
python -m installer dist/*.whl
in this repository to install it. -
Run the program
Run
qdamakuengine
in your terminal and everything should be fine. -
Run from source
After finishing step 2, run
poetry run qdamakuengine
in 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.