perftools
apkrepacker
$ python -m perftools.apkrepacker --help
usage: apkrepacker.py [-h] -i APK [-o OUTPUT] [--enable-debuggable] [--enable-profileable]
optional arguments:
-h, --help show this help message and exit
-i APK, --apk APK path of input apk
-o OUTPUT, --output OUTPUT
output path of repacked apk file
--enable-debuggable add debuggable in AndroidManifest.xml
--enable-profileable add profileable in AndroidManifest.xml
simpleperf
python -m perftools.simpleperf -h
usage: simpleperf.py [-h] -s SERIAL -p APP [-o OUTPUT] [-f FREQ] [-d DURATION]
optional arguments:
-h, --help show this help message and exit
-s SERIAL, --serial SERIAL
serial of device
-p APP, --app APP package name of app to be profiled
-o OUTPUT, --output OUTPUT
output path of perf data collected in device
-f FREQ, --freq FREQ frequency of simpleperf record
-d DURATION, --duration DURATION
duration of simpleperf record
perfdata
from perftools.perfdata import Perfdata
from pathlib import Path
import json
data = Perfdata("./perf.data")
threads = data.get_threads()
print(threads)
unitymain = threads["UnityMain"][0]
Path("a.json").write_text(json.dumps(unitymain.aggregate().json(), indent=1, ensure_ascii=False))
Metadata
Release files for perftools 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| perftools-0.2.5.tar.gz | 50.6 MB | Without provenance | Details for perftools-0.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| perftools-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for perftools-0.2.5-py3-none-any.whl |
Total release size: 101.2 MB
Release files / perftools-0.2.5.tar.gz
| Download URL | perftools-0.2.5.tar.gz |
|---|---|
| Size | 50.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce7480a8e1e8adfa4c9864346160b6efb6a6a4a5f8cb445e0519f7a74a8bf89f
|
|
BLAKE2b-256 checksum How to use checksums |
1caa1feba9e44c6f41c666f52955b56137c0dfe83a21c20809620c7772142226
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Release files / perftools-0.2.5-py3-none-any.whl
| Download URL | perftools-0.2.5-py3-none-any.whl |
|---|---|
| Size | 50.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
daeeb01a38449b7aa5129931cd7d9119dc0539349f182e3e9d923c9b2b1da65d
|
|
BLAKE2b-256 checksum How to use checksums |
5d2bace939eb51b8e537ed024c0c1b1efd268e87b29f801e022500c8bc1c4f4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Security for perftools 0.2.5
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.