Skip to main content

Cross-Compatible Python implementation of top command.

Project description

top

build Language: Python Commits: Conventional

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

ostop-1.4.1.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ostop-1.4.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file ostop-1.4.1.tar.gz.

File metadata

  • Download URL: ostop-1.4.1.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

Hashes for ostop-1.4.1.tar.gz
Algorithm Hash digest
SHA256 582b959c608c54dbf9c8a3af1fe8db932c22018ce25e22f6d3fcb2671f690c2f
MD5 1261e9d599c21b109de4f6d31148ef0d
BLAKE2b-256 a2d651172930fc4b2cb7e8e962830d0a7edcf56a800d1ba9c992aa22e8d9bfed

See more details on using hashes here.

File details

Details for the file ostop-1.4.1-py3-none-any.whl.

File metadata

  • Download URL: ostop-1.4.1-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

Hashes for ostop-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 62d4d4e3b0a8d39bbc2fcd3b7417be088cafa32896b9b4aff1823090d30e1675
MD5 bfc91af4dc86eb975f380be0aef3f945
BLAKE2b-256 b72a7cef5ccd9eaf4048011af2693153747db5052a1de374d9534ed8a5152fd2

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