fin-trend-analyzer analyzes financial news and sentiment to identify trends and risks in AI and tech stocks, providing structured insights for quick market assessment.
Project description
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
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 fin_trend_analyzer-2025.12.21233059.tar.gz.
File metadata
- Download URL: fin_trend_analyzer-2025.12.21233059.tar.gz
- Upload date:
- Size: 5.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 |
9436ee28587f9573fee07bdd900cbce9ec16f567f0d3a8b45f04f95f09b6dd51
|
|
| MD5 |
39b6d7cd58c52bd08fb3476b6fd21aa7
|
|
| BLAKE2b-256 |
18c0cdfa9873e905fc43dc7f9f137869058c52d6768b9bf451990b49135f62b8
|
File details
Details for the file fin_trend_analyzer-2025.12.21233059-py3-none-any.whl.
File metadata
- Download URL: fin_trend_analyzer-2025.12.21233059-py3-none-any.whl
- Upload date:
- Size: 5.8 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 |
0d94260cb5d61ef41611701c4141b3a88d35d19bae432a6a53ff120e136668d2
|
|
| MD5 |
51efc77db501161a37c2162c2e7b10f2
|
|
| BLAKE2b-256 |
eaf989a57d64962fa568a55e51e09915c31cb10b1a975bc59e75a5179a4a5ed0
|