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
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| absolute-control-0.0.6.tar.gz | 4.5 kB | Without provenance | Details for absolute-control-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| absolute_control-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for absolute_control-0.0.6-py3-none-any.whl |
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
|
Security for absolute-control 0.0.6
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.