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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file py_starter_auto_template-0.0.2.tar.gz.

File metadata

File hashes

Hashes for py_starter_auto_template-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e74a85dc815501efb61e88ad9a4fdb99ad15c4eab674f5fecb5aa054522f196b
MD5 1fe838dd9c465dc6bd6cde300aecb850
BLAKE2b-256 5e5dbee93311c5663f0f3ae958723478841ccffc524221b6b4ddcf074fd410d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for py_starter_auto_template-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6e7acee70e3d577934784cabe8b3bd41358c8455356a3b2a4f41a88de534456b
MD5 908e744cf62cdeba2923c6438a024e8e
BLAKE2b-256 841535719cf3870df8fde7f7c40f1ab75ea5148633738cbed0cea6698ecec9fa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page