Thank you for your interest in contributing to this Python project template!
- Adding new features or tools to the template structure
- Updating dependencies and configurations
- Improving documentation and examples
- Enhancing CI/CD workflows
- Improving the
replace_template_vars.pyscript - Adding new template variables
- Better error handling and user experience
- Cross-platform compatibility improvements
- Improving the README and usage instructions
- Adding examples and tutorials
- Documenting best practices
- Fork and Clone: Fork this repository and clone your fork locally
- Create Branch: Create a feature branch for your changes
- Make Changes:
- For template changes: modify files in the
template/directory - For script changes: modify
replace_template_vars.pyorsetup_template.bat
- For template changes: modify files in the
- Test: Test your changes by creating a new project from the template
- Submit PR: Submit a pull request with a clear description of your changes
To test template changes:
# Create a test project
python replace_template_vars.py --output-dir test-project
# Verify the generated project works
cd test-project
poetry install --with dev,lint,test,docs
poetry run pytest- Keep the
template/directory focused on project template files - Administrative files should stay in the root directory
- Use template variables (e.g.,
{{package_name}}) for customizable content - Follow Python packaging best practices
- Maintain compatibility with modern Python versions (3.9+)
- Follow PEP 8 for Python code
- Use meaningful variable names and comments
- Test your changes thoroughly
Feel free to open an issue if you have questions about contributing!