Skip to main content

bizact-insights

PyPI version License: MIT Downloads LinkedIn

bizact-insights is a Python package designed to process text inputs related to corporate actions, such as trademark filings or product launches, and extract structured insights. It identifies key entities, actions, and contextual information from news snippets or official statements, enabling users to quickly grasp business-related developments.

Installation

Install the package via pip:

pip install bizact_insights

Usage

from bizact_insights import bizact_insights

# Example usage with default LLM7
results = bizact_insights(
    user_input="Apple announced the launch of a new product line in Europe.",
)
print(results)

Parameters

  • user_input (str): The input text to analyze.
  • llm (Optional[BaseChatModel]): An instance of a language model (e.g., from langchain). If not provided, the default ChatLLM7 will be used.
  • api_key (Optional[str]): API key for LLM7. If not provided, it can be set via the environment variable LLM7_API_KEY.

Details

This package relies on the ChatLLM7 class from langchain_llm7, which offers a straightforward interface to the LLM7 API. It can also accept custom language model instances, allowing integration with other providers such as OpenAI, Anthropic, or Google Generative AI.

Example with custom LLMs

from langchain_openai import ChatOpenAI
from bizact_insights import bizact_insights

llm = ChatOpenAI()
response = bizact_insights(user_input="Tesla reported record deliveries.", llm=llm)
print(response)
from langchain_anthropic import ChatAnthropic
from bizact_insights import bizact_insights

llm = ChatAnthropic()
response = bizact_insights(user_input="Microsoft announced a new cloud service.", llm=llm)
print(response)
from langchain_google_genai import ChatGoogleGenerativeAI
from bizact_insights import bizact_insights

llm = ChatGoogleGenerativeAI()
response = bizact_insights(user_input="Google is expanding its workspace features.", llm=llm)
print(response)

Rate Limits

The default usage via LLM7's free tier offers sufficient rate limits for most purposes. For higher throughput, you can obtain a free API key by registering at https://token.llm7.io/ and set it via the LLM7_API_KEY environment variable or pass it directly:

results = bizact_insights(user_input="Sample text", api_key="your_api_key_here")

Support & Issues

If you encounter issues or have questions, please open an issue on the GitHub repository.

Author

Eugene Evstafev
Email: hi@euegne.plus

GitHub: chigwell

Metadata

Release files for bizact-insights 2025.12.21201957

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

Source distribution (sdist)

Source distribution for bizact-insights 2025.12.21201957
File Size Uploaded
bizact_insights-2025.12.21201957.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bizact-insights 2025.12.21201957
File Interpreter ABI Platform
bizact_insights-2025.12.21201957-py3-none-any.whl Python 3 none any Details

Total release size: 12.6 kB

Release files / bizact_insights-2025.12.21201957.tar.gz

Download URL bizact_insights-2025.12.21201957.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
714b1b84ea8b9ad8aa0599f2925be63f57ebeebc00962875698640c7012e5e67
BLAKE2b-256 checksum
How to use checksums
33a3c5fe782b423b630686fbcce81a120aa7fbf971a0bc6b26bd0152f5adcf05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Release files / bizact_insights-2025.12.21201957-py3-none-any.whl

Download URL bizact_insights-2025.12.21201957-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3e8a9c980ac01410ba0174a4b1be16b7190a8342d9f0e6d1627f3323e78bad7
BLAKE2b-256 checksum
How to use checksums
1f1196477738814ddc292d2dbc447db81bb243a921ac296463550e8337ef8763
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Release history Release notifications | RSS feed

This release

2025.12.21201957 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