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.txtwith 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
--dockerflag to create aDockerfile, plusbuild.shandpush.shexecutable 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 | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98a23307a0c5d73c00fbe4ae40aea2bae3b92bc55bc452dc2672fe4dd97f976f
|
|
| MD5 |
7814e410a3e006f7f3a239a19131236d
|
|
| BLAKE2b-256 |
0c3394f30aa422773e20238e5bcd19f0fae334ca097af2bd8dc191044218bdc2
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcb5cb9ac482a5f551ab2ae805d860cd6aabf0f25016cbe54397deb0b333a7cb
|
|
| MD5 |
79d673675fb5afe27536e3de65ffff1b
|
|
| BLAKE2b-256 |
93ae2f3a39fca7100e77a3e7537a767828317aa80af4a7bec825afb136b7acd3
|