Skip to content

Cookiecutter template for a Python package with pipenv, Ruff and pre-commit.

License

Notifications You must be signed in to change notification settings

Debakel/python-cookiecutter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍪 Python Cookie Cutter

Cookiecutter template for a Python package.

Features

Quickstart

Install the latest Cookiecutter if you haven't installed it yet (this requires Cookiecutter 1.4.0 or higher):

pip install -U cookiecutter

Generate a Python package project:

cookiecutter gh:Debakel/python-cookiecutter

Or, with pipx installed:

pipx run cookiecutter gh:Debakel/python-cookiecutter

Then:

# Enter project directory
cd <repo_name>

# Initialise git repo
git init

# Install dependencies
pipenv install --dev

# Setup pre-commit and pre-push hooks
pipenv run pre-commit install

About

Cookiecutter template for a Python package with pipenv, Ruff and pre-commit.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 61.8%
  • Dockerfile 38.2%