Skip to main content

A Python package for cross-platform process management, providing process data as dicts/JSON and allowing process control (start, stop, kill) on Windows, Mac, and Linux.

Project description

Process Inspector

Coverage

Overview

A Python package for cross-platform process management, providing process data as dicts/JSON and allowing process/service control (start, stop, kill) on Windows, Mac, and Linux.

Installation

Use uv or pip.

uv add process-inspector
python3 -m pip install process-inspector

Development

To get a list of all commands with descriptions simply run make.

make env
make pip_install_editable

Testing

make pytest
make coverage
make open_coverage

Issues

If you experience any issues, please create an issue on Github.

Example Usage

from process_inspector import NativeApp
from process_inspector import Service
from process_inspector import Teamviewer
from process_inpsector import OperatingSystem

# App control
app = NativeApp('C:/Program Files (x86)/Microsoft/Edge/Application/msedge.exe')
app.open()
app.is_running()
app.get_version()
app.to_dict()
app.process_info()
app.close()

# Service control
service = Service("Spooler")
service.start()
service.is_running()
service.stop()

# Teamviewer
tv = Teamviewer()
tv.open()
tv.is_running()
tv.close()
tv.get_teamviewer_info()

# This operation requires sudo priveleges on Linux and Mac so ensure you allow it for the user the application is running under.
OperatingSystem().reboot()

History

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

0.1.0 (2025-09-11)

  • First release

0.1.1 (2025-09-11)

  • ADDED - more test coverage

0.1.2 (2025-09-11)

  • ADDED - Service control (Windows Services or Linux/ Mac supervisorctl processes)
  • ADDED - TeamViewer status and basic control (start, stop)

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

process_inspector-0.1.2.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

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

process_inspector-0.1.2-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

Details for the file process_inspector-0.1.2.tar.gz.

File metadata

  • Download URL: process_inspector-0.1.2.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for process_inspector-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2bf39bfc00933fdf5f73e44d0f30c19081ca8fdbcb3c76c94709008a801d1f67
MD5 e43b70121554bb3a8db7a787b9c1888f
BLAKE2b-256 d1d762bf80c0a4f7392d22574f4a47df97f1d268d4ae67d7b676e30b486bab76

See more details on using hashes here.

File details

Details for the file process_inspector-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for process_inspector-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 75c0eb6e141af8fae0f35e1996a46f79cc2f24fab2012f4f3fdfadf6ed36c475
MD5 ca6eef093c313490c2e71ee36f49d18d
BLAKE2b-256 c2138ec5d01e1a6d5b49a23610bc3280b5b53beae6b983c754a6f848e8f11f4d

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