shellexecute
pip install shellexecute
from shellexecute import execute
rtn = execute(
f"echo HI",
send_confirmation=[("HI", "y")],
)
Cross platform way to run shell commands using pexpect (wexpect on windows). VERY useful for installers where you want to automate accepting prompts.
To develop software, run . ./activate.sh
Windows
This environment requires you to use git-bash.
Linting
Run ./lint.sh to find linting errors using pylint, flake8 and mypy.
Versions
- 1.0.5: Fix coloram issue in non windows builds.
- 1.0.4: Timeout is now set to None by default.
Metadata
Release files for shellexecute 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| shellexecute-1.0.5.tar.gz | 8.9 kB | Without provenance | Details for shellexecute-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| shellexecute-1.0.5-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for shellexecute-1.0.5-py2.py3-none-any.whl |
Total release size: 12.4 kB
Release files / shellexecute-1.0.5.tar.gz
| Download URL | shellexecute-1.0.5.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4563d73da2cf1efdf79bfd2658dcaab6b15b8bd6f04c3a12c09f80b383c443b2
|
|
BLAKE2b-256 checksum How to use checksums |
2d743ca0ae14e1792f9e31787458849723ddd371805e7646a56b82134dbb5974
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Release files / shellexecute-1.0.5-py2.py3-none-any.whl
| Download URL | shellexecute-1.0.5-py2.py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c21c98e8f893ce0c29253899c0e0fef0f30d65a294bcd933a8eba50a266b6ffb
|
|
BLAKE2b-256 checksum How to use checksums |
73bdd928f5546df4f8015bc40ecb00abbdefc53a05a21eb2d43e22bb8a0aefd7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Security for shellexecute 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.