Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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



Metadata

Release files for physalia 0.0.1.dev113

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

Built distributions (wheels)

Table of built distributions (wheels) for physalia 0.0.1.dev113
File Interpreter ABI Platform Actions
physalia-0.0.1.dev113-py3-none-any.whl Python 3 none any Details for physalia-0.0.1.dev113-py3-none-any.whl
physalia-0.0.1.dev113-py2-none-any.whl Python 2 none any Details for physalia-0.0.1.dev113-py2-none-any.whl

Total release size: 137.7 kB

Release files / physalia-0.0.1.dev113-py3-none-any.whl

Download URL physalia-0.0.1.dev113-py3-none-any.whl
Size 68.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad8879d69ad4f2c060ae2d28b64fc3f5905c18be4c0d9c0a5c99362ed69a1ad5
BLAKE2b-256 checksum
How to use checksums
e6e815df1af98bf77f4bce794e01ddf62e0d8f970651c7c0d2eebad987dab7d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / physalia-0.0.1.dev113-py2-none-any.whl

Download URL physalia-0.0.1.dev113-py2-none-any.whl
Size 68.9 kB
Tags Python 2
SHA-256 checksum
How to use checksums
04f33873a02033a92e349a0a52475778bef9b766f544e0d12f0f9624e7a5d30d
BLAKE2b-256 checksum
How to use checksums
3cf41e955cbd239d01888437077ae8aa315c4d3ae5d461a56cc8f776f7408b38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for physalia 0.0.1.dev113

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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