Metadata-Version: 2.4
Name: pywershell
Version: 0.2.3
Summary: Async PowerShell wrapper for Python
Author: genderlessput
License: # LICENSE
        MIT License
        
        Copyright (c) 2025 Miles Copeland Luce
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the “Software”), to deal
        in the Software without restriction, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND.
        
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: async-property
Requires-Dist: propcache
Requires-Dist: loguru
Requires-Dist: asyncinit
Requires-Dist: gowershell>=0.1.0
Dynamic: license-file

<!-- README.md -->
# Pywershell

Async PowerShell session manager for Python.

## Install

```python
import asyncio
from pywershell.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())
```
