Retrieves the list of processes using the 'wmic' command and return the data as a pandas DataFrame
pip install getproclist
Tested against Windows 10 / Python 3.10 / Anaconda
Python
from getproclist import get_proc_list
df=get_proc_list(interval=0)
print(df)
Retrieve the list of processes using the 'wmic' command and return the data as a pandas DataFrame.
Args:
interval (int): The interval in seconds at which to retrieve the process list. Defaults to 5.
It has to be stopped by pressing ctrl+c
If interval is less than or equal to 0, the process list is captured only once.
Returns:
pd.DataFrame: A DataFrame containing information about the processes.
Raises:
None
Example:
>>> df = get_proc_list(interval=10) # press ctrl+c
>>> print(df.head())
Name ProcessId CommandLine ...
0 System Idle Process 0 None
1 System 4 None
2 smss.exe 248 \SystemRoot\System32\smss.exe
3 csrss.exe 424 \??\C:\WINDOWS\system32\csrss.exe
4 wininit.exe 496 \??\C:\WINDOWS\system32\wininit.exe
...
Metadata
Release files for getproclist 0.10
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 |
|---|---|---|---|---|
| getproclist-0.10.tar.gz | 4.7 kB | Without provenance | Details for getproclist-0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| getproclist-0.10-py3-none-any.whl | Python 3 | none | any | Details for getproclist-0.10-py3-none-any.whl |
Total release size: 11.3 kB
Release files / getproclist-0.10.tar.gz
| Download URL | getproclist-0.10.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cbe8ee8e696854438f7dce87546f4abaae1fec781cc684f587da998d43250d8a
|
|
BLAKE2b-256 checksum How to use checksums |
b04368394468bd7d1656a1df077247f667c3a92b2182aaaba8940fdf80a891da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / getproclist-0.10-py3-none-any.whl
| Download URL | getproclist-0.10-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ff50031e63f36f6d623a38ea2e846e4c11cfe237eaa11a07531c2a0bfa33164
|
|
BLAKE2b-256 checksum How to use checksums |
6adb7ff1f52aafcd85917a67350871512e0f59778c10a8c8643fd4ee69529b48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Security for getproclist 0.10
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.