Skip to main content

Easily create new Python projects.

Project description

mkprj

A basic CLI tool to create bare-bones Python projects, the way I like them.

It will:

  • Create a project directory
  • Initialize git
  • Add a .gitignore
  • Create a virtualenv
  • Create a requirements.txt with the default requirements, or a comma-separate list specified with --requirements

Installation

pip install mkprj

Usage

usage: mkprj [-h] [--python PYTHON] [--overwrite] [--requirements REQUIREMENTS] project_path

positional arguments:
  project_path          Path to the project to create.

optional arguments:
  -h, --help            show this help message and exit
  --python PYTHON       Path to Python interpreter to use. Defaults to 'python3'.
  --overwrite           Overwrite existing project at specified directory.
  --requirements REQUIREMENTS
                        Comma-separated list of requirements to install.

Planned enhancements

  • A --docker flag to create a Dockerfile, plus build.sh and push.sh executable bash scripts
  • Better support for creating virtualenvs in a default location (instead of the project directory)
  • creating a main.py and test directory

More to come.

Project details


Release history Release notifications

Download files

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

Files for mkprj, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size mkprj-0.1.1-py2.py3-none-any.whl (3.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size mkprj-0.1.1.tar.gz (3.9 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