ADB logcat to Pandas DataFrame
pip install a-pandas-ex-logcat2df
from a_pandas_ex_logcat2df import pd_add_adb_logcat_to_df
import pandas as pd
pd_add_adb_logcat_to_df()
adb_path = "C:\\Users\\USERNAME\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe"
deviceserial = "localhost:5745"
df = pd.Q_logcat2df(adb_path=adb_path, deviceserial=deviceserial,exit_keys='ctrl+x', timeout=None)
....
b'12-01 10:05:39.212 24637 24637 E System : \tat android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1053)\r\n'
b'12-01 10:05:39.212 24637 24637 E System : \tat android.app.ActivityThread.handleBindApplication(ActivityThread.java:5418)\r\n'
b'12-01 10:05:39.212 24637 24637 E System : \tat android.app.ActivityThread.-wrap2(ActivityThread.java)\r\n'
b'12-01 10:05:39.212 24637 24637 E System : \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1548)\r\n'
b'12-01 10:05:39.212 24637 24637 E System : \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\n'
b'12-01 10:05:39.212 24637 24637 E System : \tat android.os.Looper.loop(Looper.java:154)\r\n'
b'12-01 10:05:39.212 24637 24637 E System : \tat android.app.ActivityThread.main(ActivityThread.ja
....
# ctrl+x
Killing the process
df
Out[3]:
aa_log_1 ... aa_whole_log
0 audio_hw_primary ... audio_hw_primary: choose pcmC0D0p for 0
1 InputMethodManagerService ... InputMethodManagerService: packageName=com.goo...
2 InputMethodManagerService ... InputMethodManagerService: ime_enabled = false...
3 InputMethodManagerService ... InputMethodManagerService: packageName=com.goo...
4 InputMethodManagerService ... InputMethodManagerService: ime_enabled = false...
.. ... ... ...
345 BitmapDrawable ... BitmapDrawable: BitmapDrawable cannot decode
346 android.widget.GridLayout ... android.widget.GridLayout: horizontal constrai...
347 View ... View : requestLayout() improperly called by...
348 WatchWhileTimeBarController ... WatchWhileTimeBarController: isScrubbing: no a...
349 WatchWhileTimeBarController ... WatchWhileTimeBarController: getDisplayCurrent...
[350 rows x 9 columns]
Metadata
Release files for a-pandas-ex-logcat2df 0.10
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 |
|---|---|---|---|---|
| a_pandas_ex_logcat2df-0.10.tar.gz | 5.4 kB | Without provenance | Details for a_pandas_ex_logcat2df-0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| a_pandas_ex_logcat2df-0.10-py3-none-any.whl | Python 3 | none | any | Details for a_pandas_ex_logcat2df-0.10-py3-none-any.whl |
Total release size: 12.7 kB
Release files / a_pandas_ex_logcat2df-0.10.tar.gz
| Download URL | a_pandas_ex_logcat2df-0.10.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1096107eb63fb9e25f52074750bf9978af511628a60d3036da490846af50480
|
|
BLAKE2b-256 checksum How to use checksums |
1e053b5859574df316dd43f24fe80f4aa0882da2d83a475d396b7382cb59491f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / a_pandas_ex_logcat2df-0.10-py3-none-any.whl
| Download URL | a_pandas_ex_logcat2df-0.10-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2fa805c1f516f9f03b094e2a56dc9a66c2f45ab1d6014480ecc888a70f1e0fa5
|
|
BLAKE2b-256 checksum How to use checksums |
877b3c2dea6b0504289f6b027f03db0c103a3c119430d39966c8b4f2050099e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for a-pandas-ex-logcat2df 0.10
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.