tech-summary processes text to extract structured summaries of technical concepts, ensuring consistent and reliable output for developers, educators, and writers.
Project description
tech-summary
Package to extract structured summaries of technical concepts from text input.
Overview
This package uses pattern matching to ensure output consistency and reliability, avoiding unstructured or ambiguous responses. It's useful for developers, educators, or technical writers who need concise, formatted explanations without manual reformatting.
Installation
pip install tech_summary
Usage
from tech_summary import tech_summary
user_input = "Compare garbage collection and move semantics in programming languages."
response = tech_summary(user_input)
print(response)
You can also pass a LangChain LLM instance to use:
from langchain_llm7 import ChatLLM7
from tech_summary import tech_summary
llm = ChatLLM7()
response = tech_summary(user_input, llm=llm)
print(response)
You can also use another LLM instance (e.g. OpenAI, Anthropic, Google Generative AI) by passing your own instance:
from langchain_openai import ChatOpenAI
from tech_summary import tech_summary
llm = ChatOpenAI()
response = tech_summary(user_input, llm=llm)
print(response)
from langchain_anthropic import ChatAnthropic
from tech_summary import tech_summary
llm = ChatAnthropic()
response = tech_summary(user_input, llm=llm)
print(response)
from langchain_google_genai import ChatGoogleGenerativeAI
from tech_summary import tech_summary
llm = ChatGoogleGenerativeAI()
response = tech_summary(user_input, llm=llm)
print(response)
Configuration
You can configure the LLM7 API key by setting the LLM7_API_KEY environment variable or passing it directly to the tech_summary function:
tech_summary(user_input, api_key="your_api_key")
If you haven't registered for an API key, you can get one for free at https://token.llm7.io/.
GitHub
Raise issues at https://github.tech-summary.
Author
Eugene Evstafev hi@euegne.plus
Changelog
This package is under development. See GitHub for updates.
Acknowledgments
This package uses ChatLLM7 (https://pypi.org/project/langchain-llm7/) by default.
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 tech_summary-2025.12.21234318.tar.gz.
File metadata
- Download URL: tech_summary-2025.12.21234318.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e69444abbe91440749cda31f3e626516d8a563129edec6f18013cc3c62437941
|
|
| MD5 |
6455abc0e3286e406ff059dc542d69fa
|
|
| BLAKE2b-256 |
b3ee811a03e9b7a803e95ad5a05da033ce345100e3c71baa4590d8720b4ffb07
|
File details
Details for the file tech_summary-2025.12.21234318-py3-none-any.whl.
File metadata
- Download URL: tech_summary-2025.12.21234318-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4d1345c202b3ab087363b04f4397cd178b53d97be0e179f449ac92738fc7bc3
|
|
| MD5 |
cc7f452b229c22c596c38e18a390c12b
|
|
| BLAKE2b-256 |
49a2829d750f5ceb00cbd7287d6ce33fea8d0e66b15d5f1bf60850860b11456e
|