Skip to main content

A new package designed to process and structure text inputs related to software development and release notes. The package leverages llmatch-messages to ensure that the input text is parsed and format

Project description

Release Structurer

PyPI version License: MIT Downloads LinkedIn

A Python package designed to process and structure text inputs related to software development and release notes. The package leverages llmatch-messages to ensure that the input text is parsed and formatted consistently.

Installation

pip install release-structurer

Usage

Basic Usage

from release_structurer import release_structurer

user_input = "GDB 17.1 Released with shadow and guard stack support"
response = release_structurer(user_input)
print(response)

Using a Custom LLM

By default, the package uses ChatLLM7 from langchain_llm7. However, you can pass your own LLM instance if you want to use another LLM.

Example with OpenAI

from langchain_openai import ChatOpenAI
from release_structurer import release_structurer

llm = ChatOpenAI()
response = release_structurer(user_input, llm=llm)
print(response)

Example with Anthropic

from langchain_anthropic import ChatAnthropic
from release_structurer import release_structurer

llm = ChatAnthropic()
response = release_structurer(user_input, llm=llm)
print(response)

Example with Google

from langchain_google_genai import ChatGoogleGenerativeAI
from release_structurer import release_structurer

llm = ChatGoogleGenerativeAI()
response = release_structurer(user_input, llm=llm)
print(response)

Using a Custom API Key

The default rate limits for LLM7 free tier are sufficient for most use cases of this package. If you want higher rate limits, you can pass your own API key via the api_key parameter or set the LLM7_API_KEY environment variable.

Example with API Key

from release_structurer import release_structurer

user_input = "GDB 17.1 Released with shadow and guard stack support"
response = release_structurer(user_input, api_key="your_api_key")
print(response)

You can get a free API key by registering at LLM7.

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 package will use the LLM7_API_KEY environment variable or default to None.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Issues

If you encounter any issues, please report them on the GitHub issues page.

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

release_structurer-2025.12.20175834.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

release_structurer-2025.12.20175834-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file release_structurer-2025.12.20175834.tar.gz.

File metadata

File hashes

Hashes for release_structurer-2025.12.20175834.tar.gz
Algorithm Hash digest
SHA256 12a894016784bd25f3b8d8d58d66e90b63e8a055d366c6fad9d286186e396398
MD5 344721f505835610bf6053900f2f11dc
BLAKE2b-256 239429e679135ce74f129adab39097395514be182476c30eb6869af0f9be8ff9

See more details on using hashes here.

File details

Details for the file release_structurer-2025.12.20175834-py3-none-any.whl.

File metadata

File hashes

Hashes for release_structurer-2025.12.20175834-py3-none-any.whl
Algorithm Hash digest
SHA256 f49afe420a0a0ae7f9b414839b17a12ff13f23af099d6b8d3474c538470562a2
MD5 68141c92f08255e6f5c0f1fc76ef4709
BLAKE2b-256 fa92608c06feb7fa9d1ca340fa8245859574c101b9a5aa5fbeaa1f1701fc1870

See more details on using hashes here.

Supported by

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