Skip to content

ProcessorPy is a Cross-platform, Pure python Library that's will get CPU information's & specifications also it's provide a sensors readings for both Widnows and Linux-Debian systems

License

Notifications You must be signed in to change notification settings

aymenbrahimdjelloul/ProcessorPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ProcessorPy

ProcessorPy is a Cross-platform, Pure python Library that's will get CPU information's & specifications also it's provide a sensors readings. ProcessorPy should do it without any external dependecies or any kind of C/C++ or Assembly scripts, It's piece of a pure-python work for both Windows and Linux-debian systems

Features

  • Cross platform (ProcessorPy support both of Windows and Linux systems)

  • Available with user-friendly Graphical user interface

  • Easy & Fast !

  • Provide accurate inforamtions

  • Pure python (No need for external dependencies)

How It's Work ?

ProcessorPy do it perfect job by using multiple methods and system built-in tools in both Windows and Linux-Debian systems, ProcessorPy parse the output of the operating system built-in tools and return it as friendly-user inforamtion's

Testing

ProcessorPy is Tested and worked succesfully on this platforms

OS CPU Platform Worked Succefully
Windows 10 Intel Core i7-7600U 2.80 GHz YES
Widnwows 11 Pro AMD Ryzen 3 3200G YES
Windows 10 Pro AMD Ryzen 3 3200G YES
Ubuntu 20.04 LTS AMD Ryzen 3 3200G YES
Ubuntu 23.04 AMD Ryzen 3 3200G YES
Ubuntu 24.04 LTS AMD Ryzen 3 3200G YES
Linux Mint 21.3 AMD Ryzen 3 3200G YES
Elementary OS 7.1 HORUS AMD Ryzen 3 3200G YES

Simple Usage

# First import the Processor class from ProcessorPy
from ProcessorPy import Processor

# Create a Processor Object
my_cpu = Processor()

# Print out your CPU Name !
print(my_cpu.name)

# Determine if your CPU support hypervisor or virtualization technology
print(my_cpu.is_support_virtualization())

Sensors Usage

# Import the Sensors class from ProcessorPy
from ProcessorPy import Sensors

# Create Sensors object
sensor = Sensors()

# Print out the current cpu clock speed in mhz
print(sensor.get_cpu_clock_speed())

License

This project is published under MIT License

MIT License

Copyright (c) 2023 Aymen Brahim Djelloul

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

About

ProcessorPy is a Cross-platform, Pure python Library that's will get CPU information's & specifications also it's provide a sensors readings for both Widnows and Linux-Debian systems

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages