Wiki

Clone wiki

base-environment / Pipenv

Pipenv

Usage looks like

Create a project:

$ mkdir base-environment
$ cd base-environment

Create a new virtual environment and add a Pipfile to the project:

$ pipenv --python 3.10

Install a new dependency like so (the --dev is optional):

$ pipenv install [--dev] <package name>

For testing, consistent coding style, understandable code and protection from the most common security vulnerabilities, install:

$ pipenv install --dev pytest-cov isort flake8 bandit safety pre-commit mypy isort black

Updated