GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - remarkablemark/python-cli-template: 🐍 Python CLI template

BranchesTags
Open more actions menu

Latest commit

 

History

231 Commits
231 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
src/python_cli_template
src/python_cli_template
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

python-cli-template

PyPI version codecov lint

🐍 Python CLI Template

Quick Start

Greet a name:

pipx run python-cli-template --name world

Prerequisites

  • Python
  • pipx or uv

CLI

Install with pipx:

pipx install python-cli-template

Or install with uv:

uv tool install python-cli-template

--name

Optional: Name to greet. Defaults to World.

python-cli-template --name Alex

--version

Show the program's version number and exit:

python-cli-template --version # python-cli-template -v

Show the help message and exit:

python-cli-template --help # python-cli-template -h

Script

Install the package:

uv add python-cli-template

Greet a name:

# script.py
from python_cli_template import hello

print(hello("Bob"))

Run the script:

uv run script.py

License

MIT

About

🐍 Python CLI template

remarkablemark.org/python-cli-template/

Topics

clipackagepythonpython-clipython-packagepython-package-templatepython3template

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

Generated from remarkablemark/python-package-template
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.