This is a template for a Python project.
- Uv for dependency management
- Ruff for linting and formatting
- Konflux CI tasks
- Secure
.gitignore
and.dockerignore
files - Example code and tests
-
Create a new blank repository on GitHub.
-
Clone your new repository to your local machine.
-
Run:
$ uvx cookiecutter http://github.com/app-sre/python-project-template [1/9] full_name (AppSRE): [2/9] email ([email protected]): [3/9] project_name (Project Name): [4/9] project_slug (project-name): [5/9] project_module (project_name): [6/9] project_short_description (Please enter a short description of your project): [7/9] Select deployment 1 - openshift 2 - pypi Choose from [1/2] (1): [8/9] version (0.1.0): [9/9] Select python_version 1 - 3.12 2 - 3.11 Choose from [1/2] (1):
-
Move all files and directories from the generated
{{ cookiecutter.project_slug }}
directory to the root of your repository. -
Review the generated files and commit them to your new repository.