Skip to main content

python-cli-base

python project for building cli applications

Just fork or copy this repo to start your own python cli application.

  1. https://pypi.org/project/python-cli-base/
  2. PyPI Package upload guide: https://packaging.python.org/en/latest/tutorials/packaging-projects/

commands

install packages

  1. python -m pip install --upgrade build
  2. pip install twine

build & upload

  1. python -m build
  2. package upload
    1. test pypi: python -m twine upload --repository testpypi dist/*
    2. live pypi: python -m twine upload dist/*

install built package & pcb commands

  1. pip install python-cli-base
  2. pcb --help
Usage: pcb [OPTIONS] COMMAND [ARGS]...

Options:
  -c, --check TEXT    check1
  -c2, --check2 TEXT  check2
  -c3, --check3 TEXT  check3
  --version           Show the version and exit.
  --help              Show this message and exit.
  1. pcb --version
pcb 0.0.1
  1. pcb -c zxc -c2 asd (Check python_cli_base/__init__.py)
check: zxc
check2: asd
{'check': 'zxc', 'check2': 'asd', 'check3': None}

Release files for python-cli-base 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-cli-base 0.0.2
File Size Uploaded
python_cli_base-0.0.2.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-cli-base 0.0.2
File Interpreter ABI Platform
python_cli_base-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / python_cli_base-0.0.2.tar.gz

Download URL python_cli_base-0.0.2.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
212be00cccf5dfe63077ede8ddbd30ed6b2a57c722f47dc1d4e1523b3ccff822
BLAKE2b-256 checksum
How to use checksums
bb064525e5905b4c0715810e437bbed5bc2279f9e64645a2fdd4b6e88417eea1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.2

Release files / python_cli_base-0.0.2-py3-none-any.whl

Download URL python_cli_base-0.0.2-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a6c610b32ae03be93827f47955aefe5ed5030eef9fb5870f09a9ed867a5e7278
BLAKE2b-256 checksum
How to use checksums
d69a921d6e34cc7c5013556ab78ddd088d807e356e9dc70442cc3ece8e2a4bcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.2

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page