• Stars
    star
    372
  • Rank 114,858 (Top 3 %)
  • Language
    Python
  • License
    MIT License
  • Created over 2 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A modern cookiecutter template for Python projects that use Poetry for dependency management


Release Build status Supported Python versions Docs License

This is a modern Cookiecutter template that can be used to initiate a Python project with all the necessary tools for development, testing, and deployment. It supports the following features:


Documentation - Example - PyPi


Quickstart

On your local machine, navigate to the directory in which you want to create a project directory, and run the following two commands:

pip install cookiecutter-poetry 
ccp

Alternatively, install cookiecutter and directly pass the URL to this Github repository to the cookiecutter command:

pip install cookiecutter
cookiecutter https://github.com/fpgmaas/cookiecutter-poetry.git

Create a repository on GitHub, and then run the following commands, replacing <project-name>, with the name that you gave the Github repository and <github_author_handle> with your Github username.

cd <project_name>
git init -b main
git add .
git commit -m "Init commit"
git remote add origin [email protected]:<github_author_handle>/<project_name>.git
git push -u origin main

Finally, install the environment and the pre-commit hooks with

make install

You are now ready to start development on your project! The CI/CD pipeline will be triggered when you open a pull request, merge to main, or when you create a new release.

To finalize the set-up for publishing to PyPi or Artifactory, see here. For activating the automatic documentation with MkDocs, see here. To enable the code coverage reports, see here.

Acknowledgements

This project is partially based on Audrey Feldroy's's great cookiecutter-pypackage repository.

More Repositories

1

deptry

Find unused, missing and transitive dependencies in a Python project.
Python
895
star
2

cookiecutter-uv

A modern cookiecutter template for Python projects that use uv for dependency management
Python
279
star
3

ckit

A command line utility to help you organise and quickly run frequently used commands.
Python
65
star
4

simple-homepage

command line utility that helps you create a personal homepage for your browser.
Python
65
star
5

pypi-scout

Find Python Packages on PyPI with the help of vector embeddings
Python
41
star
6

cookiecutter-poetry-example

An example of a project generated with cookiecutter-poetry.
Makefile
14
star
7

stream-iot

An end-to-end workflow for processing streaming data on Azure.
Python
10
star
8

cookiecutter-pdm

A modern cookiecutter template for Python projects that use PDM for dependency management
Python
8
star
9

aws-cdk-py-docker-lambdas

A repository that contains code to deploy multiple lambdas with one single Docker image using AWS CDK
TypeScript
7
star
10

rotterdam-marathon

Some R code that webscrapes the results of the 2018 Rotterdam marathon and visualizes it by means of a timelapse.
R
6
star
11

poems

Code that analyzes the poetry by /u/poem_for_your_sprog on Reddit. The result is available at https://fpgmaas.com.
Jupyter Notebook
5
star
12

sporthive-api-scraper

Python code to scrape results from Sporthive events
Python
3
star
13

ckit-files

This repository contains configuration files that can be used to get you started with ckit.
3
star
14

map-nl

A Python package to help you quickly create PC4 maps of the Netherlands.
Python
3
star
15

cookiecutter-uv-example

An example of a project generated with cookiecutter-uv
Makefile
2
star
16

cloudrun-example-infra

Example Terraform project used in the blogpost 'Deploying a Flask API to Google Cloud Run using Terraform'
HCL
2
star
17

azure-terraform-github-actions

HCL
2
star
18

cloudrun-example-api

An example API used in the blogpost 'Deploying a Flask API to Google Cloud Run using Terraform'
Dockerfile
2
star
19

fpgmaas.com

My personal website. Developed in Gatsby.
JavaScript
2
star
20

databricks-sdk-example

Python
1
star
21

deptry-benchmark

Python
1
star
22

squadsub

Python code that helps you optimize your substitution strategy during a match
Python
1
star
23

timelapse

Use your RaspberryPi in combination with a webcam to create a timelapse.
Python
1
star
24

azure-airflow-kubernetes

Example code to deploy Kubernetes and Airflow on Azure
HCL
1
star