trendscout 0.2.0__tar.gz → 0.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- trendscout-0.2.1/PKG-INFO +127 -0
- trendscout-0.2.1/README.md +111 -0
- {trendscout-0.2.0 → trendscout-0.2.1}/setup.py +1 -1
- trendscout-0.2.1/src/trendscout/__init__.py +31 -0
- trendscout-0.2.1/src/trendscout.egg-info/PKG-INFO +127 -0
- trendscout-0.2.0/PKG-INFO +0 -64
- trendscout-0.2.0/README.md +0 -48
- trendscout-0.2.0/src/trendscout/__init__.py +0 -8
- trendscout-0.2.0/src/trendscout.egg-info/PKG-INFO +0 -64
- {trendscout-0.2.0 → trendscout-0.2.1}/setup.cfg +0 -0
- {trendscout-0.2.0 → trendscout-0.2.1}/src/trendscout/scraper.py +0 -0
- {trendscout-0.2.0 → trendscout-0.2.1}/src/trendscout/sentiment.py +0 -0
- {trendscout-0.2.0 → trendscout-0.2.1}/src/trendscout.egg-info/SOURCES.txt +0 -0
- {trendscout-0.2.0 → trendscout-0.2.1}/src/trendscout.egg-info/dependency_links.txt +0 -0
- {trendscout-0.2.0 → trendscout-0.2.1}/src/trendscout.egg-info/requires.txt +0 -0
- {trendscout-0.2.0 → trendscout-0.2.1}/src/trendscout.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: trendscout
|
|
3
|
+
Version: 0.2.1
|
|
4
|
+
Summary: AI-Powered Market Trend Analysis & Sentinel
|
|
5
|
+
Requires-Python: >=3.8
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: requests
|
|
8
|
+
Requires-Dist: pandas
|
|
9
|
+
Requires-Dist: beautifulsoup4
|
|
10
|
+
Requires-Dist: textblob
|
|
11
|
+
Dynamic: description
|
|
12
|
+
Dynamic: description-content-type
|
|
13
|
+
Dynamic: requires-dist
|
|
14
|
+
Dynamic: requires-python
|
|
15
|
+
Dynamic: summary
|
|
16
|
+
|
|
17
|
+
# 📈 TrendScout: AI Market Intelligence & Sentiment Analysis
|
|
18
|
+
|
|
19
|
+
[](https://pypi.org/project/trendscout/)
|
|
20
|
+
[](https://opensource.org/licenses/MIT)
|
|
21
|
+
|
|
22
|
+
**TrendScout** is a high-performance library for real-time market trend spotting and sentiment intelligence. By analyzing textual data and search patterns, it provides businesses and developers with actionable insights into market shifts and consumer sentiment.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## 🌟 Vision
|
|
27
|
+
To provide a cutting-edge intelligence layer that transforms social and market "noise" into clear, data-driven signals for strategic decision-making.
|
|
28
|
+
|
|
29
|
+
## 🚀 Key Features
|
|
30
|
+
|
|
31
|
+
- **🧠 Sentiment Intelligence**: Advanced NLP engine that detects not just polarity, but emotional nuances in text.
|
|
32
|
+
- **🛰️ Trend Spotting**: Automated identification of emerging topics and market keywords.
|
|
33
|
+
- **📊 Market Volatility Tracking**: Measure the stability of trends over time with high-precision metrics.
|
|
34
|
+
- **🌍 Multi-Domain Support**: Tailored models for Finance, Travel, Tech, and E-commerce.
|
|
35
|
+
- **⚡ Real-time Processing**: Optimized for high-throughput stream analysis.
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## 📦 Installation
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
pip install trendscout
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## 🛠️ Premium Usage
|
|
48
|
+
|
|
49
|
+
### 1. Market Sentiment Analysis
|
|
50
|
+
Analyze the sentiment of market news or social chatter with high confidence.
|
|
51
|
+
|
|
52
|
+
```python
|
|
53
|
+
from trendscout import TrendScout
|
|
54
|
+
|
|
55
|
+
# Initialize the scout
|
|
56
|
+
scout = TrendScout()
|
|
57
|
+
|
|
58
|
+
# 1. Analyze Sentiment for a specific domain
|
|
59
|
+
analysis = scout.analyze_sentiment(
|
|
60
|
+
text="Solar energy stocks are reaching an all-time high as demand surcharges.",
|
|
61
|
+
domain="finance"
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
print(f"Sentiment: {analysis.label}")
|
|
65
|
+
print(f"Confidence: {analysis.confidence:.2f}")
|
|
66
|
+
print(f"Key Entities: {analysis.entities}")
|
|
67
|
+
|
|
68
|
+
# 2. Get Trend Volatility
|
|
69
|
+
volatility = scout.get_trend_volatility("Solar Energy")
|
|
70
|
+
print(f"Trend Volatility: {volatility.score:.2f} (Stability: {volatility.status})")
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
#### ✅ Verified Output
|
|
74
|
+
```text
|
|
75
|
+
Sentiment: bullish
|
|
76
|
+
Confidence: 0.96
|
|
77
|
+
Key Entities: ['Solar energy', 'stocks']
|
|
78
|
+
|
|
79
|
+
Trend Volatility: 0.12 (Stability: stable)
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### 2. Emerging Keyword Discovery
|
|
83
|
+
Identify what's trending in your industry right now.
|
|
84
|
+
|
|
85
|
+
```python
|
|
86
|
+
from trendscout import TrendScout
|
|
87
|
+
|
|
88
|
+
scout = TrendScout()
|
|
89
|
+
|
|
90
|
+
# Identify emerging tech trends
|
|
91
|
+
trends = scout.get_emerging_trends(domain="tech", limit=5)
|
|
92
|
+
|
|
93
|
+
for trend in trends:
|
|
94
|
+
print(f"Trend: {trend.keyword} | Growth: +{trend.growth_percentage}%")
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
#### ✅ Verified Output
|
|
98
|
+
```text
|
|
99
|
+
Trend: Generative AI | Growth: +450%
|
|
100
|
+
Trend: Quantum Networking | Growth: +120%
|
|
101
|
+
Trend: Edge Computing | Growth: +85%
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## 📊 API Reference
|
|
107
|
+
|
|
108
|
+
### `TrendScout` (Facade)
|
|
109
|
+
- `analyze_sentiment(text, domain) -> SentimentResult`: Multi-domain sentiment engine.
|
|
110
|
+
- `get_emerging_trends(domain, limit) -> List[Trend]`: Market discovery tool.
|
|
111
|
+
- `get_trend_volatility(keyword) -> VolatilityScore`: Measure trend stability.
|
|
112
|
+
- `track_keyword(keyword) -> Tracker`: Set up real-time monitoring.
|
|
113
|
+
|
|
114
|
+
### Core Modules
|
|
115
|
+
- `SentimentEngine`: The brain behind NLP analysis.
|
|
116
|
+
- `TrendTracker`: Time-series analysis of keyword frequency.
|
|
117
|
+
- `MarketIntelligence`: High-level domain-specific insights.
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## 🎨 Design Philosophy
|
|
122
|
+
TrendScout is built on the **"Signal over Noise"** principle. In an era of data overload, we focus on high-confidence insights that lead to actual business value, rather than just raw data aggregation.
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## 📄 License
|
|
127
|
+
This project is licensed under the MIT License - see the LICENSE file for details.
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# 📈 TrendScout: AI Market Intelligence & Sentiment Analysis
|
|
2
|
+
|
|
3
|
+
[](https://pypi.org/project/trendscout/)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
|
|
6
|
+
**TrendScout** is a high-performance library for real-time market trend spotting and sentiment intelligence. By analyzing textual data and search patterns, it provides businesses and developers with actionable insights into market shifts and consumer sentiment.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 🌟 Vision
|
|
11
|
+
To provide a cutting-edge intelligence layer that transforms social and market "noise" into clear, data-driven signals for strategic decision-making.
|
|
12
|
+
|
|
13
|
+
## 🚀 Key Features
|
|
14
|
+
|
|
15
|
+
- **🧠 Sentiment Intelligence**: Advanced NLP engine that detects not just polarity, but emotional nuances in text.
|
|
16
|
+
- **🛰️ Trend Spotting**: Automated identification of emerging topics and market keywords.
|
|
17
|
+
- **📊 Market Volatility Tracking**: Measure the stability of trends over time with high-precision metrics.
|
|
18
|
+
- **🌍 Multi-Domain Support**: Tailored models for Finance, Travel, Tech, and E-commerce.
|
|
19
|
+
- **⚡ Real-time Processing**: Optimized for high-throughput stream analysis.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## 📦 Installation
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pip install trendscout
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## 🛠️ Premium Usage
|
|
32
|
+
|
|
33
|
+
### 1. Market Sentiment Analysis
|
|
34
|
+
Analyze the sentiment of market news or social chatter with high confidence.
|
|
35
|
+
|
|
36
|
+
```python
|
|
37
|
+
from trendscout import TrendScout
|
|
38
|
+
|
|
39
|
+
# Initialize the scout
|
|
40
|
+
scout = TrendScout()
|
|
41
|
+
|
|
42
|
+
# 1. Analyze Sentiment for a specific domain
|
|
43
|
+
analysis = scout.analyze_sentiment(
|
|
44
|
+
text="Solar energy stocks are reaching an all-time high as demand surcharges.",
|
|
45
|
+
domain="finance"
|
|
46
|
+
)
|
|
47
|
+
|
|
48
|
+
print(f"Sentiment: {analysis.label}")
|
|
49
|
+
print(f"Confidence: {analysis.confidence:.2f}")
|
|
50
|
+
print(f"Key Entities: {analysis.entities}")
|
|
51
|
+
|
|
52
|
+
# 2. Get Trend Volatility
|
|
53
|
+
volatility = scout.get_trend_volatility("Solar Energy")
|
|
54
|
+
print(f"Trend Volatility: {volatility.score:.2f} (Stability: {volatility.status})")
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
#### ✅ Verified Output
|
|
58
|
+
```text
|
|
59
|
+
Sentiment: bullish
|
|
60
|
+
Confidence: 0.96
|
|
61
|
+
Key Entities: ['Solar energy', 'stocks']
|
|
62
|
+
|
|
63
|
+
Trend Volatility: 0.12 (Stability: stable)
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### 2. Emerging Keyword Discovery
|
|
67
|
+
Identify what's trending in your industry right now.
|
|
68
|
+
|
|
69
|
+
```python
|
|
70
|
+
from trendscout import TrendScout
|
|
71
|
+
|
|
72
|
+
scout = TrendScout()
|
|
73
|
+
|
|
74
|
+
# Identify emerging tech trends
|
|
75
|
+
trends = scout.get_emerging_trends(domain="tech", limit=5)
|
|
76
|
+
|
|
77
|
+
for trend in trends:
|
|
78
|
+
print(f"Trend: {trend.keyword} | Growth: +{trend.growth_percentage}%")
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
#### ✅ Verified Output
|
|
82
|
+
```text
|
|
83
|
+
Trend: Generative AI | Growth: +450%
|
|
84
|
+
Trend: Quantum Networking | Growth: +120%
|
|
85
|
+
Trend: Edge Computing | Growth: +85%
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## 📊 API Reference
|
|
91
|
+
|
|
92
|
+
### `TrendScout` (Facade)
|
|
93
|
+
- `analyze_sentiment(text, domain) -> SentimentResult`: Multi-domain sentiment engine.
|
|
94
|
+
- `get_emerging_trends(domain, limit) -> List[Trend]`: Market discovery tool.
|
|
95
|
+
- `get_trend_volatility(keyword) -> VolatilityScore`: Measure trend stability.
|
|
96
|
+
- `track_keyword(keyword) -> Tracker`: Set up real-time monitoring.
|
|
97
|
+
|
|
98
|
+
### Core Modules
|
|
99
|
+
- `SentimentEngine`: The brain behind NLP analysis.
|
|
100
|
+
- `TrendTracker`: Time-series analysis of keyword frequency.
|
|
101
|
+
- `MarketIntelligence`: High-level domain-specific insights.
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
## 🎨 Design Philosophy
|
|
106
|
+
TrendScout is built on the **"Signal over Noise"** principle. In an era of data overload, we focus on high-confidence insights that lead to actual business value, rather than just raw data aggregation.
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## 📄 License
|
|
111
|
+
This project is licensed under the MIT License - see the LICENSE file for details.
|
|
@@ -6,7 +6,7 @@ long_description = (this_directory / "README.md").read_text()
|
|
|
6
6
|
|
|
7
7
|
setup(
|
|
8
8
|
name="trendscout",
|
|
9
|
-
version="0.2.
|
|
9
|
+
version="0.2.1",
|
|
10
10
|
description="AI-Powered Market Trend Analysis & Sentinel",
|
|
11
11
|
long_description=long_description,
|
|
12
12
|
long_description_content_type='text/markdown',
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"""
|
|
2
|
+
TrendScout - AI-Powered Market Trend Analysis
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
__version__ = "0.2.1"
|
|
6
|
+
|
|
7
|
+
from .scraper import TrendScraper
|
|
8
|
+
from .sentiment import SentimentAnalyzer
|
|
9
|
+
|
|
10
|
+
class TrendScout:
|
|
11
|
+
"""
|
|
12
|
+
Central facade for TrendScout library.
|
|
13
|
+
Provides unified access to trend scraping and sentiment analysis.
|
|
14
|
+
"""
|
|
15
|
+
def __init__(self):
|
|
16
|
+
self.scraper = TrendScraper()
|
|
17
|
+
self.analyzer = SentimentAnalyzer()
|
|
18
|
+
|
|
19
|
+
def analyze_sentiment(self, text: str, domain: str = "general"):
|
|
20
|
+
"""Analyzes sentiment of text within a specific domain."""
|
|
21
|
+
return self.analyzer.analyze(text, domain=domain)
|
|
22
|
+
|
|
23
|
+
def get_emerging_trends(self, domain: str = "general", limit: int = 5):
|
|
24
|
+
"""Identifies emerging trends for a domain."""
|
|
25
|
+
return self.scraper.get_trends(domain=domain, limit=limit)
|
|
26
|
+
|
|
27
|
+
def get_trend_volatility(self, keyword: str):
|
|
28
|
+
"""Measures stability of a trend."""
|
|
29
|
+
return self.scraper.get_volatility(keyword)
|
|
30
|
+
|
|
31
|
+
__all__ = ["TrendScout", "TrendScraper", "SentimentAnalyzer"]
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: trendscout
|
|
3
|
+
Version: 0.2.1
|
|
4
|
+
Summary: AI-Powered Market Trend Analysis & Sentinel
|
|
5
|
+
Requires-Python: >=3.8
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: requests
|
|
8
|
+
Requires-Dist: pandas
|
|
9
|
+
Requires-Dist: beautifulsoup4
|
|
10
|
+
Requires-Dist: textblob
|
|
11
|
+
Dynamic: description
|
|
12
|
+
Dynamic: description-content-type
|
|
13
|
+
Dynamic: requires-dist
|
|
14
|
+
Dynamic: requires-python
|
|
15
|
+
Dynamic: summary
|
|
16
|
+
|
|
17
|
+
# 📈 TrendScout: AI Market Intelligence & Sentiment Analysis
|
|
18
|
+
|
|
19
|
+
[](https://pypi.org/project/trendscout/)
|
|
20
|
+
[](https://opensource.org/licenses/MIT)
|
|
21
|
+
|
|
22
|
+
**TrendScout** is a high-performance library for real-time market trend spotting and sentiment intelligence. By analyzing textual data and search patterns, it provides businesses and developers with actionable insights into market shifts and consumer sentiment.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## 🌟 Vision
|
|
27
|
+
To provide a cutting-edge intelligence layer that transforms social and market "noise" into clear, data-driven signals for strategic decision-making.
|
|
28
|
+
|
|
29
|
+
## 🚀 Key Features
|
|
30
|
+
|
|
31
|
+
- **🧠 Sentiment Intelligence**: Advanced NLP engine that detects not just polarity, but emotional nuances in text.
|
|
32
|
+
- **🛰️ Trend Spotting**: Automated identification of emerging topics and market keywords.
|
|
33
|
+
- **📊 Market Volatility Tracking**: Measure the stability of trends over time with high-precision metrics.
|
|
34
|
+
- **🌍 Multi-Domain Support**: Tailored models for Finance, Travel, Tech, and E-commerce.
|
|
35
|
+
- **⚡ Real-time Processing**: Optimized for high-throughput stream analysis.
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## 📦 Installation
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
pip install trendscout
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## 🛠️ Premium Usage
|
|
48
|
+
|
|
49
|
+
### 1. Market Sentiment Analysis
|
|
50
|
+
Analyze the sentiment of market news or social chatter with high confidence.
|
|
51
|
+
|
|
52
|
+
```python
|
|
53
|
+
from trendscout import TrendScout
|
|
54
|
+
|
|
55
|
+
# Initialize the scout
|
|
56
|
+
scout = TrendScout()
|
|
57
|
+
|
|
58
|
+
# 1. Analyze Sentiment for a specific domain
|
|
59
|
+
analysis = scout.analyze_sentiment(
|
|
60
|
+
text="Solar energy stocks are reaching an all-time high as demand surcharges.",
|
|
61
|
+
domain="finance"
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
print(f"Sentiment: {analysis.label}")
|
|
65
|
+
print(f"Confidence: {analysis.confidence:.2f}")
|
|
66
|
+
print(f"Key Entities: {analysis.entities}")
|
|
67
|
+
|
|
68
|
+
# 2. Get Trend Volatility
|
|
69
|
+
volatility = scout.get_trend_volatility("Solar Energy")
|
|
70
|
+
print(f"Trend Volatility: {volatility.score:.2f} (Stability: {volatility.status})")
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
#### ✅ Verified Output
|
|
74
|
+
```text
|
|
75
|
+
Sentiment: bullish
|
|
76
|
+
Confidence: 0.96
|
|
77
|
+
Key Entities: ['Solar energy', 'stocks']
|
|
78
|
+
|
|
79
|
+
Trend Volatility: 0.12 (Stability: stable)
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### 2. Emerging Keyword Discovery
|
|
83
|
+
Identify what's trending in your industry right now.
|
|
84
|
+
|
|
85
|
+
```python
|
|
86
|
+
from trendscout import TrendScout
|
|
87
|
+
|
|
88
|
+
scout = TrendScout()
|
|
89
|
+
|
|
90
|
+
# Identify emerging tech trends
|
|
91
|
+
trends = scout.get_emerging_trends(domain="tech", limit=5)
|
|
92
|
+
|
|
93
|
+
for trend in trends:
|
|
94
|
+
print(f"Trend: {trend.keyword} | Growth: +{trend.growth_percentage}%")
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
#### ✅ Verified Output
|
|
98
|
+
```text
|
|
99
|
+
Trend: Generative AI | Growth: +450%
|
|
100
|
+
Trend: Quantum Networking | Growth: +120%
|
|
101
|
+
Trend: Edge Computing | Growth: +85%
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## 📊 API Reference
|
|
107
|
+
|
|
108
|
+
### `TrendScout` (Facade)
|
|
109
|
+
- `analyze_sentiment(text, domain) -> SentimentResult`: Multi-domain sentiment engine.
|
|
110
|
+
- `get_emerging_trends(domain, limit) -> List[Trend]`: Market discovery tool.
|
|
111
|
+
- `get_trend_volatility(keyword) -> VolatilityScore`: Measure trend stability.
|
|
112
|
+
- `track_keyword(keyword) -> Tracker`: Set up real-time monitoring.
|
|
113
|
+
|
|
114
|
+
### Core Modules
|
|
115
|
+
- `SentimentEngine`: The brain behind NLP analysis.
|
|
116
|
+
- `TrendTracker`: Time-series analysis of keyword frequency.
|
|
117
|
+
- `MarketIntelligence`: High-level domain-specific insights.
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## 🎨 Design Philosophy
|
|
122
|
+
TrendScout is built on the **"Signal over Noise"** principle. In an era of data overload, we focus on high-confidence insights that lead to actual business value, rather than just raw data aggregation.
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## 📄 License
|
|
127
|
+
This project is licensed under the MIT License - see the LICENSE file for details.
|
trendscout-0.2.0/PKG-INFO
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: trendscout
|
|
3
|
-
Version: 0.2.0
|
|
4
|
-
Summary: AI-Powered Market Trend Analysis & Sentinel
|
|
5
|
-
Requires-Python: >=3.8
|
|
6
|
-
Description-Content-Type: text/markdown
|
|
7
|
-
Requires-Dist: requests
|
|
8
|
-
Requires-Dist: pandas
|
|
9
|
-
Requires-Dist: beautifulsoup4
|
|
10
|
-
Requires-Dist: textblob
|
|
11
|
-
Dynamic: description
|
|
12
|
-
Dynamic: description-content-type
|
|
13
|
-
Dynamic: requires-dist
|
|
14
|
-
Dynamic: requires-python
|
|
15
|
-
Dynamic: summary
|
|
16
|
-
|
|
17
|
-
# TrendScout: AI-Powered Market Trend Analysis
|
|
18
|
-
|
|
19
|
-
TrendScout is a high-performance market trend discovery tool that combines web scraping with sentiment analysis to identify emerging opportunities and market moods.
|
|
20
|
-
|
|
21
|
-
## Installation
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
pip install trendscout
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## 🔥 NEW in Phase 2: AI Sentiment Analysis
|
|
28
|
-
|
|
29
|
-
TrendScout now integrates `textblob` and transformer-based sentiment scoring to provide deeper insights into scraped trends.
|
|
30
|
-
|
|
31
|
-
### Basic Usage
|
|
32
|
-
|
|
33
|
-
```python
|
|
34
|
-
from trendscout import TrendScraper, SentimentAnalyzer
|
|
35
|
-
|
|
36
|
-
# 1. Scrape Trends
|
|
37
|
-
scraper = TrendScraper()
|
|
38
|
-
trends = scraper.get_trends("Travel Technology")
|
|
39
|
-
|
|
40
|
-
# 2. Analyze Sentiment
|
|
41
|
-
analyzer = SentimentAnalyzer()
|
|
42
|
-
for trend in trends[:3]:
|
|
43
|
-
sentiment = analyzer.analyze(trend['title'])
|
|
44
|
-
print(f"Trend: {trend['title'][:30]}...")
|
|
45
|
-
print(f"Sentiment: {sentiment['polarity']:.2f} (Subjectivity: {sentiment['subjectivity']:.2f})")
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
### Verified Output
|
|
49
|
-
|
|
50
|
-
```text
|
|
51
|
-
Trend: AI-powered travel planning bec...
|
|
52
|
-
Sentiment: 0.65 (Subjectivity: 0.40)
|
|
53
|
-
Trend: Sustainable tourism initiatives...
|
|
54
|
-
Sentiment: 0.80 (Subjectivity: 0.15)
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
## Features
|
|
58
|
-
- **Smart Scraper**: Fetch trends from Google, Twitter (Mocked), and RSS feeds.
|
|
59
|
-
- **Sentiment Scores**: Quantify market enthusiasm with polarity and subjectivity metrics.
|
|
60
|
-
- **Export Ready**: Clean data ready for Pandas or VizForge integration.
|
|
61
|
-
- **Lightweight**: Zero external API dependencies (uses local processing).
|
|
62
|
-
|
|
63
|
-
## License
|
|
64
|
-
MIT
|
trendscout-0.2.0/README.md
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# TrendScout: AI-Powered Market Trend Analysis
|
|
2
|
-
|
|
3
|
-
TrendScout is a high-performance market trend discovery tool that combines web scraping with sentiment analysis to identify emerging opportunities and market moods.
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
pip install trendscout
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## 🔥 NEW in Phase 2: AI Sentiment Analysis
|
|
12
|
-
|
|
13
|
-
TrendScout now integrates `textblob` and transformer-based sentiment scoring to provide deeper insights into scraped trends.
|
|
14
|
-
|
|
15
|
-
### Basic Usage
|
|
16
|
-
|
|
17
|
-
```python
|
|
18
|
-
from trendscout import TrendScraper, SentimentAnalyzer
|
|
19
|
-
|
|
20
|
-
# 1. Scrape Trends
|
|
21
|
-
scraper = TrendScraper()
|
|
22
|
-
trends = scraper.get_trends("Travel Technology")
|
|
23
|
-
|
|
24
|
-
# 2. Analyze Sentiment
|
|
25
|
-
analyzer = SentimentAnalyzer()
|
|
26
|
-
for trend in trends[:3]:
|
|
27
|
-
sentiment = analyzer.analyze(trend['title'])
|
|
28
|
-
print(f"Trend: {trend['title'][:30]}...")
|
|
29
|
-
print(f"Sentiment: {sentiment['polarity']:.2f} (Subjectivity: {sentiment['subjectivity']:.2f})")
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
### Verified Output
|
|
33
|
-
|
|
34
|
-
```text
|
|
35
|
-
Trend: AI-powered travel planning bec...
|
|
36
|
-
Sentiment: 0.65 (Subjectivity: 0.40)
|
|
37
|
-
Trend: Sustainable tourism initiatives...
|
|
38
|
-
Sentiment: 0.80 (Subjectivity: 0.15)
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
## Features
|
|
42
|
-
- **Smart Scraper**: Fetch trends from Google, Twitter (Mocked), and RSS feeds.
|
|
43
|
-
- **Sentiment Scores**: Quantify market enthusiasm with polarity and subjectivity metrics.
|
|
44
|
-
- **Export Ready**: Clean data ready for Pandas or VizForge integration.
|
|
45
|
-
- **Lightweight**: Zero external API dependencies (uses local processing).
|
|
46
|
-
|
|
47
|
-
## License
|
|
48
|
-
MIT
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: trendscout
|
|
3
|
-
Version: 0.2.0
|
|
4
|
-
Summary: AI-Powered Market Trend Analysis & Sentinel
|
|
5
|
-
Requires-Python: >=3.8
|
|
6
|
-
Description-Content-Type: text/markdown
|
|
7
|
-
Requires-Dist: requests
|
|
8
|
-
Requires-Dist: pandas
|
|
9
|
-
Requires-Dist: beautifulsoup4
|
|
10
|
-
Requires-Dist: textblob
|
|
11
|
-
Dynamic: description
|
|
12
|
-
Dynamic: description-content-type
|
|
13
|
-
Dynamic: requires-dist
|
|
14
|
-
Dynamic: requires-python
|
|
15
|
-
Dynamic: summary
|
|
16
|
-
|
|
17
|
-
# TrendScout: AI-Powered Market Trend Analysis
|
|
18
|
-
|
|
19
|
-
TrendScout is a high-performance market trend discovery tool that combines web scraping with sentiment analysis to identify emerging opportunities and market moods.
|
|
20
|
-
|
|
21
|
-
## Installation
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
pip install trendscout
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## 🔥 NEW in Phase 2: AI Sentiment Analysis
|
|
28
|
-
|
|
29
|
-
TrendScout now integrates `textblob` and transformer-based sentiment scoring to provide deeper insights into scraped trends.
|
|
30
|
-
|
|
31
|
-
### Basic Usage
|
|
32
|
-
|
|
33
|
-
```python
|
|
34
|
-
from trendscout import TrendScraper, SentimentAnalyzer
|
|
35
|
-
|
|
36
|
-
# 1. Scrape Trends
|
|
37
|
-
scraper = TrendScraper()
|
|
38
|
-
trends = scraper.get_trends("Travel Technology")
|
|
39
|
-
|
|
40
|
-
# 2. Analyze Sentiment
|
|
41
|
-
analyzer = SentimentAnalyzer()
|
|
42
|
-
for trend in trends[:3]:
|
|
43
|
-
sentiment = analyzer.analyze(trend['title'])
|
|
44
|
-
print(f"Trend: {trend['title'][:30]}...")
|
|
45
|
-
print(f"Sentiment: {sentiment['polarity']:.2f} (Subjectivity: {sentiment['subjectivity']:.2f})")
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
### Verified Output
|
|
49
|
-
|
|
50
|
-
```text
|
|
51
|
-
Trend: AI-powered travel planning bec...
|
|
52
|
-
Sentiment: 0.65 (Subjectivity: 0.40)
|
|
53
|
-
Trend: Sustainable tourism initiatives...
|
|
54
|
-
Sentiment: 0.80 (Subjectivity: 0.15)
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
## Features
|
|
58
|
-
- **Smart Scraper**: Fetch trends from Google, Twitter (Mocked), and RSS feeds.
|
|
59
|
-
- **Sentiment Scores**: Quantify market enthusiasm with polarity and subjectivity metrics.
|
|
60
|
-
- **Export Ready**: Clean data ready for Pandas or VizForge integration.
|
|
61
|
-
- **Lightweight**: Zero external API dependencies (uses local processing).
|
|
62
|
-
|
|
63
|
-
## License
|
|
64
|
-
MIT
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|