Skip to main content

Provides API for PowerShell.

Project description

pwsh

Python pwsh package provides an API for PowerShell.

Overview

TBD…

PyPI record.

Documentation.

Usage

TBD…

Installation

Prerequisites:

To install run:

python -m pip install --upgrade pwsh

Development

Prerequisites:

  • Development is strictly based on tox. To install it run:

    python -m pip install --upgrade tox

Visit Development page.

Installation from sources:

clone the sources:

git clone https://github.com/karpierz/pwsh.git pwsh

and run:

python -m pip install ./pwsh

or on development mode:

python -m pip install --editable ./pwsh

License

Copyright (c) 2024-2026 Adam Karpierz
Licensed under the zlib/libpng License
Please refer to the accompanying LICENSE file.

Authors

Changelog

0.4.0 (2025-11-30)

  • 100% code linting.

  • Add Resolve_Path().

  • Utils come from py-utlx.

  • Copyright year update.

  • Add tox’s tool.tox.env.cleanup testenv.

  • Setup (dependencies) update.

0.3.6 (2025-08-28)

  • Import of internal PowerShell assemblies has been improved and is
    now more portable between different versions of PowerShell.
    From now on, assemblies are first imported from own PowerShell set.
  • Making the package typed (but should be enhanced and more restricted).

  • General improvements and cleanup.

  • Setup (dependencies) update.

0.3.4 (2025-06-11)

  • Little cleanup.

  • Setup (dependencies) update.

0.3.3 (2025-05-15)

  • The distribution is now created using ‘build’ instead of ‘setuptools’.

  • Setup (dependencies) update (due to regressions in tox and setuptools).

0.3.2 (2025-05-08)

  • Support for PyPy has been removed (due to problems with pythonnet).

  • Drop support for Python 3.9 (due to compatibility issues).

  • Add ‘Host’ property.

  • Add ‘DebugPreference’ property.

  • Bugfix: Most outputs of the Write_*() cmdlet’s are now visible in the
    Python console (outputs of the Write_Output() are still not visible).
  • Update readthedocs’s python to version 3.13

  • Update tox’s base_python to version 3.13

  • Setup (dependencies) update.

0.2.11 (2025-04-24)

  • Fix for Stop_Process. -Force is now the default.

  • Change base_python to Python 3.13

0.2.9 (2025-04-10)

  • Fix compability for Python >= 3.13

0.2.8 (2025-03-30)

  • Add New_Service().

0.2.6 (2025-03-25)

  • Add LocalApplicationDataPath property.

0.2.5 (2025-03-20)

  • Add support for PyPy 3.11

  • Drop support for PyPy 3.9

  • Setup (dependencies) update.

0.2.3 (2025-02-14)

  • Setup (dependencies) update.

0.2.2 (2025-02-10)

  • Add reference to the System.ServiceProcess

  • Copyright year update.

0.2.0 (2025-02-02)

  • Copyright year update.

  • Tox configuration is now in native (toml) format.

  • Setup (dependencies) update.

0.1.0 (2024-10-30)

  • First release.

0.0.0 (2024-08-13)

  • Initial commit.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pwsh-0.4.0.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pwsh-0.4.0-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file pwsh-0.4.0.tar.gz.

File metadata

  • Download URL: pwsh-0.4.0.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for pwsh-0.4.0.tar.gz
Algorithm Hash digest
SHA256 9181a58eb87e8c9fa9788f5a491bf2c28cccbd395fb5d323b97803dc8082263c
MD5 ae658622c6d6a10520dd9a2178e8c53c
BLAKE2b-256 b8b1b5a1386b761b26969df187f82c2ada9fcf3ce1e0d1632d2c59768ac4d5e0

See more details on using hashes here.

File details

Details for the file pwsh-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: pwsh-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for pwsh-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3251be9209657fdd0b176f9f0e9af9d4777ae732609cfb6b84c8c0c2ad358e4a
MD5 691d7e3bd2e0223cb23cf0700dceb3a8
BLAKE2b-256 e1f3223370ad8a128db5e646c0482b8ccd7cc08f1061c7223205e17184a346e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page