Skip to main content

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

PYPI Installation

You can install top through running this command in your terminal:

pipx install ostop

Once this command finishes running, you can then run commands in these two different formats:

ostop

The command with no extra parameters will make the program run in an infinite loop forever until you close your terminal or use a Keyboard Interrupt.

ostop <integer value>

The command with an integer value will make the program run for the number of iterations/seconds you specify.

Local Installation

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 an integer input. For example, you can run the program for one iteration by writing this 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 this command in the base directory if you already have GatorGrade installed:

gatorgrade --config config/gatorgrade.yml

If you do not have GatorGrade installed yet on your local machine, you can install it by using this 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.

Metadata

Release files for ostop 1.5

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

Source distribution (sdist)

Source distribution for ostop 1.5
File Size Uploaded
ostop-1.5.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ostop 1.5
File Interpreter ABI Platform
ostop-1.5-py3-none-any.whl Python 3 none any Details

Total release size: 17.0 kB

Release files / ostop-1.5.tar.gz

Download URL ostop-1.5.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
45f4443fa5f25d7a3ac3dd52822c355bb2561035084d8555de6e23dcd9da406d
BLAKE2b-256 checksum
How to use checksums
8409cde7b581b9f89a6a6d34e27ae7bdcc78d27647df72145288f4bc2f6f4491
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.8.5 Darwin/21.6.0

Release files / ostop-1.5-py3-none-any.whl

Download URL ostop-1.5-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
962fe7a81fe8d90e9e0bd4285448b558d3d83f5882f84fe84ba8fece06da4606
BLAKE2b-256 checksum
How to use checksums
37ccbb5e365a9b9c483195034d6bb7ad466df4820ee39689d7fa4a068fc38ce4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.8.5 Darwin/21.6.0

Release history Release notifications | RSS feed

This release

1.5 This release

2 release files

1.4.1

2 release files

1.4

2 release files

1.3

1 release file

1.2

1 release file

1.1

1 release file

1.0

1 release file

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