Skip to main content

cpu-power.py

PyPI version License Python versions

View and edit some CPU power saving settings:

  • Minimum frequency
  • Maximum frequency
  • Active cores
  • Multithreading / SMT
  • Turbo Boost

Installation

The script needs root permissions to change the CPU settings. Thus it is recommended to install the package as root:

sudo pip install cpu-power.py

Usage

You can view your CPU settings by calling the script without parameters:

cpu-power

You can also set CPU settings like this (power saving mode):

sudo cpu-power set -u 2.2 -d 2.2

Metadata

Release files for cpu-power.py 0.1.1

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

Source distribution (sdist)

Source distribution for cpu-power.py 0.1.1
File Size Uploaded
cpu-power.py-0.1.1.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cpu-power.py 0.1.1
File Interpreter ABI Platform
cpu_power.py-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.0 kB

Release files / cpu-power.py-0.1.1.tar.gz

Download URL cpu-power.py-0.1.1.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6b0fb9cf48f3ed29bf90cb9c7ee18d0977f1e230b9a3b326488bb5a0b50b5f13
BLAKE2b-256 checksum
How to use checksums
b7630c8f7293074c52bdc661f6e3d621f8afa34ee61054efbcdef2181098494f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / cpu_power.py-0.1.1-py3-none-any.whl

Download URL cpu_power.py-0.1.1-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4b797ca6b96a322152664ba8a3faca06cc4458e5b90549c452fa0e196461733
BLAKE2b-256 checksum
How to use checksums
3911a386afe7351901887a47787b5de9da3c9bb8e2ad0748c169617f0bc3324a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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