pypipcker

Creates a minimal python package


Keywords
pip package template
License
MIT
Install
pip install pypipcker==0.2.2

Documentation

pypipcker

This small packages automates the creation of a minimal python pip package template. This creates a minimal package template that i find useful for my work, it is not designed with complexity in mind.

Features

  • Automatic cloning of the repository(Git must be installed on the machine).
  • Creation of the necessary files for pip packaging.
  • Setting the essential parameters for the setup files.

Installation

python -m pip install pypipcker

Quick Start

> python -m pypipcker -h
usage: python -m pypipcker [-h] [-d DESCRIPTION]
                           [-k [KEYWORDS [KEYWORDS ...]]] [-a AUTHOR]
                           [-e EMAIL] [-u URL] [-f FOLDER]
                           N

Create a minimal python package

positional arguments:
  N                     The name of the package

optional arguments:
  -h, --help            show this help message and exit
  -d DESCRIPTION, --description DESCRIPTION
                        Package description
  -k [KEYWORDS [KEYWORDS ...]], --keywords [KEYWORDS [KEYWORDS ...]]
                        keywords related to the package
  -a AUTHOR, --author AUTHOR
                        The author
  -e EMAIL, --email EMAIL
                        The email of the author
  -u URL, --url URL     Url of the git repository
  -f FOLDER, --folder FOLDER
                        Destination folder
  • The name of the package must be specified, all other options are optional.
  • If the URL to the Git repository is specified and git is installed, the repositoty will be cloned, necessary files and folders will be created inside the cloned repository folder.
  • If the destination folder is not specified, the current folder is used.