Skip to content

Latest commit

 

History

History
74 lines (53 loc) · 2.36 KB

README.rst

File metadata and controls

74 lines (53 loc) · 2.36 KB

Wiz

PyPi Package Link Continuous Integration Documentation Status Google Group Page License Link

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/>.