Skip to main content

Provides API for PowerShell.

Reason this release was yanked:

Potential incompatibility

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-2025 Adam Karpierz
Licensed under the zlib/libpng License
Please refer to the accompanying LICENSE file.

Authors

Changelog

0.3.7 (2025-11-13)

  • 100% code linting.

  • Utils come from py-utlx.

  • 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.3.7.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.3.7-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pwsh-0.3.7.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.3.7.tar.gz
Algorithm Hash digest
SHA256 32ed3b39fd8613a71bc673913b5410baf4683901489fde3fb2b8a97404d0448a
MD5 a628a27c99d156331b4203b1c023e5d8
BLAKE2b-256 a1cf9b55c35e41462f9f67c9c9e4fdd888640dd250c64dbefdb25be68c246f87

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pwsh-0.3.7-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.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a33398291c907734b9c06e02c8f9f2bcf3ad5d2d1a093c0b20c017e06bc0d19f
MD5 26216c8dc5634e00f10419d178474927
BLAKE2b-256 c65a6535ab8539da9da08b893916d008ea58bca59b655669b5438af378236675

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