Skip to main content

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

Release files for techsummly 2025.12.21100854

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

Source distribution (sdist)

Source distribution for techsummly 2025.12.21100854
File Size Uploaded
techsummly-2025.12.21100854.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for techsummly 2025.12.21100854
File Interpreter ABI Platform
techsummly-2025.12.21100854-py3-none-any.whl Python 3 none any Details

Total release size:8.8 kB

Release files / techsummly-2025.12.21100854.tar.gz

Download URL techsummly-2025.12.21100854.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e1b5c32c80d14e893eabec842c9d57ce1c76f6c2091f7d99a55b155662c0fcc1
BLAKE2b-256 checksum
How to use checksums
ce9e0865928d2afb62cb331d618427df754dc385ddd11e977db0f553345e0dfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Release files / techsummly-2025.12.21100854-py3-none-any.whl

Download URL techsummly-2025.12.21100854-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0843299386e920643962df41d7fd05bfd1759189efce09093dd18c211e723e7
BLAKE2b-256 checksum
How to use checksums
573d5fdb3b35faa4670bdd7cf42cfd2f135afa7824ec63b7fbbc47668650ca99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Release history Release notifications | RSS feed

This release

2025.12.21100854 This release

2 release files

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