Skip to main content

A python project generator based on copier.

Project description

Python Project Template

PyPI - Version

A customizable template for new Python projects to get you up and running with current best practices faster.

Features

  • Each project has a README and CHANGELOG file and includes further documentation based on Material for MkDocs or Sphinx.
  • Testing and continuous integration tooling are included from the very beginning
  • Projects use pre-commit for sanity checks on each commit or push
  • Projects use bumpversion to increase their version according to semantic versioning guidelines
  • Python projects are installable by default and provide a simple command-line interface

Everything comes pre-configured with sensible defaults so you can focus on your implementation and let the template handle the rest.

See the sample project to see how projects generated from this template using default values look like.

Getting Started

Prerequisites

  • Python3.11 or newer

Installation

pip install init-python-project

Note: If you have pipx installed (you should, it is good), you can skip this step and instead run it directly using pipx run init-python-project

Usage

init-python-project <name of project>

User Guide

The first part of the user guide consists of tutorials on how to answer the template questions for Your First Project, what Next Steps there are after your project is created and why the Project Structure looks like it does.

The second part of the user guide explains how best practices, like testing, documentation, and continuous integration, are implemented in this template.

Known Issues

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

init-python-project-0.0.2.tar.gz (44.4 kB view details)

Uploaded Source

Built Distribution

init_python_project-0.0.2-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file init-python-project-0.0.2.tar.gz.

File metadata

  • Download URL: init-python-project-0.0.2.tar.gz
  • Upload date:
  • Size: 44.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for init-python-project-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a5dee851db8b37db832c00e40cad03e6dcf3259bb54c3483db012a0727ba44dd
MD5 ad8356595b5fc7e70fedbef64e6b3867
BLAKE2b-256 3e0c67e36bf86b3153edb9ded19c01986733489366528446d96c408ea14131d0

See more details on using hashes here.

File details

Details for the file init_python_project-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for init_python_project-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5be7b685b6f38fe709cee842c4345f2edda618ddb88afb370f5a2c38316dde41
MD5 0a8b1f5b40c3e6bfa67cbb33c982457e
BLAKE2b-256 ac3b71fd2855d4e9cba2e74dc65ace7bb70a894afdaae47258b586f2cc67a1e1

See more details on using hashes here.

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