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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file mkprj-0.1.1.tar.gz.

File metadata

  • Download URL: mkprj-0.1.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.6

File hashes

Hashes for mkprj-0.1.1.tar.gz
Algorithm Hash digest
SHA256 98a23307a0c5d73c00fbe4ae40aea2bae3b92bc55bc452dc2672fe4dd97f976f
MD5 7814e410a3e006f7f3a239a19131236d
BLAKE2b-256 0c3394f30aa422773e20238e5bcd19f0fae334ca097af2bd8dc191044218bdc2

See more details on using hashes here.

File details

Details for the file mkprj-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: mkprj-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.6

File hashes

Hashes for mkprj-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bcb5cb9ac482a5f551ab2ae805d860cd6aabf0f25016cbe54397deb0b333a7cb
MD5 79d673675fb5afe27536e3de65ffff1b
BLAKE2b-256 93ae2f3a39fca7100e77a3e7537a767828317aa80af4a7bec825afb136b7acd3

See more details on using hashes here.

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