Skip to main content

smartwatts-formula

Join the chat at https://gitter.im/Spirals-Team/powerapi License: BSD-3-Clause GitHub Workflow Status PyPI

SmartWatts is a formula for a self-adaptive software-defined power meter based on the PowerAPI framework.
This project is the implementation of the power meter depicted in the SmartWatts: Self-Calibrating Software-Defined Power Meter for Containers paper published in the 20th IEEE/ACM International Symposium on Cluster, Cloud and Internet Computing (CCGRID).

This project provides a software power meter that estimates the power consumption (CPU/DRAM) of the software containers (i.e. Docker containers, Kubernetes pods, Libvirt virtual machines...) running on a system.

This software power meter is based on Power Models that distribute the total energy consumption across the running containers depending on their resource usage. The Running Average Power Limit (RAPL) feature is used to measure the total energy consumption of the CPU/DRAM components, and the Hardware Performance Counters (HwPC) are used to measure the resource usage of the containers.

To monitor the Hardware Performance Counters (HwPC) of the software containers running on a Linux system, the hwpc-sensor project is the preferred solution. There is currently no support for other client/server platforms such as Windows, MacOS or VMware.

About

SmartWatts is an open-source project developed by the Spirals project-team, a joint research group between the University of Lille and Inria.

The documentation is available on the PowerAPI website.

Mailing list

You can follow the latest news and asks questions by subscribing to our mailing list.

Contributing

If you would like to contribute, you can do so through GitHub by forking the repository and sending a pull request.

When submitting code, please check that it follows the project's rules and that the tests pass.

Installation

There is two ways to install official releases of SmartWatts:

Metadata

Release files for smartwatts 2.4.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 smartwatts 2.4.1
File Size Uploaded
smartwatts-2.4.1.tar.gz 12.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for smartwatts 2.4.1
File Interpreter ABI Platform
smartwatts-2.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 42.5 kB

Release files / smartwatts-2.4.1.tar.gz

Download URL smartwatts-2.4.1.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
86544e483a7d712ea8896f37a82c2fbf9f2459ecfbfc6c4b332aba4e83fd00eb
BLAKE2b-256 checksum
How to use checksums
5e71312ab37f9cf0f8946213dffef9c9b03b4fe5d29639641b9c015e3c21053d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 26, 2025.

Transparency log

Release files / smartwatts-2.4.1-py3-none-any.whl

Download URL smartwatts-2.4.1-py3-none-any.whl
Size 29.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d9f89e4782e0f3586ebfb85985af3945f80052ab75a94618cacf83349a54d15
BLAKE2b-256 checksum
How to use checksums
40dfdb5b6083fa311de64f445b62b8eeadb92aa0471fe94edcecf4d9f5e4632a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 26, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

2.4.1 This release

2 release files

2.4.0

2 release files

2.3.1

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.5

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.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