This is Saritasa's template for open source projects.
We use copier tool for managing our boilerplate. Read this documentation to understand how it works.
Example:
git clone git@github.com:saritasa-nest/open-source-project && cd open-source-project
uvx copier copy git@github.com:saritasa-nest/saritasa-python-boilerplate-open-source.git . --vcs-ref main --trust --overwriteuvx copier update --vcs-ref main --skip-answered --trust --skip-tasks --data {question}={answer}Note: the --data flag is used to update the answer for a template question.
It expects template variable names (keys) in key=value form (for example, --data python_version=3.14).
When you use --data, Copier will update all related files.
You can use this flag multiple times in the same command to update multiple answers at once.
Set up dev environment.
uv sync
inv pre-commit.installTo check if boilerplate is working
inv test.create-from-templateTo check if boilerplate is working, and you can init project without errors
inv test.create-and-init-templateTo check if boilerplate is working, and you can init project without errors and also commit without doing any extra work
inv test.create-and-init-and-commitOr if you're using VSCode you can use this shortcut
SHIFT + CTRL + B or ⇧ + ⌘ + B