Skip to main content

A parser for Fastboot logs

Project description

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:

  1. Install the module using pip:

    $ pip install fastboot-log-parser
    
  2. Import the parser module and initialize in your Python code:

    from fastboot_log_parser import FlashLogParser
    
    # Initialize the parser
    parser = FlashLogParser
    
  3. 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())

Project details


Download files

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

Source Distribution

fastboot_log_parser-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distributions

fastboot_log_parser-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

fastboot_log_parser-0.1.0-py2.py3-none-any.whl (3.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file fastboot_log_parser-0.1.0.tar.gz.

File metadata

  • Download URL: fastboot_log_parser-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.5

File hashes

Hashes for fastboot_log_parser-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a36e6614ffac336017729a9c242071cff4e69c5e43647ed3f77945ae17c1dd6e
MD5 9553720fdf91e25a628b437bf0b5cea3
BLAKE2b-256 7c0f0c6d968dfebfc7e8713c6a6f7a7a2401b6a6ccd7fd3d37f05c454b877094

See more details on using hashes here.

File details

Details for the file fastboot_log_parser-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fastboot_log_parser-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 da0089656768a558b0ec94b4d752b9fb37a9afcf71d9dd21849fdb2a2b63f6c4
MD5 843629983bd0239ea8f2419a0d07e4f1
BLAKE2b-256 3cd86ffbd6592feea96c46f0bff4967d7de8a038711a8c34ad839f048577a8ec

See more details on using hashes here.

File details

Details for the file fastboot_log_parser-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for fastboot_log_parser-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ac3e9d2b2f62844f9546571e5d6f4c806b39336355ade29381bc57f1d9ba0a8a
MD5 d4a696796366810ec0b9b1eb91e98ecb
BLAKE2b-256 32cc990a888282d4bda45ca0a366942abffb101c2da9c77e63a93231fd7f2ed4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page