semvec/pypi-packages huggingface dataset:
pip-ensure-version 1.0.1
Ensure pip package version, and auto update if not
License: MIT
Requires Python: >=3.6

# Usage:

```py
import pip_ensure_version

# pip_ensure_version.set_debug()

pip_ensure_version.require_package(
    "tqdm",     # package name
    "4.47",     # pin version (optional)
)

pip_ensure_version.require_gitpackage(
    "soraxas-toolbox",                          # package name
    "soraxas/python-soraxas_toolbox",           # repo name (default to github)
    "aa00d757b58c43523d7c518cdac600d4a75c6015", # commit id (optional)
)

pip_ensure_version.require_gitpackage(
    "easy-visualiser",
    ">0.1.2",
)

# at this point, the requested package will be up-to-date
import tqdm
import soraxas_toolbox
import easy_visualiser

...

```