Skip to main content

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.

Metadata

Release files for mkprj 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mkprj 0.1.1
File Size Uploaded Provenance Actions
mkprj-0.1.1.tar.gz 3.9 kB Without provenance Details for mkprj-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mkprj 0.1.1
File Interpreter ABI Platform Actions
mkprj-0.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details for mkprj-0.1.1-py2.py3-none-any.whl

Total release size: 7.3 kB

Release files / mkprj-0.1.1.tar.gz

Download URL mkprj-0.1.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
98a23307a0c5d73c00fbe4ae40aea2bae3b92bc55bc452dc2672fe4dd97f976f
BLAKE2b-256 checksum
How to use checksums
0c3394f30aa422773e20238e5bcd19f0fae334ca097af2bd8dc191044218bdc2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / mkprj-0.1.1-py2.py3-none-any.whl

Download URL mkprj-0.1.1-py2.py3-none-any.whl
Size 3.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
bcb5cb9ac482a5f551ab2ae805d860cd6aabf0f25016cbe54397deb0b333a7cb
BLAKE2b-256 checksum
How to use checksums
93ae2f3a39fca7100e77a3e7537a767828317aa80af4a7bec825afb136b7acd3
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for mkprj 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page