Skip to main content

exec-wrapper

Allows creating executable wrappers for any executable. Tested on Linux, Windows.

Example

import os
import subprocess
from exec_wrapper import write_exec_wrapper

wrapper = '/tmp/ssh-wrapper'
write_exec_wrapper(wrapper, ['ssh', '-i', 'my-key', '-o', 'BatchMode=yes'])

subprocess.run(['git', 'fetch', '...'], env={**os.environ, 'GIT_SSH': wrapper})

Metadata

Release files for exec-wrapper 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for exec-wrapper 0.1.0
File Size Uploaded
exec-wrapper-0.1.0.tar.gz 50.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for exec-wrapper 0.1.0
File Interpreter ABI Platform
exec_wrapper-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 100.2 kB

Release files / exec-wrapper-0.1.0.tar.gz

Download URL exec-wrapper-0.1.0.tar.gz
Size 50.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8e8e82e9c790403abeae50fb2ec95bbd6f29c8907de1c575f42f736370daf001
BLAKE2b-256 checksum
How to use checksums
924016e0dc3d6f1a79cc1980cf50397e628e7c66a3486b6d2b2ae2cdda259db7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release files / exec_wrapper-0.1.0-py3-none-any.whl

Download URL exec_wrapper-0.1.0-py3-none-any.whl
Size 50.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68efbd4942a6dcc599ce93758d20235d6a9035c87ea3bd42ea84def827f7a359
BLAKE2b-256 checksum
How to use checksums
173acc8ab94a60b3ad4728f263bf42c5b85aac800634a41472543e35ae0e1ee6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page