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)
)
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
...
Metadata
Release files for pip-ensure-version 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pip-ensure-version-1.0.1.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pip_ensure_version-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.6 kB
Release files / pip-ensure-version-1.0.1.tar.gz
| Download URL | pip-ensure-version-1.0.1.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c19ba4c3e5148c1adfb755f0ba0ddb2db3eddc1a968d52484c88b8d449f80bb
|
|
BLAKE2b-256 checksum How to use checksums |
f53102b95c761cab28a95fbb62514566f71d1107115d5a15c948674011f5707d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / pip_ensure_version-1.0.1-py3-none-any.whl
| Download URL | pip_ensure_version-1.0.1-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
47378af3e8417a25fdf66cff8ddf878b08c74731a7999fbb56363f2c1c52c2af
|
|
BLAKE2b-256 checksum How to use checksums |
261baa9b507649d77c60b56a2e2f68cdbddfb7758d0be8a58759cdc31eaf95a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|