Skip to main content

A scaffoling tool for python packages

Project description

A very simple scaffold for constructing python packages


  • run pip install python-git-package


This package can be used for scaffolding new packages. The command pgp init creates a new package in the current folder. The command pgp release creates a new release. The command pgp doc builds the docs using sphinx.

The package layout is as follows:

 |-- .git
 |-- doc
 |    |--source
 |        |-- _static
 |        |-- _templates
 |        |--
 |        |-- index.rst
 |        |-- mypackage.rst
 |-- examples
 |-- mypackage
 |    |--
 |    |--
 |    |--
 |-- tests
 |    |--
 |    |--
 |-- .gitignore
 |-- README.rst

All files are populated with basic content so the notorious task of manually creating```or `` is taken out of the users task.

Furthermore, the init command initializes a git repository with two branches, master and dev in the package folder. The master branch is intended for published releases only. It should allwats point to the latest release. The dev branch is used for develloping the package. To ease the process of creating a new release

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-git-package, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size python-git-package-0.3.1.tar.gz (57.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page