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
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 defaultChatLLM7will be used.api_key(Optional[str]): The API key for LLM7. If not provided, the package will use theLLM7_API_KEYenvironment variable or default toNone.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
- Eugene Evstafev - chigwell - hi@eugene.plus
Issues
If you encounter any issues, please report them on the GitHub issues page.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file release_structurer-2025.12.20175834.tar.gz.
File metadata
- Download URL: release_structurer-2025.12.20175834.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12a894016784bd25f3b8d8d58d66e90b63e8a055d366c6fad9d286186e396398
|
|
| MD5 |
344721f505835610bf6053900f2f11dc
|
|
| BLAKE2b-256 |
239429e679135ce74f129adab39097395514be182476c30eb6869af0f9be8ff9
|
File details
Details for the file release_structurer-2025.12.20175834-py3-none-any.whl.
File metadata
- Download URL: release_structurer-2025.12.20175834-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f49afe420a0a0ae7f9b414839b17a12ff13f23af099d6b8d3474c538470562a2
|
|
| MD5 |
68141c92f08255e6f5c0f1fc76ef4709
|
|
| BLAKE2b-256 |
fa92608c06feb7fa9d1ca340fa8245859574c101b9a5aa5fbeaa1f1701fc1870
|