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 - ginolatorilla/python3-template: A Python project template for building PIP packages

BranchesTags
Open more actions menu

Latest commit

 

History

45 Commits
45 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
src/yourproject
src/yourproject
 
 
tests
tests
 
 
.flake8
.flake8
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
bootstrap.py
bootstrap.py
 
 
pyproject.toml.template
pyproject.toml.template
 
 
yourproject.py
yourproject.py
 
 

Repository files navigation

Gino's Python project template

GitHub Workflow Status GitHub Workflow Status

A Python3 project template with pipenv to hande dependencies.

Inspired by Kenneth Reitz's project template.

Features

  • Support for Python 3.8 and greater
  • Support for Linux and MacOS
  • GitHub workflow templates
  • Linting with flake8 and mypy
  • Formatting with yapf
  • Test-driven development with PyTest, with mocking and code coverage support

Requirements

  • Python 3.8 or better

Quick Start

python3 ./bootstrap.py --project your_new_project_name

The bootstrapping script will create your new project's root directory. Follow all of the TODOs embedded in the newly-created files:

  • All *.py files.
  • pyproject.toml

Consider changing the project licence with yours, and adjust the licencing metadata in setup.cfg.

This project can be installed to your system or virtual environments via pip install . or ./setup.py install. To know more, see the setuptools documentation.

Finally, take ownership of this template project and replace this README!

Maintaining this Project

./bootstrap --dev
source .venv/bin/activate

You may then continue working in the files local to this project.

If you are going to update pyproject.toml, make sure to reflect those changes in pyproject.toml.template.

About

A Python project template for building PIP packages

Topics

pipproject-templatepycodestylepyproject-tomlpytestpythonpython-3python3setuptoolstemplatetemplate-projectvirtualenvyapf

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

0 watching

Forks

2 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.