Skip to main content

Absolute Control

Introduction

A library for assisting with control of computer processes using python.

Install via pip through PyPi

pip install absolute-control

Usage

Get all processes running on the system

from absolute_control import get_all_processes

processes = get_all_processes()

You may also filter by pid, or by name.

from absolute_control import get_process_by_id, get_process_by_name

pid_processes = get_process_by_id(12345)
name_processes = get_process_by_name('chrome')

Kill all processes on the system. Note: This will kill all processes on the system, including the ones you have not started provided you have permission to do so.

from absolute_control import kill_all_processes

kill_all_processes()

You may kill processes by name or pid.

from absolute_control import kill_process_by_id, kill_processes_by_name

kill_process_by_id(12345)
kill_processes_by_name('chrome')

Start a new process.

from absolute_control import open_process_using_command

process = open_process_using_command('chrome')

Testing

To test the library, run the following commands:

cd src
python run_tests.py

License

This project is licensed under the MIT license.

Contribution

This project is open source. You can contribute by making a pull request or by sending an email to Johnny Irvin

Release files for absolute-control 0.0.6

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

Source distribution (sdist)

Source distribution for absolute-control 0.0.6
File Size Uploaded
absolute-control-0.0.6.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for absolute-control 0.0.6
File Interpreter ABI Platform
absolute_control-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 12.4 kB

Release files / absolute-control-0.0.6.tar.gz

Download URL absolute-control-0.0.6.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a56c6ac920268bb836fe9aa6e2bd05d8979975f85b3ce672b627e58fcf387f97
BLAKE2b-256 checksum
How to use checksums
a86ab2df0dc18d44c091033105cc7ef0c1da36939e659073e85857e04d32f571
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / absolute_control-0.0.6-py3-none-any.whl

Download URL absolute_control-0.0.6-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bbe6ed637730090a9202e39a154141e520638e278455f8997894a68fd7c4ae99
BLAKE2b-256 checksum
How to use checksums
e8e7b57b5a1fa952a28e735d4529062817364710ca9d2ed917361bafbf5ba4c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

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