Skip to main content

COM utilities for Python

Package with various utilities to support COM object development with Python based on PyWin32

Features

Set of submodules contains:

  • base module with abstract base class definition for Python COM object classes
  • submodule with a logger mixin class for Python COM object classes
  • submodule with various check routines for own-defined Python COM object classes
  • submodule with helpful decorators for own-defined Python COM object classes
  • submodule for TypeLib generation (used within module to check Python COM object classes)

Note: as I am coming from camel case notation I was struggling a little bit with the Python naming conventions. However, for publishing I tried to increase compliance with Python naming conventions and added snake case method stubs (at least for most important subroutines) as a compromise.

Development

To set up hatch and pre-commit for the first time:

  1. install hatch globally, e.g. with pipx, i.e. pipx install hatch,
  2. make sure pre-commit is installed globally, e.g. with pipx install pre-commit.

A special feature that makes hatch very different from other familiar tools is that you almost never activate, or enter, an environment. Instead, you use hatch run env_name:command and the default environment is assumed for a command if there is no colon found. Thus you must always define your environment in a declarative way and hatch makes sure that the environment reflects your declaration by updating it whenever you issue a hatch run .... This helps with reproducability and avoids forgetting to specify dependencies since the hatch workflow is to specify everything directly in pyproject.toml. Only in rare cases, you will use hatch shell to enter the default environment, which is similar to what you may know from other tools.

To get you started, use hatch run test:cov or hatch run test:no-cov to run the unitest with or without coverage reports, respectively. Use hatch run lint:all to run all kinds of typing and linting checks. Try to automatically fix linting problems with hatch run lint:fix and use hatch run docs:serve to build and serve your documentation. You can also easily define your own environments and commands. Check out the environment setup of hatch in pyproject.toml for more commands as well as the package, build and tool configuration.

To support versioning and changelog generation please refer to the toolchain selected during package generation (see also pyproject.toml). If not deselected, the toolchain includes a pre-commit hook for linting commit messages to ensure commit messages are compliant with the conventional commit format and support an automated changelog generation.

Credits

This package was created with The Hatchlor Enhanced project template. This template is based on The Hatchlor but was substantially improved.

Metadata

Release files for utils-COMobjects 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for utils-COMobjects 1.1.0
File Size Uploaded
utils_comobjects-1.1.0.tar.gz 22.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for utils-COMobjects 1.1.0
File Interpreter ABI Platform
utils_comobjects-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 44.1 kB

Release files / utils_comobjects-1.1.0.tar.gz

Download URL utils_comobjects-1.1.0.tar.gz
Size 22.1 kB
Tags Source
SHA-256 checksum
How to use checksums
73f60e1ed82d828c0ca89f4ecd1d791d82639621ad057a31461a1df8da568618
BLAKE2b-256 checksum
How to use checksums
31aa36f5b6e567da462cb2a4022580399a3a230aa2070c8caf6586654f62a34e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 18, 2026.

Transparency log

Release files / utils_comobjects-1.1.0-py3-none-any.whl

Download URL utils_comobjects-1.1.0-py3-none-any.whl
Size 22.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8681b7297ee27847fa403217d70736469bdfced94c805000458160ff53c9ede8
BLAKE2b-256 checksum
How to use checksums
98455c0496a1dc4234a060231aed839f634b2f5a31ef3968e50fbd2f6c0deec3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 18, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page