Ensure pip package version, and auto update if not
Project description
Usage:
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)
)
# at this point, the requested package will be up-to-date
import tqdm
import soraxas_toolbox
...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pip_ensure_version-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f7bd354075c3e6c97d9853d1a12db30d87f32d56e05f3e49fc2e4a8b37003aa |
|
MD5 | d025ca3ed55c1f4340de3886c04a1ca8 |
|
BLAKE2b-256 | f424a84916b8a60ffdda08a2c4f02eda5e9d460f92f206e81682d8d1b7e20bab |