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 - AnthonyBloomer/python-cli-template: A starting point for building Python Command Line Applications.

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
tests
tests
 
 
MANIFEST.in
MANIFEST.in
 
 
README.md
README.md
 
 
README.rst
README.rst
 
 
requirements.txt
requirements.txt
 
 
runner.py
runner.py
 
 
setup.py
setup.py
 
 

Repository files navigation

python-cli-template

A starting point for building Python Command Line Applications.

About

This project serves as a starting point to developing command line modules with Python. It is structured in such a way that when we call the module it executes the main method in app/cli.py. This is typically where you would want to add your own logic.

The setup.py file includes some advanced patterns and best practices for setup.py, as well as some commented–out nice–to–haves. For example, it provides a python setup.py upload command, which creates a universal wheel (and sdist) and uploads your package to PyPi using Twine. It also creates/uploads a new git tag, automatically.

Setup

virtualenv env
source env/bin/activate
pip install -r requirements.txt
python -m app --help

Packaging

Update setup.py with your details and then run python setup.py upload to package for distribution on PyPi.

Contributing

  • Fork the project and clone locally.
  • Create a new branch for what you're going to work on.
  • Push to your origin repository.
  • Create a new pull request in GitHub.

About

A starting point for building Python Command Line Applications.

Topics

boilerplateclipypipython

Resources

Readme
Activity

Stars

42 stars

Watchers

1 watching

Forks

13 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

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.