Cookiecutter python
Теги: templating
Проекты - шаблонизаторы
CookieTemple
- Dependency Management
- [poetry]
- Documentation
- Sphinx
- Darglint to manage documentation linting
- Testing
- [pytest]
- Nox for cross platform testing
- Codecoverage.yml for managing coverage
- [github]
- Pull request
- Feature request
- Bug
- [github-action]
- lint
- release
- testing
- publishing package on PyPi
- updating docs
- Dependabot dependency upgrades
- syncs the project with their template updates as well
- Has master branch protection enabled
- Uses Pre-commit to fix everything before you push to GitHub
- [makefile]
- Separate for Windows and Linux
- [docker] Dockerfile
- Very basic, uses alpine Python distribution
- Type checking
- [mypy]
- Security
- Bandit for scanning vulnerabilities
- Other stuff
- [flake8]
- black
- isort
CookieCutter Poetry
- Dependency Management
- [poetry]
- Documentation
- MkDocs with Material Theme
- ❌ No Darglint
- Testing
- [github]
- Pull request
- Feature request
- Bug
- [github-action]
- lint
- release
- testing
- publishing package on PyPi
- updating docs
- ❌ No Dependabot
- ❌ No master branch protection enabled
- ❌ Doesn’t have Pre-Commit
- [makefile]
- ❌ Not separate for Windows and Linux
- [docker] Dockerfile
- ✅ Much better Dockerfile than cookietemple above, highly optimized
- Type checking
- [mypy]
- Security
- ❌ No sign of Bandit here
- Other stuff
- [flake8]
- black
- isort
Wolt Python Package Cookiecutter
- Dependency Management
- [poetry]
- Documentation
- MkDocs Material (Both the above projects had a lot more into their documentation than this one)
- ❌ No Darglint
- ✅ This one has something both of the above ones dont. It is using python-kacl to automatically manage CHANGELOG
- Testing
- [github]
- Pull request
- ❌ No Feature request Template
- ❌ No Bug Template
- [github-action]
- lint
- release
- testing
- publishing package on PyPi
- updating docs
- ❌ No Dependabot for dependency upgrades. Manages them manually which I think is not a good idea.
- ❌ No master branch protection
- Uses Pre-commit to fix everything before you push to GitHub
- ❌ No Makefile
- ❌ No Dockerfile
- Type checking
- [mypy]
- Security
- ❌ No Bandit
- Other stuff
- [flake8]
- black
- isort
- Uses cruft to keep templates automatically upto date
Python Project Template By Rucha Bruno
- Dependency Management
- ✅ Uses setup tools by default but you can switch to [[puetry]] if you want
- Documentation
- MkDocs
- ❌ No sign of Darglint
- ✅ This one also manages CHANGELOG automatically using gitchangelog
- Testing
- [github]
- Pull request
- Feature request
- Bug
- ✅ Adds a funding page too
- [github-action]
- lint
- release
- testing
- publishing package on PyPi
- ❌ Coudnt find where docs are getting updated
- ❌ No sign of dependabot
- ❌ No master branch protection
- ❌ No sign of precommit
- [makefile]
- ❌ Not separate for Windows and Linux
- Containerfile
- Instead of a Dockerfile it uses the open standards Containerfile, very basic
- Type checking
- [mypy]
- Security
- ❌ No sign of Bandit
- Other stuff
- [flake8]
- black
- isort
Смотри еще: