Fastboot Log Parser
Fastboot Log Parser is a Python module designed to parse logs from stdout during Fastboot flash image process. It converts the status into events and outputs the current status in JSON format.
Usage
To use the Fastboot Log Parser module in your Python project, follow these steps:
-
Install the module using pip:
$ pip install fastboot-log-parser
-
Import the parser module and initialize in your Python code:
from fastboot_log_parser import FlashLogParser # Initialize the parser parser = FlashLogParser
-
Parse the log and get result as json
Parse log
parser.parse_log(self.logger)
Output the parsed log as json event
print(self.parser.get_event_as_json())
Output the parsed history as json list
print(self.parser.get_event_history_as_json())
Metadata
Release files for fastboot-log-parser 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fastboot_log_parser-0.1.1.tar.gz | 3.6 kB | Details |
Release files / fastboot_log_parser-0.1.1.tar.gz
| Download URL | fastboot_log_parser-0.1.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c52cb51cc76f83b194754d8d08c25332d07a20e440cda55cff3c16b4fc59fc82
|
|
BLAKE2b-256 checksum How to use checksums |
b07e2e93cf7fd513e8cdd549aa5dbeb8aae55e1852f02ab3e2b3e2e86b3ec012
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|