Skip to main content

API for Chocolatey, the Package Manager for Windows.

Project description

py-chocolatey

Python py-chocolatey package provides API for Chocolatey, the Package Manager for Windows.

Overview

TBD…

PyPI record.

Documentation.

Usage

TBD…

Installation

Prerequisites:

To install run:

python -m pip install --upgrade py-chocolatey

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/py-chocolatey.git py-chocolatey

and run:

python -m pip install ./py-chocolatey

or on development mode:

python -m pip install --editable ./py-chocolatey

License

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

Authors

Changelog

0.9.0 (2025-09-19)

  • Making and mark the package typed.

  • Add license() command. Available since Chocolatey v2.5.0

  • Add support() command. Available since Chocolatey v2.5.0

  • Fix an error in export(): was include_version -> include_version_numbers.

  • Remove all_versions option from installed(). Dropped in Chocolatey v2.0.0

  • The ignore_pinned option is now supported in installed(). Available since
    Chocolatey v2.5.0
  • Setup (dependencies) update and fixes.

0.8.3 (2025-09-01)

  • Upgrade chocolatey installer for chocolatey.2.5.1.nupkg

  • Setup (dependencies) update.

0.8.2 (2025-05-15)

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

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

0.8.1 (2025-05-04)

  • Setup (dependencies) update.

0.8.0 (2025-04-28)

  • Add support for Python 3.14

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

  • Update readthedocs’s python to version 3.13

  • Update tox’s base_python to version 3.13

  • Setup (dependencies) update.

0.7.1 (2025-03-20)

  • Upgrade chocolatey installer for chocolatey.2.4.3.nupkg

  • Add support for PyPy 3.11

  • Drop support for PyPy 3.9

  • Setup (dependencies) update.

0.7.0 (2025-02-01)

  • Bugfix for feature_get().

  • Bugfix for config_set().

  • Bugfix for search().

  • Bugfix for template_info().

  • Copyright year update.

  • Remove ‘unpackself’ command - because deprecate, see:
  • Upgrade chocolatey installer for chocolatey.2.4.2.nupkg

  • More unittests.

  • 100% code linting.

  • 100% code coverage.

  • Setup (dependencies) update.

0.6.1 (2024-12-13)

  • Source distribution (*.tar.gz now) is compliant with PEP-0625.

  • Setup (dependencies) update.

0.6.0 (2024-12-10)

  • Upgrade chocolatey installer for chocolatey.2.4.1.nupkg

  • More unittests.

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

  • Setup (dependencies) update.

0.5.0 (2024-10-30)

  • Add support for Python 3.13

  • Drop support for Python 3.8

  • Setup (dependencies) update.

0.4.1 (2024-06-20)

  • Upgrade chocolatey installer for chocolatey.2.3.0.nupkg

  • Setup (dependencies) update.

0.4.0 (2024-01-26)

  • Setup update (now based on tox >= 4.0).

  • Add support for Python 3.12

  • Add support for PyPy 3.9 and 3.10

  • Copyright year update.

  • Cleanup.

0.3.1 (2023-11-24)

  • Fix for info(). Now works for local_only=True.

  • Setup cleanup.

0.3.0 (2023-11-22)

  • Drop support for Python 3.7.

  • Setup (dependencies) update.

0.2.2 (2023-10-27)

  • Added –yes option as default for push().

0.2.1 (2023-10-13)

  • Fix for setup.

0.2.0 (2023-10-12)

  • Added Chocolatey.setup() for install chocolatey.

0.1.2 (2023-10-11)

  • Fixes for many functions that failed when the source was set.

0.1.1 (2023-10-11)

  • Added missing source_add().

  • Fixes for source(s). Now works on unelevated mode.

0.1.0 (2023-10-09)

  • Added support for non-elevated mode.

  • Added (mostly raw) unittests.

  • First working release.

0.0.2 (2023-10-05)

  • Small fix for run().

0.0.1 (2023-07-13)

  • Initial commit.

0.0.0 (2023-07-07)

  • 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

py_chocolatey-0.9.0.tar.gz (5.8 MB view details)

Uploaded Source

Built Distribution

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

py_chocolatey-0.9.0-py3-none-any.whl (5.8 MB view details)

Uploaded Python 3

File details

Details for the file py_chocolatey-0.9.0.tar.gz.

File metadata

  • Download URL: py_chocolatey-0.9.0.tar.gz
  • Upload date:
  • Size: 5.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for py_chocolatey-0.9.0.tar.gz
Algorithm Hash digest
SHA256 8d995816301c461e4fdac38db60ce7f552710f439db94d05e552a3bb54d108d3
MD5 0e67780c8d8bfd67a0bbfcb39d8c4b4d
BLAKE2b-256 5720b592e648375aaf58c12266388f9c52e53ee5471be7b91cb70c50d89751c0

See more details on using hashes here.

File details

Details for the file py_chocolatey-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: py_chocolatey-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for py_chocolatey-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6268091e5810683a782be0c3a79cda35dd0fd3cb2fe0e2f44b341efb0c87d6b4
MD5 8282db2cd0d68f73fd3e80365b129863
BLAKE2b-256 3466accac0ab2e6389341c4c35040b7bde5d34d64fb4c855b81f949266601d72

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