Cookiecutter

Теги: templating 

Документация

Проекты - шаблонизаторы

CookieTemple

  • Dependency Management
  • 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
  • Security
    • Bandit for scanning vulnerabilities
  • Other stuff

CookieCutter Poetry

  • Dependency Management
  • Documentation
    • MkDocs with Material Theme
    • ❌ No Darglint
  • Testing
    • [pytest]
    • [tox] for cross platform testing
    • ❌ No Codecoverage
  • [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
  • Security
    • ❌ No sign of Bandit here
  • Other stuff

Wolt Python Package Cookiecutter

  • Dependency Management
  • 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
    • [pytest]
    • ❌ No sign of [tox] or Nox
    • Codecoverage.yml for managing coverage
  • [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
  • 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
    • [pytest]
    • No need for nox or [tox] in this one as they are manually testing it on each OS using the matrix strategy
    • Codecoverage.yml for managing coverage
  • [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
  • Security
    • ❌ No sign of Bandit
  • Other stuff

source

Смотри еще: