asyncio-subprocess-run
This is asyncio drop-in replacement for subprocess.run, which is expected to be in asyncio.subprocess.run, but it isn't.
For documentation see https://docs.python.org/3/library/subprocess.html#subprocess.run
Install
pip3 install asyncio-subprocess-run
Usage
from asyncio_subprocess_run import run
async def get_uid():
return int(
(await run(['id', '-u'], check=True, text=True, capture_output=True))
.stdout.strip())
Metadata
Release files for asyncio-subprocess-run 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| asyncio-subprocess-run-0.0.2.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asyncio_subprocess_run-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.2 kB
Release files / asyncio-subprocess-run-0.0.2.tar.gz
| Download URL | asyncio-subprocess-run-0.0.2.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cfb6d5be90a6c34f8177211dad4ae4b24dcb9d3ed499c5aefe7d1a9ac39436f9
|
|
BLAKE2b-256 checksum How to use checksums |
871cf87f7ddd1cdd2295133510fbae8201e20cd613f516fa723b20c52b4ff1e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3
|
Release files / asyncio_subprocess_run-0.0.2-py3-none-any.whl
| Download URL | asyncio_subprocess_run-0.0.2-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49f7739a10b0b9808e2045ccbbdf2fcbc1d178e31ebdf1b506c897d969c8bf65
|
|
BLAKE2b-256 checksum How to use checksums |
bb3b690f875fcf73a9c6ab854d9fd3300f54284c370b70c80be85a18d5963484
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3
|