Skip to main content

PowerAPI is a middleware toolkit for building software-defined power meters.

Project description

Powerapi

Join the chat at https://gitter.im/Spirals-Team/powerapi License: BSD 3 Build Status

PowerAPI is a middleware toolkit for building software-defined power meters. Software-defined power meters are configurable software libraries that can estimate the power consumption of software in real-time. PowerAPI supports the acquisition of raw metrics from a wide diversity of sensors (eg., physical meters, processor interfaces, hardware counters, OS counters) and the delivery of power consumptions via different channels (including file system, network, web, graphical). As a middleware toolkit, PowerAPI offers the capability of assembling power meters «à la carte» to accommodate user requirements.

About

PowerAPI is an open-source project developed by the Spirals research group (University of Lille 1 and Inria) and fully managed with setuptools.

The documentation is available here.

Mailing list

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

Contributing

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

When submitting code, please make every effort to follow existing conventions and style in order to keep the code as readable as possible.

Publications

Use Cases

PowerAPI is used in a variety of projects to address key challenges of GreenIT:

  • GenPack provides a Docker Swarm strategy to minimize the energy footprint of Docker containers deployed in a cluster
  • BitWatts provides process-level power estimation of applications running in virtual machines
  • Web Energy Archive ranks popular websites based on the energy footpring they imposes to browsers
  • Greenspector optimises the power consumption of software by identifying potential energy leaks in the source code.

Acknowledgments

We all stand on the shoulders of giants and get by with a little help from our friends. PowerAPI is written in Python (under PSF license) and built on top of:

BSD 3-Clause License

Copyright (c) 2018, INRIA Copyright (c) 2018, University of Lille All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  • Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

powerapi-0.8.1.tar.gz (57.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

powerapi-0.8.1-py2.py3-none-any.whl (147.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file powerapi-0.8.1.tar.gz.

File metadata

  • Download URL: powerapi-0.8.1.tar.gz
  • Upload date:
  • Size: 57.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for powerapi-0.8.1.tar.gz
Algorithm Hash digest
SHA256 d6d32c9775d980c567a60c03dda79275c5946774ecf15559dd9708870f93d125
MD5 c7cb21f2cc394eaa0566bd8fd7600e93
BLAKE2b-256 d89d50a6c4ef46ab1bb76fd0f4ed9f0bbb8fcec695283ff179ab98f6fe63e0c7

See more details on using hashes here.

File details

Details for the file powerapi-0.8.1-py2.py3-none-any.whl.

File metadata

  • Download URL: powerapi-0.8.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 147.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for powerapi-0.8.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 316ea3e15c42ce48950caa975e8a3ede26d88f4f931a8c7195d40f278afe8e4d
MD5 fa0b55794230d61a83e7df5b397573f5
BLAKE2b-256 17ff7bbf43168d9c05e9ff84dc2fe816ac7469d5d1492eab1ae6a973c8125d30

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page