Metadata-Version: 2.1
Name: cpu-power.py
Version: 0.1.1
Summary: Set Linux CPU power settings
Home-page: https://github.com/six-two/cpu-power.py
Author: six-two
Author-email: pip@six-two.dev
License: MIT License
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE

# cpu-power.py
[![PyPI version](https://img.shields.io/pypi/v/cpu-power.py)](https://pypi.org/project/cpu-power.py/)
![License](https://img.shields.io/pypi/l/cpu-power.py)
![Python versions](https://img.shields.io/pypi/pyversions/cpu-power.py)

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
```


