Skip to main content

A new package designed to facilitate structured and reliable interactions with language models for analyzing and summarizing technical discussions. Given a detailed description or excerpt of a technic

Project description

TechSummly

PyPI version License: MIT Downloads LinkedIn

A Python package for structured and reliable interactions with language models to analyze and summarize technical discussions. Given a detailed technical input, TechSummly processes the text to generate a clear, structured summary highlighting key points, potential issues, and insights. The output is consistently formatted for easy parsing and downstream processing.

Features

  • Structured output using regex pattern matching
  • Support for multiple language models via LangChain
  • Automatic retries for reliable extraction
  • Predefined prompt templates for technical summarization

Installation

Install the package using pip:

pip install techsummly

Usage

Using the Default LLM (ChatLLM7)

By default, TechSummly uses the ChatLLM7 model. You can use it without providing an API key for limited usage, or provide your own for higher rate limits.

from techsummly import techsummly

user_input = "Your detailed technical input here..."
response = techsummly(user_input)
print(response)

Using a Custom API Key for LLM7

You can pass your LLM7 API key directly or set it as an environment variable.

from techsummly import techsummly

user_input = "Your technical input..."
response = techsummly(user_input, api_key="your_api_key_here")

Or set the environment variable:

export LLM7_API_KEY="your_api_key_here"

Using Other Language Models

TechSummly supports any LangChain-compatible chat model. Here are examples for popular providers:

OpenAI

from langchain_openai import ChatOpenAI
from techsummly import techsummly

llm = ChatOpenAI()
user_input = "Your technical input..."
response = techsummly(user_input, llm=llm)

Anthropic

from langchain_anthropic import ChatAnthropic
from techsummly import techsummly

llm = ChatAnthropic()
user_input = "Your technical input..."
response = techsummly(user_input, llm=llm)

Google Generative AI

from langchain_google_genai import ChatGoogleGenerativeAI
from techsummly import techsummly

llm = ChatGoogleGenerativeAI()
user_input = "Your technical input..."
response = techsummly(user_input, llm=llm)

Parameters

  • user_input (str): The technical text to process.
  • llm (Optional[BaseChatModel]): A LangChain chat model instance. Defaults to ChatLLM7.
  • api_key (Optional[str]): API key for LLM7. If not provided, the package checks the LLM7_API_KEY environment variable.

Default Model

TechSummly uses ChatLLM7 by default. The free tier rate limits are sufficient for most use cases. For higher limits, get a free API key by registering at https://token.llm7.io/.

Error Handling

If the language model fails to produce a response matching the expected pattern, a RuntimeError is raised with details.

Contributing

Found a bug or have a feature request? Please open an issue on GitHub.

Author

Eugene Evstafev
Email: hi@euegne.plus
GitHub: chigwell

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

techsummly-2025.12.21100854.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

techsummly-2025.12.21100854-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file techsummly-2025.12.21100854.tar.gz.

File metadata

  • Download URL: techsummly-2025.12.21100854.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for techsummly-2025.12.21100854.tar.gz
Algorithm Hash digest
SHA256 e1b5c32c80d14e893eabec842c9d57ce1c76f6c2091f7d99a55b155662c0fcc1
MD5 cad4b4de257985c869a0fc3ebe46a607
BLAKE2b-256 ce9e0865928d2afb62cb331d618427df754dc385ddd11e977db0f553345e0dfe

See more details on using hashes here.

File details

Details for the file techsummly-2025.12.21100854-py3-none-any.whl.

File metadata

File hashes

Hashes for techsummly-2025.12.21100854-py3-none-any.whl
Algorithm Hash digest
SHA256 a0843299386e920643962df41d7fd05bfd1759189efce09093dd18c211e723e7
MD5 f57557916e080c729501f5b9cf63c082
BLAKE2b-256 573d5fdb3b35faa4670bdd7cf42cfd2f135afa7824ec63b7fbbc47668650ca99

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