Deal Distiller
Overview
Deal Distiller is a Python package designed to distill complex business and technology news into easily digestible summaries. It focuses on the core implications and potential impact of mergers and acquisitions, providing concise, structured overviews of significant corporate events.
Installation
pip install deal_distiller
Usage
Basic Usage
from deal_distiller import deal_distiller
user_input = "Your news headline or article snippet here"
response = deal_distiller(user_input)
print(response)
Using a Custom LLM
You can use any LLM compatible with LangChain by passing your own LLM instance.
Example with OpenAI
from langchain_openai import ChatOpenAI
from deal_distiller import deal_distiller
llm = ChatOpenAI()
response = deal_distiller(user_input, llm=llm)
print(response)
Example with Anthropic
from langchain_anthropic import ChatAnthropic
from deal_distiller import deal_distiller
llm = ChatAnthropic()
response = deal_distiller(user_input, llm=llm)
print(response)
Example with Google
from langchain_google_genai import ChatGoogleGenerativeAI
from deal_distiller import deal_distiller
llm = ChatGoogleGenerativeAI()
response = deal_distiller(user_input, llm=llm)
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
ChatLLM7will be used. - api_key (Optional[str]): The API key for LLM7. If not provided, the environment variable
LLM7_API_KEYwill be used.
Default LLM
By default, Deal Distiller uses ChatLLM7 from langchain_llm7.
Rate Limits
The default rate limits for LLM7's free tier are sufficient for most use cases of this package. If you need higher rate limits, you can pass your own API key via the environment variable LLM7_API_KEY or directly via the api_key parameter.
from deal_distiller import deal_distiller
user_input = "Your news headline or article snippet here"
response = deal_distiller(user_input, api_key="your_api_key")
print(response)
You can get a free API key by registering at LLM7.
Author
- Eugene Evstafev - chigwell
- Email: hi@eugene.plus
License
This project is licensed under the MIT License - see the LICENSE file for details.
Issues
If you encounter any issues, please report them on the GitHub issues page.
Metadata
Release files for deal-distiller 2025.12.21080604
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 |
|---|---|---|---|---|
| deal_distiller-2025.12.21080604.tar.gz | 4.9 kB | Without provenance | Details for deal_distiller-2025.12.21080604.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deal_distiller-2025.12.21080604-py3-none-any.whl | Python 3 | none | any | Details for deal_distiller-2025.12.21080604-py3-none-any.whl |
Total release size: 10.4 kB
Release files / deal_distiller-2025.12.21080604.tar.gz
| Download URL | deal_distiller-2025.12.21080604.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
828535bc5b2d792214253093fb64f2a49fdca156cd7dbca2db785489c2ccb4d8
|
|
BLAKE2b-256 checksum How to use checksums |
9cff8f180688e9891c7ed87679efd7585b58a909a612fac2695c2931252a47cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Release files / deal_distiller-2025.12.21080604-py3-none-any.whl
| Download URL | deal_distiller-2025.12.21080604-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b967e3bbd3be6a4cbcad402e08236d048edc2cc086398bb98d2e3a99862c5207
|
|
BLAKE2b-256 checksum How to use checksums |
9b7addbf5b642c59742a13e2b1a5a2c6ed233e6f04da0783edf342085a6f5e52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Security for deal-distiller 2025.12.21080604
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.