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


Download files

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

Source Distribution

mkprj-0.1.1.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

mkprj-0.1.1-py2.py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page