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)

0.1.3 (2025-09-16)

  • CHANGED - Improved query times for process running and process info

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.3.tar.gz (17.5 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.3-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: process_inspector-0.1.3.tar.gz
  • Upload date:
  • Size: 17.5 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.3.tar.gz
Algorithm Hash digest
SHA256 5d0382f1710d745a36354225c8042345973388dc393f8f6071e4e2e4f9f57930
MD5 7bbaa474abd2440bf65087c5b4d6c2e3
BLAKE2b-256 c0af92d80abc5a521729753a18b8b292ad3c68cf0274037731e9a48a983944f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for process_inspector-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 38718f8d6e168d4273519a86dd9486fb6cdc0b5939a8e213446121a33b36ed78
MD5 0c9ee06867075a3ca5a626bcd4dce23a
BLAKE2b-256 c0173729246c0598cd51e22d1443954fe724db940abcc81881f4b1011d895c72

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