Python projects take a long time to setup with all the various files, the virtual environment, and keeping things uniform across projects. With this Python template, you can quickly setup boilerplate code and miscellaneous items for your Python project saving you time and energy so you can get back to coding.
Click the Use this template
button at the top of this project's GitHub page, it looks like this:
Easy text replacements
- Replace all instances of
project_name
with the name of your project- These are the Python snake_case references (eg:
project_name
)
- These are the Python snake_case references (eg:
- Replace all instances of
PROJECT_NAME_URL
with the name of your project- These are the references to your project that will appear in URLs and are typically hyphenated (eg:
project-name
)
- These are the references to your project that will appear in URLs and are typically hyphenated (eg:
- Replace all instances of
USERNAME
with the name of the author or owner of the project- These are references typically found in the URL of your project as it appears on GitHub
File configuration
- Configure the
setup.py
file - Configure the
Makefile
targets - Update the name in the
LICENSE
or swap it out entirely - Configure the
.github/workflows/build.yml
file - Update the
CHANGELOG.md
with your own info - Rename other files/folders as needed and configure their content
- Delete this
README
and renameREADME_project.md
toREADME.md
GitHub configuration
- Add a
PYPI_API_TOKEN
GitHub secret to your project so that automated releasing can occur from GitHub Actions to PyPI and uncomment the final step on therelease
job in.github/workflows/release.yml
- Watch the video where I built this template.