Base python cli project
Project description
python-cli-base
python project for building cli applications
Just fork or copy this repo to start your own python cli application.
- https://pypi.org/project/python-cli-base/
- PyPI Package upload guide: https://packaging.python.org/en/latest/tutorials/packaging-projects/
commands
install packages
python -m pip install --upgrade build
pip install twine
build & upload
python -m build
- package upload
- test pypi:
python -m twine upload --repository testpypi dist/*
- live pypi:
python -m twine upload dist/*
- test pypi:
install built package & pcb commands
pip install python-cli-base
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.
pcb --version
pcb 0.0.1
pcb -c zxc -c2 asd
(Checkpython_cli_base/__init__.py
)
check: zxc
check2: asd
{'check': 'zxc', 'check2': 'asd', 'check3': None}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python_cli_base-0.0.2.tar.gz
(3.6 kB
view details)
Built Distribution
File details
Details for the file python_cli_base-0.0.2.tar.gz
.
File metadata
- Download URL: python_cli_base-0.0.2.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
212be00cccf5dfe63077ede8ddbd30ed6b2a57c722f47dc1d4e1523b3ccff822
|
|
MD5 |
6ddf5ce94f549cd99ab0d004e6e10c1f
|
|
BLAKE2b-256 |
bb064525e5905b4c0715810e437bbed5bc2279f9e64645a2fdd4b6e88417eea1
|
File details
Details for the file python_cli_base-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: python_cli_base-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a6c610b32ae03be93827f47955aefe5ed5030eef9fb5870f09a9ed867a5e7278
|
|
MD5 |
1532a4f40e964f18c8d216d171e1e9c5
|
|
BLAKE2b-256 |
d69a921d6e34cc7c5013556ab78ddd088d807e356e9dc70442cc3ece8e2a4bcf
|