Package: dependence
dependenceThis project provides a Command Line Interface and library for inspecting
and updating python project dependency versions in setup.cfg, pyproject.toml,
and requirements.txt files.InstallationYou can installdependencewith pip:pip3installdependenceUsageCommand Line Interface$dependence-hUsage:dependence <command> [options]Commands:update                      Update requirement versions in the specifiedfiles to align with currently installed versionsof each distributionfreeze                      Print dependencies inferred from an installeddistribution or project, in a similar formatto the output of `pip freeze`.dependence updateThis command will update version specifiers for
all package requirements in your setup.cfg, pyproject.toml, tox.ini,
or requirements.txt files to match currently installed versions of each
distribution (matching the existing granularity, and only forinclusivespecifiers—so where the comparator is "~=", "==", ">=", or "<=", but not where
the comparator is ">", "<", or "!=").$dependenceupdate-husage: dependence update [-h] [-i IGNORE] [-aen ALL_EXTRA_NAME]path [path ...]Update requirement versions in the specified files to align with currentlyinstalled versions of each distribution.positional arguments:path                  One or more local paths to a setup.cfg,setup.cfg, and/or requirements.txt fileoptional arguments:-h, --help            show this help message and exit-i IGNORE, --ignore IGNOREA comma-separated list of distributions to ignore(leave any requirements pertaining to the packageas-is)-aen ALL_EXTRA_NAME, --all-extra-name ALL_EXTRA_NAMEIf provided, an extra which consolidates therequirements for all other extras will beadded/updated to setup.cfg or setup.cfg(this argument is ignored for requirements.txtfiles)Example:dependenceupdate-aenallsetup.cfgpyproject.tomltox.inidependence freeze$dependencefreeze-husage: dependence freeze [-h] [-e EXCLUDE] [-er EXCLUDE_RECURSIVE][-nv NO_VERSION]requirement [requirement ...]This command prints dependencies inferred from an installed distribution orproject, in a similar format to the output of `pip freeze`, except that allgenerated requirements are specified in the format "distribution-name==0.0.0" (including for editable installations). Using this commandinstead of `pip freeze` to generate requirement files ensures that you don'tbloat your requirements files with superfluous distributions.positional arguments:requirement           One or more requirement specifiers (for example:"requirement-name", "requirement-name[extra-a,extra-b]", ".[extra-a, extra-b]" or"../other-editable-package-directory[extra-a,extra-b]) and/or paths to a setup.py, setup.cfg,pyproject.toml, tox.ini or requirements.txt fileoptional arguments:-h, --help            show this help message and exit-e EXCLUDE, --exclude EXCLUDEA distribution (or comma-separated list ofdistributions) to exclude from the output-er EXCLUDE_RECURSIVE, --exclude-recursive EXCLUDE_RECURSIVEA distribution (or comma-separated list ofdistributions) to exclude from the output. Unlike -e/ --exclude, this argument also precludes recursiverequirement discovery for the specified packages,thereby excluding all of the excluded package'srequirements which are not required by another (non-excluded) distribution.-nv NO_VERSION, --no-version NO_VERSIONDon't include versions (only output distributionnames) for packages matching this/these globpattern(s) (note: the value must be single-quoted ifit contains wildcards)