Skip to main content

Test suite for energy consumption

Project description

[![Build Status](https://travis-ci.org/TQRG/physalia.svg?branch=master)](https://travis-ci.org/TQRG/physalia)
[![PyPI version](https://badge.fury.io/py/physalia.svg)](https://badge.fury.io/py/physalia)
[![PyPI downloads](https://img.shields.io/pypi/d/physalia.svg)](https://pypi.python.org/pypi/physalia)
[![PyPI status](https://img.shields.io/pypi/status/physalia.svg)](https://pypi.python.org/pypi/physalia)
[![Code Health](https://landscape.io/github/TQRG/physalia/master/landscape.svg?style=flat)](https://landscape.io/github/TQRG/physalia/master)


# Physalia

Energy measurement framework for Mobile Apps.

More info and documentation in the [website](https://tqrg.github.io/physalia/).

## Install

```
$ pip install physalia
```

## Example

````
from physalia.energy_profiler import AndroidUseCase

def prepare():
pass
def run():
pass

use_case = AndroidUseCase('login', 'com.test.app', '12', run, prepare)
use_case.profile()
````

## Contributing

Please help us improve this library!

If you have ideas for new features or anything behaves unexpectedly please report an issue.

If you find an issue you can actually help fixing please make a pull request of your code.

### Running tests

To run all tests and checks locally run:

`$ detox -e py27,py36`



Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

physalia-0.0.1.dev113-py3-none-any.whl (68.9 kB view details)

Uploaded Python 3

physalia-0.0.1.dev113-py2-none-any.whl (68.9 kB view details)

Uploaded Python 2

File details

Details for the file physalia-0.0.1.dev113-py3-none-any.whl.

File metadata

File hashes

Hashes for physalia-0.0.1.dev113-py3-none-any.whl
Algorithm Hash digest
SHA256 ad8879d69ad4f2c060ae2d28b64fc3f5905c18be4c0d9c0a5c99362ed69a1ad5
MD5 33b8f14b6aa9cf91b761f28f0ccb3b56
BLAKE2b-256 e6e815df1af98bf77f4bce794e01ddf62e0d8f970651c7c0d2eebad987dab7d5

See more details on using hashes here.

File details

Details for the file physalia-0.0.1.dev113-py2-none-any.whl.

File metadata

File hashes

Hashes for physalia-0.0.1.dev113-py2-none-any.whl
Algorithm Hash digest
SHA256 04f33873a02033a92e349a0a52475778bef9b766f544e0d12f0f9624e7a5d30d
MD5 e441774f12e1945bb248acc58fa0460c
BLAKE2b-256 3cf41e955cbd239d01888437077ae8aa315c4d3ae5d461a56cc8f776f7408b38

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