Home

Awesome

Cookiecutter PyPackage

image image

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:giswqs/pypackage

Then:

Video Tutorials

1. Creating a Python package with Cookiecutter Template

2. Publishing Python packages on PyPI

3. Deploying Python packages to PyPI using GitHub Actions

4. Introduction to Python package file structure

Not Exactly What You Want?

Don't worry, you have options:

Similar Cookiecutter Templates

Fork This / Create Your Own

If you have differences in your preferred setup, I encourage you to fork this to create your own version. Or create your own; it doesn't strictly have to be a fork.

Or Submit a Pull Request

I also accept pull requests on this, if they're small, atomic, and if they make my own packaging experience better.