Skip to content

Conversation

infernalsaber
Copy link
Contributor

Description

  • Added a method to get CPU and RAM utilization by the system
  • Added typehinting and docstring support to all the functions, increasing code quality
  • Ensured that the CPU script works for multiple CPUs as well
  • Updated README file

These changes make the script more versatile and easy to use

Fixes #1416

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update
  • Documentation Update

Checklist:

  • My code follows the style guidelines(Clean Code) of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have created a helpful and easy to understand README.md
  • My documentation follows Template for README.md
  • I have added the project meta data in the PR template.
  • I have created the requirements.txt file if needed.

Project Metadata

If there is no-file/nothing to fill the below fields with, then type: none

Example: If no requirements.txt needed/present, then type none in Requirments.

Category:

  • Calculators
  • AI/ML
  • Scrappers
  • Social_Media
  • PDF
  • Image_Processing
  • Video_Processing
  • Games
  • Networking
  • OS_Utilities
  • Automation
  • Cryptography
  • Computer_Vision
  • Fun
  • Others

Title: System Utils

Folder: CPU Temperature

Requirements: psutil

Script: temp.py

Arguments: NA

Contributor: infernalsaber

Description: Display the CPU and RAM usage by the system, in addition to the temperature capability present

- Added [typehinting](https://peps.python.org/pep-0484/) and docstring support to all the functions, increasing code quality
- Ensured that the CPU script works for multiple CPUs as well
- Updated README file
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulations!! for making your first PR at Amazing-Python-Scripts, our mentors will review it soon.

@avinashkranjan avinashkranjan added level1 Wiki or Major Documentation Work gssoc23 Issues created for/by the GirlScript Summer of Code'23 Participants labels Jun 30, 2023
@avinashkranjan avinashkranjan merged commit 7c96bba into avinashkranjan:master Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc23 Issues created for/by the GirlScript Summer of Code'23 Participants level1 Wiki or Major Documentation Work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Suggesting impovement/expansion of the CPU temperature script
2 participants