pipenv [OPTIONS] COMMAND [ARGS]...
Checks and scans project for PyUp Safety security vulnerabilities and against PEP 508 markers.
pipenv check [OPTIONS]
Options:
--db TEXT Path or URL to a PyUp Safety vulnerabilities database.
--ignore, -i TEXT Ignore specified vulnerability during PyUp Safety checks.
--output [screen|text|json|bare]
Specifies the output format for the PyUp Safety check.
--key TEXT Safety API key from PyUp.io for scanning dependencies against a live
vulnerabilities database.
--quiet Quiet standard output, except vulnerability report.
--policy-file TEXT Define the policy file to be used.
--exit-code / --continue-on-error
Output standard exit codes. Default: --exit-code.
--audit-and-monitor / --disable-audit-and-monitor
Send results back to pyup.io for viewing on your dashboard.
--project TEXT Project to associate this scan with on pyup.io.
--save-json TEXT Path to where output file will be placed.
--use-installed Whether to use the lockfile as input to check.
--categories TEXT Use the specified categories from the lockfile as input to check.
--auto-install Automatically install safety if not already installed.
--scan Use the new scan command instead of the deprecated check command.
Note: The check command is deprecated and will be unsupported beyond 01 June 2024. In future versions, the check command will run the scan command by default. Use the --scan
option to run the new scan command now.
When using the --scan
option, you'll need to obtain an API key from https://pyup.io to access the full vulnerability database.
Uninstalls all packages not specified in Pipfile.lock.
pipenv clean [OPTIONS]
Displays currently–installed dependency graph information.
pipenv graph [OPTIONS]
Installs provided packages and adds them to Pipfile, or (if no packages are given), installs all packages from Pipfile.lock
pipenv install [OPTIONS] [PACKAGES]...
Environment Variables
PIP_INDEX_URL
Provide a default for -i
Generates Pipfile.lock.
pipenv lock [OPTIONS]
View a given module in your editor.
This uses the EDITOR environment variable. You can temporarily override it, for example:
EDITOR=atom pipenv open requests
pipenv open [OPTIONS] MODULE
Generate a requirements.txt from Pipfile.lock.
pipenv requirements [OPTIONS]
Spawns a command installed into the virtualenv.
pipenv run [OPTIONS] COMMAND [ARGS]...
Lists scripts in current environment config.
pipenv scripts [OPTIONS]
Spawns a shell within the virtualenv.
pipenv shell [OPTIONS] [SHELL_ARGS]...
Installs all packages specified in Pipfile.lock.
pipenv sync [OPTIONS]
Un-installs a provided package and removes it from Pipfile.
pipenv uninstall [OPTIONS] [PACKAGES]...
Runs lock when no packages are specified, or upgrade, and then sync.
pipenv update [OPTIONS] [PACKAGES]...
Environment Variables
PIP_INDEX_URL
Provide a default for -i
Resolves provided packages and adds them to Pipfile, or (if no packages are given), merges results to Pipfile.lock
pipenv upgrade [OPTIONS] [PACKAGES]...
Environment Variables
PIP_INDEX_URL
Provide a default for -i
Verify the hash in Pipfile.lock is up-to-date.
pipenv verify [OPTIONS]