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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: init-python-project-0.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 32ea915867169d4bb8e0e855ff472366fb13e19dd7616198d303c4b4a51625ea
MD5 3fae047cfc0f578e27bcb23f1f2cca86
BLAKE2b-256 b79b68e58515de8c80807d032c0b60198c3b5b63cf7975770a8fc4441f472071

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for init_python_project-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6362a87ed20dec41c4b3495773b9570f582d352dea49a861658abaaa41bef1c3
MD5 50260845397f8749828d96d18f196850
BLAKE2b-256 8154af9602533d02e2210c351fb8e09da5bb156d897f24f51b342eb6a17f7417

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