Python project Template
This is a template repository for python projects.
To get started:
- Create a repository on GitHub using this template.
- Setup commitizen workflow for version and changelog generation
- Setup zensical workflow for documentation hosting
- Setup renovate for dependency updates
- Setup PyPI publishing workflow for package distribution
- Enable nix devshells for development environment setup with
nix develop - Enable pre-commit with
prek install - Reset versioning for your project by running the following script:
#!/usr/bin/env bash
# Reset repository versioning to 0.0.0
# Clear changelog
echo "" > CHANGELOG.md
# Update version in pyproject.toml
sed -i 's/^version = "[^"]*"/version = "0.0.0"/' pyproject.toml
# Update version in commitizen version_files
sed -i 's/__version__ = "[^"]*"/__version__ = "0.0.0"/' src/minizen_template/__init__.py