Fin-Trend-Analyzer
Financial Trend Analyzer for AI and Technology Stocks
A Python package that analyzes financial news and sentiment to identify and summarize market trends and risks related to AI and technology stocks.
Overview
Fin-Trend-Analyzer is a linguistic tool that quickly assesses market perceptions and potential bubble indicators by processing text inputs from news articles, reports, or social media posts. It returns structured insights, such as key risk factors, sentiment scores, and trend summaries, using pattern matching to ensure consistent and reliable output.
Installation
pip install fin_trend_analyzer
Usage
from fin_trend_analyzer import fin_trend_analyzer
response = fin_trend_analyzer(user_input="This week's earnings report was outstanding.")
API Documentation
-
fin_trend_analyzer(user_input: str, api_key: Optional[str] = None, llm: Optional[BaseChatModel] = None) -> List[str]:user_input: The user input text to process.api_key: The API key for LLM7, default isNoneand will use the environment variableLLM7_API_KEY.llm: The langchain LLM instance to use, default isChatLLM7fromlangchain_llm7.
Example using a custom LLM instance (e.g., OpenAI, Anthropic, or Google):
from langchain_openai import ChatOpenAI from fin_trend_analyzer import fin_trend_analyzer llm = ChatOpenAI() response = fin_trend_analyzer(user_input="This week's earnings report was outstanding.", llm=llm)
Rate Limits
The default rate limits for LLM7 free tier are sufficient for most use cases of this package. If higher rate limits are needed, pass your own API key via environment variable LLM7_API_KEY or via passing it directly:
from fin_trend_analyzer import fin_trend_analyzer
response = fin_trend_analyzer(user_input="This week's earnings report was outstanding.", api_key="your_api_key")
You can get a free API key by registering at https://token.llm7.io/.
Author
Eugene Evstafev
- Email: hi@euegne.plus
- GitHub: https://github.com/chigwell
Metadata
Release files for fin-trend-analyzer 2025.12.21233059
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fin_trend_analyzer-2025.12.21233059.tar.gz | 5.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fin_trend_analyzer-2025.12.21233059-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.8 kB
Release files / fin_trend_analyzer-2025.12.21233059.tar.gz
| Download URL | fin_trend_analyzer-2025.12.21233059.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9436ee28587f9573fee07bdd900cbce9ec16f567f0d3a8b45f04f95f09b6dd51
|
|
BLAKE2b-256 checksum How to use checksums |
18c0cdfa9873e905fc43dc7f9f137869058c52d6768b9bf451990b49135f62b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Release files / fin_trend_analyzer-2025.12.21233059-py3-none-any.whl
| Download URL | fin_trend_analyzer-2025.12.21233059-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d94260cb5d61ef41611701c4141b3a88d35d19bae432a6a53ff120e136668d2
|
|
BLAKE2b-256 checksum How to use checksums |
eaf989a57d64962fa568a55e51e09915c31cb10b1a975bc59e75a5179a4a5ed0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|