Skip to main content

A python project generator.

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.4.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

init_python_project-0.0.4-py3-none-any.whl (2.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: init-python-project-0.0.4.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • 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.4.tar.gz
Algorithm Hash digest
SHA256 d5946e0a6341df4fefbea83398a058205166e5be66f8fdf4c8d88c2892e815b2
MD5 58aefad504d695642097115f6f2036cf
BLAKE2b-256 4c90854eb944a94e23ec4efa0380974dc1a762d92d6301514e9ebe7ed97be016

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for init_python_project-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b0986b674d6b59ffdae46125caf7a11c62825f20749d93874b47d54ef0a65fa0
MD5 07fda3c96f6df7c5ae4a85df6dabc1a9
BLAKE2b-256 e3e13a142fc7e5b433fb568f7923fe19133684573a7580df8ea18e601964dcbb

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