Skip to content

dceoy/create-pypkg

Repository files navigation

create-pypkg

Python Package Scaffold Builder

Test CI to Docker Hub Release on PyPI

Installation

$ pip install -U create-pypkg

Docker image

The image is available at Docker Hub.

$ docker image pull dceoy/create-pypkg

Usage

  1. Create a new package.

    Replace newpackage below with your package's name.

    $ mkdir newpackage
    $ create-pypkg ./newpackage
  2. Test the command-line interface of the package. (optional)

    $ python -m venv venv
    $ source venv/bin/activate
    $ pip install -U ./newpackage
    $ newpackage --help
    $ newpackage --debug foo bar

Run create-pypkg --help for more information.