Wiz is an environment management framework which consists of a Python API and a command line tool. It can be used to run a command within a deterministic environment resolved from one or several package requests.
The packages are defined in package definitions which are stored in one or several registries.
The command line tool can be used as follows:
>>> wiz use "app==2.*" my-plugin -- AppExe /path/to/script
Equivalent commands can be executed using the Python API:
import subprocess
import wiz
# Resolve context.
context = wiz.resolve_context(["app==2.*", "my-plugin"])
# Run command within environment.
command = context["command"]["AppExe"]
subprocess.call(command, environ=context["environ"])
Documentation
Full documentation, including installation and setup guides, can be found at https://wiz.readthedocs.io/en/stable/
Copyright
Copyright (C) 2018, The Mill
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Release files for wiz-env 3.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wiz-env-3.7.0.tar.gz | 178.5 kB | Details |
Release files / wiz-env-3.7.0.tar.gz
| Download URL | wiz-env-3.7.0.tar.gz |
|---|---|
| Size | 178.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4d7c255aff1e904a6546f5fdae34159c0402d76d841847857d673de0fae9803
|
|
BLAKE2b-256 checksum How to use checksums |
ebbc992d1026578a7809dd4368a038fc152cb636b7a2d8ee357c2e9cf9a20138
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.2
|