Cross-Compatible Python implementation of top command.
Project description
top
A Cross-Platform Python implementation of 'top' command using Psutil.
What top Does
Top is able to get most of the top information with the restrictions that come with running it at the program level. Different statistics are shown based on the operating system that this project is run on. top works on MacOS, Linux, and Windows operating systems.
How to Get Started With top
You can get started with top by cloning the repository and running this command:
python src/top.py
in the base directory. Like the top command, this will run forever. You can exit out of the program by entering a keyboard interrupt or exiting your terminal altogether. You can also specify the amount of times you want the program to run by giving a second integer input. For example, you can run the program for one iteration by writing the command
python src/top.py 1.
Running GatorGrade Checks
This repository is able to be automatically assessed using GatorGrade. These checks can be run from the repository's base directory by running the command
gatorgrade --config config/gatorgrade.yml
in the base directory if you have GatorGrade installed. If you do not have GatorGrade installed yet on your local machine, you can install it by using the command
pip install gatorgrade.
These checks ensure that files are formatted correctly with proficient levels of polish and also run without crashing. GatorGrade checks are useful both during and after development.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ostop-1.4.tar.gz.
File metadata
- Download URL: ostop-1.4.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.8.5 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
899b9f1a79dc34aad5ebf803f85fc0e87dde86a9a513537ff254f2c0e0ab364f
|
|
| MD5 |
96c6d0abaa41e2b48bb62fa2515e189d
|
|
| BLAKE2b-256 |
74a3877008cf1246b585041b3550f658341351be584fc195527dee0a70f5abfc
|
File details
Details for the file ostop-1.4-py3-none-any.whl.
File metadata
- Download URL: ostop-1.4-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.8.5 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49bef02fa91632744ae459a50a4fe5edff1169a9f88a7352a24126554c486759
|
|
| MD5 |
2b51b3c1d95364ab2a769d0900d90898
|
|
| BLAKE2b-256 |
8e7f7159ecb9abad21d600666c24c6dcd8b1801b170bf9aeaee3e8fa12054073
|