/python_project_boilerplate.py

My boilerplate for python projects

Primary LanguagePythonThe UnlicenseUnlicense

{{cookiecutter.package_name}}.py Unlicensed work

wheel (GitLab) wheel (GHA via nightly.link) GitLab Build Status GitLab Coverage GitHub Actions N∅ hard dependencies Libraries.io Status Code style: antiflash

This repo is intended to be used as a GitHub template repo.

You can apply it without involving cookiecutter (which has grave security issues) using the following bash script (fill in it with your data)

find ./ -maxdepth 1 -type f \( -name "*.md" -o -name "*.yml" -o -name "*.cfg" -o -name "*.toml" \) -exec sed -i 's/{{cookiecutter.author}}/KOLANICH/g; s/{{cookiecutter.vcs_hosting_namespace}}/KOLANICH-libs/g; s/{{cookiecutter.package_name}}/{{cookiecutter.package_name}}/g;' {} \;
sed -i 's/{{cookiecutter.package_name}}/{{cookiecutter.package_name}}/g;' ./tests/tests.py;

If you need a cookiecutter-based solution, here it is: https://github.com/KOLANICH/python_project_boilerplate_cookiecutter , but it doesn't work currently because of defects in cookiecutter.