secsummarize
A Python package for generating structured summaries of security-related topics from user-provided text.
Features
- Extracts key insights, vulnerabilities, and recommendations from security-related text.
- Supports custom LLM instances for flexible integration.
- Uses ChatLLM7 by default (from langchain_llm7).
- Free tier rate limits are sufficient for most use cases.
Installation
pip install secsummarize
Usage
Basic Usage
from secsummarize import secsummarize
user_input = "Your security-related text here."
response = secsummarize(user_input)
print(response)
Using a Custom LLM
OpenAI
from langchain_openai import ChatOpenAI
from secsummarize import secsummarize
llm = ChatOpenAI()
response = secsummarize(user_input, llm=llm)
print(response)
Anthropic
from langchain_anthropic import ChatAnthropic
from secsummarize import secsummarize
llm = ChatAnthropic()
response = secsummarize(user_input, llm=llm)
print(response)
from langchain_google_genai import ChatGoogleGenerativeAI
from secsummarize import secsummarize
llm = ChatGoogleGenerativeAI()
response = secsummarize(user_input, llm=llm)
print(response)
Using an API Key
from secsummarize import secsummarize
user_input = "Your security-related text here."
api_key = "your_api_key_here"
response = secsummarize(user_input, api_key=api_key)
print(response)
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 environment variableLLM7_API_KEYwill be used.
Getting an API Key
You can get a free API key by registering at LLM7.
Issues
If you encounter any issues, please report them on the GitHub issues page.
Author
- Eugene Evstafev - LinkedIn
- Email: hi@eugene.plus
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for secsummarize 2025.12.20202849
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| secsummarize-2025.12.20202849.tar.gz | 3.7 kB | Without provenance | Details for secsummarize-2025.12.20202849.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| secsummarize-2025.12.20202849-py3-none-any.whl | Python 3 | none | any | Details for secsummarize-2025.12.20202849-py3-none-any.whl |
Total release size: 8.0 kB
Release files / secsummarize-2025.12.20202849.tar.gz
| Download URL | secsummarize-2025.12.20202849.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4abf32b855f5f6b29e37d0e05cec69c77b59eae7bf1438726e4a79b99c511103
|
|
BLAKE2b-256 checksum How to use checksums |
c5657a4eff3505ac4e6e485d317ed86139288be22a13e29cda156c13a34c5560
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Release files / secsummarize-2025.12.20202849-py3-none-any.whl
| Download URL | secsummarize-2025.12.20202849-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
202de1a8baea42f63000968cdf2d55a7535d511344539a65f530f2d96a0c0ae1
|
|
BLAKE2b-256 checksum How to use checksums |
e7b506714cf97d8ff62bfbbf3a489ab2232e3be9e351ea7410e6cee99b25285b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Security for secsummarize 2025.12.20202849
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.