Skip to main content

Python wrapper around invoking wrun (https://github.com/scop/wrun)

Project description

wrun

wrun downloads, caches, and runs an executable, with the same one command for multiple OS/architectures.

$ wrun --help
Usage of wrun:
  -http-timeout duration
    	HTTP client timeout (default 5m0s)
  -url value
    	[<OS>/<architecture>=]URL (at least one required to match)

wrun downloads, caches, and runs executables.
The same one command works for multiple OS/architectures.

The runtime OS and architecture are matched against the given URL matchers.
The first matching one in the order given is chosen as the URL to download.
The matcher OS and architecture may be globs.
As a special case, a plain URL with no matcher part is treated as if it was given with the matcher */*.
URL fragments are treated as hex encoded digests for the download, and checked.

The first non-flag argument or -- terminates wrun arguments.
Remaining ones are passed to the downloaded one.

Environment variables:
- WRUN_CACHE_HOME: location of the cache, defaults to wrun in the user cache dir
- WRUN_VERBOSE: controls output verbosity; false decreases, true increases

License

SPDX-License-Identifier: Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wrun_py-0.0.1.post1.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distributions

wrun_py-0.0.1.post1-py2.py3-none-win_amd64.whl (2.2 MB view hashes)

Uploaded Python 2 Python 3 Windows x86-64

wrun_py-0.0.1.post1-py2.py3-none-win32.whl (2.2 MB view hashes)

Uploaded Python 2 Python 3 Windows x86

wrun_py-0.0.1.post1-py2.py3-none-musllinux_1_1_x86_64.whl (2.1 MB view hashes)

Uploaded Python 2 Python 3 musllinux: musl 1.1+ x86-64

wrun_py-0.0.1.post1-py2.py3-none-musllinux_1_1_i686.whl (2.0 MB view hashes)

Uploaded Python 2 Python 3 musllinux: musl 1.1+ i686

wrun_py-0.0.1.post1-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view hashes)

Uploaded Python 2 Python 3 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

wrun_py-0.0.1.post1-py2.py3-none-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (2.0 MB view hashes)

Uploaded Python 2 Python 3 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

wrun_py-0.0.1.post1-py2.py3-none-macosx_10_9_x86_64.whl (2.2 MB view hashes)

Uploaded Python 2 Python 3 macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page