Skip to main content

Buildlog Parser

PyPI version License: MIT Downloads LinkedIn

A new package that extracts and structures build log information from raw text inputs.

Overview

The package takes unstructured build log text as input and uses llmatch-messages to parse and extract key details such as build status, errors, warnings, and timestamps. It returns a structured output that includes categorized log entries, making it easier to analyze and troubleshoot build processes.

Installation

pip install buildlog_parser

Usage

from buildlog_parser import buildlog_parser

response = buildlog_parser(
    user_input="unstructured_build_log_text",
    api_key=None,  # or os.getenv("LLM7_API_KEY")
    llm=None,  # or ChatLLM7()
)

Parameters

  • user_input: str - the user input text to process
  • llm: Optional[BaseChatModel] - the langchain llm instance to use, if not provided the default ChatLLM7 will be used.
  • api_key: Optional[str] - the api key for llm7, if not provided the default ChatLLM7 will be used from langchain_llm7 https://pypi.org/project/langchain-lab7/ by default.

You can safely pass your own llm instance (based on https://docs.langchain.com/#how-do-i-use-this-library) if you want to use another LLM, via passing it like:

from langchain_openai import ChatOpenAI
from buildlog_parser import buildlog_parser
llm = ChatOpenAI()
response = buildlog_parser(user_input="unstructured_build_log_text", llm=llm)

or for example to use the anthropic https://docs.langchain.com/#anthropic:

from langchain_anthropic import ChatAnthropic
from buildlog_parser import buildlog_parser
llm = ChatAnthropic()
response = buildlog_parser(user_input="unstructured_build_log_text", llm=llm)

or google https://docs.langchain.com/#google:

from langchain_google_genai import ChatGoogleGenerativeAI
from buildlog_parser import buildlog_parser
llm = ChatGoogleGenerativeAI()
response = buildlog_parser(user_input="unstructured_build_log_text", llm=llm)

Rate Limits

The default rate limits for LLM7 free tier are sufficient for most use cases of this package. If you want higher rate limits for LLM7 you can pass your own api_key via environment variable LLM7_API_KEY or via passing it directly like:

from buildlog_parser import buildlog_parser
response = buildlog_parser(
    user_input="unstructured_build_log_text",
    api_key="your_api_key",
)

You can get a free api key by registering at https://token.llm7.io/

GitHub Issues

If you encounter any issues or would like to contribute to the project, please visit: https://github.com/chigwell/buildlog-parser

Author

Eugene Evstafev - hi@euegne.plus

Metadata

Release files for buildlog-parser 2025.12.22082056

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

Source distribution (sdist)

Source distribution for buildlog-parser 2025.12.22082056
File Size Uploaded Provenance Actions
buildlog_parser-2025.12.22082056.tar.gz 5.6 kB Without provenance Details for buildlog_parser-2025.12.22082056.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for buildlog-parser 2025.12.22082056
File Interpreter ABI Platform Actions
buildlog_parser-2025.12.22082056-py3-none-any.whl Python 3 none any Details for buildlog_parser-2025.12.22082056-py3-none-any.whl

Total release size: 11.9 kB

Release files / buildlog_parser-2025.12.22082056.tar.gz

Download URL buildlog_parser-2025.12.22082056.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2f10ea8c2f18b643cefcfe436444567f60ce4ef70a944c90df2aba93a976093f
BLAKE2b-256 checksum
How to use checksums
2623adc7e60a67fce1795064c33216e5fe47a86c9acb364feca4dc41d3ab2d8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Release files / buildlog_parser-2025.12.22082056-py3-none-any.whl

Download URL buildlog_parser-2025.12.22082056-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26eb913ac64ef4275f226c889cce62cbce21add54b4d1f1cd24f7a9a411926aa
BLAKE2b-256 checksum
How to use checksums
22d51bc83a159d08a1f081bbee27e05392e5207ad36096454bc3fb61cd1935d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Security for buildlog-parser 2025.12.22082056

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.

Release history Release notifications | RSS feed

This release
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