Skip to main content

No project description provided

Project description

Cookiecutter template for new Python projects

PyPI PyPI - Python Version Build codecov GitHub stars

cookie-python

A template for new Python projects, with:

Poetry installation

Via pipx:

pip install pipx
pipx install poetry
pipx inject poetry poetry-dynamic-versioning poetry-pre-commit-plugin

Via pip:

pip install poetry
poetry self add poetry-dynamic-versioning poetry-pre-commit-plugin

New project creation

With cruft via script

poetry install
poetry run new-cookie <path>  # or poetry run cruft create

With cookiecutter directly

pip install cookiecutter
cookiecutter https://github.com/smkent/cookie-python

Development tasks

  • Setup: poetry install
  • Run static checks: poetry run poe lint or poetry run pre-commit run --all-files
  • Run static checks and tests: poetry run poe test
  • Update test expected output files from test results: poetry run poe updatetests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cookie_python-0.2.6.tar.gz (24.9 kB view hashes)

Uploaded Source

Built Distribution

cookie_python-0.2.6-py3-none-any.whl (31.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page