TODO
- Python 3.11+
- NiceGUI for web interface
- Poetry for dependency management
- RoSys framework
- Copier for template configuration (from nicegui-template)
- create a virtual environment and activate it:
virtualenv .venv # or without virtualenv:
python -m venv .venv
source .venv/bin/activate # to activate your virtual environment- install dependencies:
poetry install --with dev,test- start your project:
poetry run ./main.py- run your tests:
poetry run pytestTo update your project configuration from the nicegui-template, run:
copier update --skip-answeredThis will prompt you to review and update your template settings interactively.
pre-commit is a tool to help you manage and run pre-commit hooks in your code. It is used to check your code for e.g. extra whitespace or formatting errors before committing it. Install the pre-commit hooks by running:
pre-commit installYou can also run the hooks manually by running:
pre-commit run --all-files