Python API
-
bump_deps_index.__version__ = '1.12.0'
semantic version of the package
Bump dependencies from an index server.
-
class bump_deps_index.Options(**kwargs)
Bases: Namespace
Run options.
-
index_url: str
The PyPI Index URL to query for Python versions.
-
npm_registry: str
The NPM registry to query for JS versions.
-
pkgs: list[str]
Package names to get latest version for.
-
filenames: list[Path]
The file to upload python package version from, can be one of:
pyproject.toml
tox.ini
.pre-commit-config.yaml
setup.cfg
-
pre_release: Literal['yes', 'no', 'file-default']
Accept pre-releases: yes, no or decide per file type
-
bump_deps_index.main(args=None)
Run via CLI arguments.
- Parameters:
args (Sequence[str] | None) – the CLI arguments
- Return type:
None
-
bump_deps_index.run(opt)
Run via config object.
- Parameters:
opt (Options) – the configuration namespace
- Return type:
None