No project description provided
Project description
Pywershell
Async PowerShell session manager for Python.
Install
import asyncio
from pywershell import PywershellLive
async def main():
shell = await PywershellLive(verbose=True)
# Run a command and await its completion
result = await shell.run("Get-Process | Select-Object -First 5")
print("Exit code:", result.code)
print("Output:", result.str)
await shell.close()
asyncio.run(main())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pywershell-0.3.12.tar.gz
(7.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pywershell-0.3.12.tar.gz.
File metadata
- Download URL: pywershell-0.3.12.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.13.7 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4217186586920510bf05dca0fcde9e715a8e8a84bec48cad8297583470814c06
|
|
| MD5 |
f79e23d8e8ae95064ada47323064078d
|
|
| BLAKE2b-256 |
f28bee5ae2a333c6b2c136a98361dfd9aa914661c6713d7c3ea6cdc971f803d4
|
File details
Details for the file pywershell-0.3.12-py3-none-any.whl.
File metadata
- Download URL: pywershell-0.3.12-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.13.7 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e28d4e084c440f3015b3c24c7460ee4c354e58f9cb3d988bec46e44c3f858bd
|
|
| MD5 |
6a740b4b21fd5c6172435e1580384b4e
|
|
| BLAKE2b-256 |
8f5b02b9d56e862753522565eb2cb502c1d7fbffe4747073194b594f108fb8fe
|