Skip to main content

Creating a template Python package with a CLI interface.

Project description

PythonStarter

Auto-generate starter template of python3 and create env

Install

 pip install py-starter-auto-template

Usage

To create a project base template with bump2version managing versioning

  pyinit -m create <project_name> 

In your project folder, it will create

  package_name/
  |-- src/
  |   |-- __init__.py
  |-- tests/
  |   |-- test_placeholder.py
  |-- .bumpversion.cfg
  |-- .gitattributes
  |-- .girigore
  |-- MANIFEST.in
  |-- pytest.ini
  |-- setup.py

To create github/workflows

  pyinit -m create <project_name> -i ci 

It will create

.github/
  |-- workflows/
  |   |-- <project_name>_ci.yml

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

py_starter_auto_template-0.0.2.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

py_starter_auto_template-0.0.2-py3-none-any.whl (8.0 kB view hashes)

Uploaded Python 3

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