A project template for Python projects. Inspired by xinntao/ProjectTemplate-Python.
- Poetry to manage dependencies.
- autopep8, isort, pylint and pre-commit for automatic code style check.
- pytest for unit tests.
- poethepoet for custom command-line tasks.
- Licensed under MIT license.
Notice: .vscode directory can be removed if Visual Studio Code is not used in development.
- Create a repository using this template.
- Edit project settings in
pyproject.toml. - Edit license information in
LICENSE. - Add your own
README.md
Project files are located in src directory. Coding style is automatically kept using pre-commit. Related configuration are stored in pyproject.toml.
Add test scripts to tests directory. Each script should start with test_.
Execute poetry run pytest to perform unit test.