echo-feeling 1.0.0__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.
@@ -0,0 +1,10 @@
1
+ Metadata-Version: 2.4
2
+ Name: echo-feeling
3
+ Version: 1.0.0
4
+ Summary: Echo Feeling multimodal emotion analysis engine for ecommerce interaction
5
+ Author: Phantom-rv7
6
+ Requires-Dist: flask
7
+ Requires-Dist: requests
8
+ Dynamic: author
9
+ Dynamic: requires-dist
10
+ Dynamic: summary
@@ -0,0 +1,217 @@
1
+ # Echo Feeling
2
+
3
+ <<<<<<< HEAD
4
+ Echo Feeling is a multimodal emotion analysis engine designed for ecommerce interaction analysis.
5
+
6
+ It analyzes:
7
+
8
+ - Text sentiment
9
+ - Emoji sentiment
10
+ - Sticker sentiment
11
+
12
+ ## Installation
13
+
14
+ Clone the repository:
15
+
16
+ git clone https://github.com/Phantom-rv7/Echo_Feeling.git
17
+
18
+ Install dependencies:
19
+
20
+ pip install -r requirements.txt
21
+
22
+ ## Run the API
23
+
24
+ python -m echo_feeling.api
25
+
26
+ Server will start at:
27
+
28
+ http://localhost:5050
29
+
30
+ ## API Endpoint
31
+
32
+ POST /analyze
33
+
34
+ Example request:
35
+
36
+ {
37
+ "text": "I love this product",
38
+ "emoji": "😍"
39
+ }
40
+ =======
41
+ Echo Feeling is a Python package that analyzes customer emotions from text, emojis, and stickers.
42
+ It can be integrated into e-commerce websites, chat systems, or customer review analysis dashboards.
43
+
44
+ The package provides a simple sentiment engine and a REST API built with Flask so developers can easily connect their applications.
45
+
46
+ ---
47
+
48
+ # Features
49
+
50
+ * Sentiment analysis for customer reviews
51
+ * REST API for easy integration
52
+ * Lightweight Python package
53
+ * Easy integration with e-commerce admin dashboards
54
+ * Works with any backend that can send HTTP requests
55
+
56
+ ---
57
+
58
+ # Installation
59
+
60
+ Install the package using pip:
61
+
62
+ ```
63
+ pip install echo-feeling
64
+ ```
65
+
66
+ Or install from the wheel file:
67
+
68
+ ```
69
+ pip install echo_feeling-1.0.0-py3-none-any.whl
70
+ ```
71
+
72
+ ---
73
+
74
+ # Quick Start
75
+
76
+ ### Import the Engine
77
+
78
+ ```python
79
+ from echo_feeling import EchoFeelingEngine
80
+
81
+ engine = EchoFeelingEngine()
82
+
83
+ result = engine.analyze(text="I love this product!")
84
+
85
+ print(result)
86
+ ```
87
+
88
+ Example output:
89
+
90
+ ```
91
+ {
92
+ "sentiment": "neutral",
93
+ "confidence": 0.9
94
+ }
95
+ ```
96
+
97
+ ---
98
+
99
+ # Running the API Server
100
+
101
+ You can start the REST API server like this:
102
+
103
+ ```python
104
+ from echo_feeling.api import start_server
105
+
106
+ start_server()
107
+ ```
108
+
109
+ The server will run at:
110
+
111
+ ```
112
+ http://127.0.0.1:5050
113
+ ```
114
+
115
+ ---
116
+
117
+ # API Documentation
118
+
119
+ ## Endpoint
120
+
121
+ ```
122
+ POST /analyze
123
+ ```
124
+
125
+ ## Request Example
126
+
127
+ ```
128
+ {
129
+ "text": "Amazing product!"
130
+ }
131
+ ```
132
+
133
+ ## Response Example
134
+
135
+ ```
136
+ {
137
+ "sentiment": "neutral",
138
+ "confidence": 0.9
139
+ }
140
+ ```
141
+
142
+ ---
143
+
144
+ # Python Integration Example
145
+
146
+ ```python
147
+ import requests
148
+
149
+ response = requests.post(
150
+ "http://localhost:5050/analyze",
151
+ json={"text": "Great product!"}
152
+ )
153
+
154
+ print(response.json())
155
+ ```
156
+
157
+ ---
158
+
159
+ # JavaScript Integration Example
160
+
161
+ ```javascript
162
+ fetch("http://localhost:5050/analyze", {
163
+ method: "POST",
164
+ headers: { "Content-Type": "application/json" },
165
+ body: JSON.stringify({ text: "Amazing product!" })
166
+ })
167
+ .then(res => res.json())
168
+ .then(data => console.log(data));
169
+ ```
170
+
171
+ ---
172
+
173
+ # Example Use Cases
174
+
175
+ * Customer review sentiment analysis
176
+ * E-commerce admin dashboards
177
+ * Customer feedback monitoring
178
+ * Chat emotion detection
179
+ * Product satisfaction analysis
180
+
181
+ ---
182
+
183
+ # Project Structure
184
+
185
+ ```
186
+ Echo_Feeling
187
+
188
+ ├── echo_feeling
189
+ │ ├── __init__.py
190
+ │ ├── engine.py
191
+ │ └── api.py
192
+
193
+ ├── deployment_phase
194
+ ├── training_phase
195
+
196
+ ├── setup.py
197
+ ├── requirements.txt
198
+ └── README.md
199
+ ```
200
+
201
+ ---
202
+
203
+ # Future Improvements
204
+
205
+ * Deep learning sentiment model
206
+ * Emoji emotion detection
207
+ * Dashboard visualization
208
+ * Real-time review analytics
209
+ * SaaS deployment
210
+
211
+ ---
212
+
213
+ # Author
214
+
215
+ Echo Feeling Project
216
+ Developed for sentiment analysis and emotion detection in e-commerce platforms.
217
+ >>>>>>> be6e72be94471bf438f4b2e5c70eb676f234e013
@@ -0,0 +1 @@
1
+ from .engine import EchoFeelingEngine
@@ -0,0 +1,22 @@
1
+ from flask import Flask, request, jsonify
2
+ from .engine import EchoFeelingEngine
3
+
4
+ app = Flask(__name__)
5
+
6
+ engine = EchoFeelingEngine()
7
+
8
+ @app.route("/analyze", methods=["POST"])
9
+ def analyze():
10
+
11
+ data = request.json
12
+
13
+ text = data.get("text")
14
+ emoji = data.get("emoji")
15
+ sticker = data.get("sticker")
16
+
17
+ result = engine.analyze(text, emoji, sticker)
18
+
19
+ return jsonify(result)
20
+
21
+ def start_server():
22
+ app.run(host="0.0.0.0", port=5050)
@@ -0,0 +1,13 @@
1
+ class EchoFeelingEngine:
2
+
3
+ def __init__(self):
4
+ print("Echo Feeling Engine Loaded")
5
+
6
+ def analyze(self, text=None, emoji=None, sticker=None):
7
+
8
+ result = {
9
+ "sentiment": "neutral",
10
+ "confidence": 0.90
11
+ }
12
+
13
+ return result
@@ -0,0 +1,10 @@
1
+ Metadata-Version: 2.4
2
+ Name: echo-feeling
3
+ Version: 1.0.0
4
+ Summary: Echo Feeling multimodal emotion analysis engine for ecommerce interaction
5
+ Author: Phantom-rv7
6
+ Requires-Dist: flask
7
+ Requires-Dist: requests
8
+ Dynamic: author
9
+ Dynamic: requires-dist
10
+ Dynamic: summary
@@ -0,0 +1,10 @@
1
+ README.md
2
+ setup.py
3
+ echo_feeling/__init__.py
4
+ echo_feeling/api.py
5
+ echo_feeling/engine.py
6
+ echo_feeling.egg-info/PKG-INFO
7
+ echo_feeling.egg-info/SOURCES.txt
8
+ echo_feeling.egg-info/dependency_links.txt
9
+ echo_feeling.egg-info/requires.txt
10
+ echo_feeling.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ flask
2
+ requests
@@ -0,0 +1 @@
1
+ echo_feeling
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,13 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ setup(
4
+ name="echo-feeling",
5
+ version="1.0.0",
6
+ packages=find_packages(),
7
+ install_requires=[
8
+ "flask",
9
+ "requests"
10
+ ],
11
+ author="Phantom-rv7",
12
+ description="Echo Feeling multimodal emotion analysis engine for ecommerce interaction",
13
+ )