Simple open source app to plug & play with your servo drive.
-
Clone the repository
git clone https://github.com/ingeniamc/k2-base-camp.git
cd k2-base-camp
-
Install dependencies
pipenv sync
-
Run the project
pipenv run python -m k2basecamp
pipenv sync -d
We have setup pre-commit hooks that run several tools to improve code quality. Installing the hooks (this will run the tools every time you attempt to make a commit)
pipenv run pre-commit install
You can also run the tools manually
pipenv run pre-commit run -a
One of the tools that we are using is linting the qml files. For this to work properly, we need to create some qml types from our python files
pipenv run pyside6-project build
Documentation added to the source code can be compiled into several output formats using sphinx
cd docs
pipenv run make clean
pipenv run make html
Run tests using pytest
pipenv run pytest src/tests
The project is licensed under the Creative Commons Public Licenses.