Skip to content

hsteinshiromoto/template.py

 
 

Repository files navigation

DOI Build Status GitHub tag (latest SemVer) LICENSE

Python Project Template

This is a cookiecutter template for a typical Python project following modern packaging conventions.

Table of Contents

Features

  • Poetry for dependency management
  • Docker for development.
  • Github actions for CI.
  • VSCode as IDE.

Usage

Install cookiecutter using

$ pip install cookiecutter

and generate a project:

$ cookiecutter gh:hsteinshiromoto/template.py -f

Cookiecutter will ask you for some basic info (your name, project name, python package name, etc.) and generate a base Python project for you.

Adding CI files

To add CI files to your project, run the following command:

$ make ci

Create repository structure for a machine learning project

To create a repository structure for a machine learning project, run the following command:

$ make structure r=machine_learning

About

A template for new Python projects with containerization.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Python 44.5%
  • Makefile 21.5%
  • Shell 20.7%
  • Dockerfile 13.3%