Skip to content

guenterfischer/python-app-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-app-template

Template for a Python Application built with Typer and Poetry

Developer Guide

Installation

# Open the virtualenv
poetry shell

# Build and install the tool
poetry install

# Check if the tool has been installed
which pyapp

Testing

# Run all tests that matches ./tests/test_*.py
poetry run pytest

Deployment

# Create wheel
poetry build

User Guide

Installation

# Install previously built package on any machine with...
sudo pip install ./dist/python-app-template-0.1.0-py3-none-any.whl

Once the tool is installed, autocompletion can be enabled as follows:

pyapp --install-completion

. ~/.bashrc

About

Template for a Python Application built with Typer and Poetry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages