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, It's piece of a pure-python work for both Windows and Linux-debian systems
-
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)
OS | CPU Platform | Worked Succefully |
---|---|---|
Windows 10 | Intel Core i5-7Y54 1.20 Ghz | YES |
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 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 |
# 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())
# 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())
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.