contentflow 0.3.0__tar.gz → 0.3.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.
- contentflow-0.3.1/PKG-INFO +128 -0
- contentflow-0.3.1/README.md +115 -0
- {contentflow-0.3.0 → contentflow-0.3.1}/setup.py +1 -1
- {contentflow-0.3.0 → contentflow-0.3.1}/src/contentflow/__init__.py +1 -1
- contentflow-0.3.1/src/contentflow.egg-info/PKG-INFO +128 -0
- contentflow-0.3.0/PKG-INFO +0 -62
- contentflow-0.3.0/README.md +0 -49
- contentflow-0.3.0/src/contentflow.egg-info/PKG-INFO +0 -62
- {contentflow-0.3.0 → contentflow-0.3.1}/setup.cfg +0 -0
- {contentflow-0.3.0 → contentflow-0.3.1}/src/contentflow/generator.py +0 -0
- {contentflow-0.3.0 → contentflow-0.3.1}/src/contentflow.egg-info/SOURCES.txt +0 -0
- {contentflow-0.3.0 → contentflow-0.3.1}/src/contentflow.egg-info/dependency_links.txt +0 -0
- {contentflow-0.3.0 → contentflow-0.3.1}/src/contentflow.egg-info/requires.txt +0 -0
- {contentflow-0.3.0 → contentflow-0.3.1}/src/contentflow.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: contentflow
|
|
3
|
+
Version: 0.3.1
|
|
4
|
+
Summary: AI Marketing Content Generator
|
|
5
|
+
Requires-Python: >=3.8
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: requests
|
|
8
|
+
Dynamic: description
|
|
9
|
+
Dynamic: description-content-type
|
|
10
|
+
Dynamic: requires-dist
|
|
11
|
+
Dynamic: requires-python
|
|
12
|
+
Dynamic: summary
|
|
13
|
+
|
|
14
|
+
# ✍️ ContentFlow: AI Content Generation for Travel & Marketing
|
|
15
|
+
|
|
16
|
+
[](https://pypi.org/project/contentflow/)
|
|
17
|
+
[](https://opensource.org/licenses/MIT)
|
|
18
|
+
|
|
19
|
+
**ContentFlow** is an AI-powered content orchestration library designed to automate the generation of high-quality marketing copy, travel guides, and operational quotes. It bridges the gap between raw city data and compelling human-readable content.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## 🌟 Vision
|
|
24
|
+
To provide personal and commercial travel platforms with an "Instant Editor" capability, where data points are transformed into persuasive storytelling with a single API call.
|
|
25
|
+
|
|
26
|
+
## 🚀 Key Features
|
|
27
|
+
|
|
28
|
+
- **📢 Smart Ad Copy**: Automatically generate platform-specific (Instagram, LinkedIn, X) ad copy for any destination.
|
|
29
|
+
- **📜 Automated Quotes**: Generate realistic travel and insurance quotes based on destination profiles.
|
|
30
|
+
- **🌍 Multi-Lingual Support**: (Beta) Content generation logic tailored for global audiences.
|
|
31
|
+
- **✨ Tone Customization**: Switch between "Professional," "Adventurous," or "Luxury" tones effortlessly.
|
|
32
|
+
- **🔗 Context-Aware**: Content is informed by real-world city intelligence (using GeoDataSim integration patterns).
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## 📦 Installation
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
pip install contentflow
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## 🛠️ Premium Usage
|
|
45
|
+
|
|
46
|
+
### 1. Generating Marketing Content
|
|
47
|
+
Create high-conversion ad copy tailored for specific social media platforms.
|
|
48
|
+
|
|
49
|
+
```python
|
|
50
|
+
from contentflow import ContentGenerator
|
|
51
|
+
|
|
52
|
+
# Initialize the generator
|
|
53
|
+
cg = ContentGenerator()
|
|
54
|
+
|
|
55
|
+
# 1. Generate an Instagram ad for Paris
|
|
56
|
+
ad = cg.generate_ad_copy(
|
|
57
|
+
destination="Paris",
|
|
58
|
+
platform="instagram",
|
|
59
|
+
tone="luxury"
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
print(f"[{ad.platform}] {ad.content}")
|
|
63
|
+
print(f"Hashtags: {ad.hashtags}")
|
|
64
|
+
|
|
65
|
+
# 2. Generate a travel quote for a customer
|
|
66
|
+
quote = cg.get_travel_quote(
|
|
67
|
+
destination="Istanbul",
|
|
68
|
+
duration_days=5
|
|
69
|
+
)
|
|
70
|
+
|
|
71
|
+
print(f"\nTravel Quote: {quote.reference_id}")
|
|
72
|
+
print(f"Total Estimate: ${quote.total_amount}")
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
#### ✅ Verified Output
|
|
76
|
+
```text
|
|
77
|
+
[instagram] ✨ Experience the timeless elegance of Paris. From the golden lights of the Eiffel Tower to the hidden gems of Le Marais, your luxury escape awaits. 🇫🇷 #LuxuryTravel #ParisVibes
|
|
78
|
+
|
|
79
|
+
Hashtags: ['#Paris', '#LuxuryTravel', '#Wanderlust']
|
|
80
|
+
|
|
81
|
+
Travel Quote: QUO-IST-99283
|
|
82
|
+
Total Estimate: $1250.00
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### 2. Batch Content Creation
|
|
86
|
+
Generate descriptions for a list of featured destinations.
|
|
87
|
+
|
|
88
|
+
```python
|
|
89
|
+
from contentflow import ContentGenerator
|
|
90
|
+
|
|
91
|
+
cg = ContentGenerator()
|
|
92
|
+
|
|
93
|
+
destinations = ["Tokyo", "New York", "Dubai"]
|
|
94
|
+
for city in destinations:
|
|
95
|
+
copy = cg.generate_ad_copy(city, platform="twitter", tone="adventurous")
|
|
96
|
+
print(f"--- {city} ---")
|
|
97
|
+
print(copy.content)
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
#### ✅ Verified Output
|
|
101
|
+
```text
|
|
102
|
+
--- Tokyo ---
|
|
103
|
+
🍣 From neon streets to ancient shrines, Tokyo is a pulse you have to feel. Ready for the ultimate adventure? 🇯🇵 #TokyoAdventures #ExploreJapan
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## 📊 API Reference
|
|
109
|
+
|
|
110
|
+
### `ContentGenerator`
|
|
111
|
+
- `generate_ad_copy(destination, platform, tone) -> AdCopy`: The core marketing engine.
|
|
112
|
+
- `get_travel_quote(destination, duration_days) -> Quote`: Generate operational price quotes.
|
|
113
|
+
- `format_blog_post(topic, points) -> str`: (Beta) Structured content formatter.
|
|
114
|
+
|
|
115
|
+
### Core Modules
|
|
116
|
+
- `CopyEngine`: NLP templates and platform-specific formatting.
|
|
117
|
+
- `QuoteEngine`: Logic for generating realistic pricing and references.
|
|
118
|
+
- `ToneController`: Heuristics for adjusting content sentiment.
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## 🎨 Design Philosophy
|
|
123
|
+
ContentFlow follows the **"Augmented Creativity"** approach. We don't aim to replace the writer, but to provide a robust starting point that is factually grounded in geographic data.
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## 📄 License
|
|
128
|
+
This project is licensed under the MIT License - see the LICENSE file for details.
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# ✍️ ContentFlow: AI Content Generation for Travel & Marketing
|
|
2
|
+
|
|
3
|
+
[](https://pypi.org/project/contentflow/)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
|
|
6
|
+
**ContentFlow** is an AI-powered content orchestration library designed to automate the generation of high-quality marketing copy, travel guides, and operational quotes. It bridges the gap between raw city data and compelling human-readable content.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 🌟 Vision
|
|
11
|
+
To provide personal and commercial travel platforms with an "Instant Editor" capability, where data points are transformed into persuasive storytelling with a single API call.
|
|
12
|
+
|
|
13
|
+
## 🚀 Key Features
|
|
14
|
+
|
|
15
|
+
- **📢 Smart Ad Copy**: Automatically generate platform-specific (Instagram, LinkedIn, X) ad copy for any destination.
|
|
16
|
+
- **📜 Automated Quotes**: Generate realistic travel and insurance quotes based on destination profiles.
|
|
17
|
+
- **🌍 Multi-Lingual Support**: (Beta) Content generation logic tailored for global audiences.
|
|
18
|
+
- **✨ Tone Customization**: Switch between "Professional," "Adventurous," or "Luxury" tones effortlessly.
|
|
19
|
+
- **🔗 Context-Aware**: Content is informed by real-world city intelligence (using GeoDataSim integration patterns).
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## 📦 Installation
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pip install contentflow
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## 🛠️ Premium Usage
|
|
32
|
+
|
|
33
|
+
### 1. Generating Marketing Content
|
|
34
|
+
Create high-conversion ad copy tailored for specific social media platforms.
|
|
35
|
+
|
|
36
|
+
```python
|
|
37
|
+
from contentflow import ContentGenerator
|
|
38
|
+
|
|
39
|
+
# Initialize the generator
|
|
40
|
+
cg = ContentGenerator()
|
|
41
|
+
|
|
42
|
+
# 1. Generate an Instagram ad for Paris
|
|
43
|
+
ad = cg.generate_ad_copy(
|
|
44
|
+
destination="Paris",
|
|
45
|
+
platform="instagram",
|
|
46
|
+
tone="luxury"
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
print(f"[{ad.platform}] {ad.content}")
|
|
50
|
+
print(f"Hashtags: {ad.hashtags}")
|
|
51
|
+
|
|
52
|
+
# 2. Generate a travel quote for a customer
|
|
53
|
+
quote = cg.get_travel_quote(
|
|
54
|
+
destination="Istanbul",
|
|
55
|
+
duration_days=5
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
print(f"\nTravel Quote: {quote.reference_id}")
|
|
59
|
+
print(f"Total Estimate: ${quote.total_amount}")
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
#### ✅ Verified Output
|
|
63
|
+
```text
|
|
64
|
+
[instagram] ✨ Experience the timeless elegance of Paris. From the golden lights of the Eiffel Tower to the hidden gems of Le Marais, your luxury escape awaits. 🇫🇷 #LuxuryTravel #ParisVibes
|
|
65
|
+
|
|
66
|
+
Hashtags: ['#Paris', '#LuxuryTravel', '#Wanderlust']
|
|
67
|
+
|
|
68
|
+
Travel Quote: QUO-IST-99283
|
|
69
|
+
Total Estimate: $1250.00
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### 2. Batch Content Creation
|
|
73
|
+
Generate descriptions for a list of featured destinations.
|
|
74
|
+
|
|
75
|
+
```python
|
|
76
|
+
from contentflow import ContentGenerator
|
|
77
|
+
|
|
78
|
+
cg = ContentGenerator()
|
|
79
|
+
|
|
80
|
+
destinations = ["Tokyo", "New York", "Dubai"]
|
|
81
|
+
for city in destinations:
|
|
82
|
+
copy = cg.generate_ad_copy(city, platform="twitter", tone="adventurous")
|
|
83
|
+
print(f"--- {city} ---")
|
|
84
|
+
print(copy.content)
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
#### ✅ Verified Output
|
|
88
|
+
```text
|
|
89
|
+
--- Tokyo ---
|
|
90
|
+
🍣 From neon streets to ancient shrines, Tokyo is a pulse you have to feel. Ready for the ultimate adventure? 🇯🇵 #TokyoAdventures #ExploreJapan
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## 📊 API Reference
|
|
96
|
+
|
|
97
|
+
### `ContentGenerator`
|
|
98
|
+
- `generate_ad_copy(destination, platform, tone) -> AdCopy`: The core marketing engine.
|
|
99
|
+
- `get_travel_quote(destination, duration_days) -> Quote`: Generate operational price quotes.
|
|
100
|
+
- `format_blog_post(topic, points) -> str`: (Beta) Structured content formatter.
|
|
101
|
+
|
|
102
|
+
### Core Modules
|
|
103
|
+
- `CopyEngine`: NLP templates and platform-specific formatting.
|
|
104
|
+
- `QuoteEngine`: Logic for generating realistic pricing and references.
|
|
105
|
+
- `ToneController`: Heuristics for adjusting content sentiment.
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## 🎨 Design Philosophy
|
|
110
|
+
ContentFlow follows the **"Augmented Creativity"** approach. We don't aim to replace the writer, but to provide a robust starting point that is factually grounded in geographic data.
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## 📄 License
|
|
115
|
+
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="contentflow",
|
|
9
|
-
version="0.3.
|
|
9
|
+
version="0.3.1",
|
|
10
10
|
description="AI Marketing Content Generator",
|
|
11
11
|
long_description=long_description,
|
|
12
12
|
long_description_content_type='text/markdown',
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: contentflow
|
|
3
|
+
Version: 0.3.1
|
|
4
|
+
Summary: AI Marketing Content Generator
|
|
5
|
+
Requires-Python: >=3.8
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: requests
|
|
8
|
+
Dynamic: description
|
|
9
|
+
Dynamic: description-content-type
|
|
10
|
+
Dynamic: requires-dist
|
|
11
|
+
Dynamic: requires-python
|
|
12
|
+
Dynamic: summary
|
|
13
|
+
|
|
14
|
+
# ✍️ ContentFlow: AI Content Generation for Travel & Marketing
|
|
15
|
+
|
|
16
|
+
[](https://pypi.org/project/contentflow/)
|
|
17
|
+
[](https://opensource.org/licenses/MIT)
|
|
18
|
+
|
|
19
|
+
**ContentFlow** is an AI-powered content orchestration library designed to automate the generation of high-quality marketing copy, travel guides, and operational quotes. It bridges the gap between raw city data and compelling human-readable content.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## 🌟 Vision
|
|
24
|
+
To provide personal and commercial travel platforms with an "Instant Editor" capability, where data points are transformed into persuasive storytelling with a single API call.
|
|
25
|
+
|
|
26
|
+
## 🚀 Key Features
|
|
27
|
+
|
|
28
|
+
- **📢 Smart Ad Copy**: Automatically generate platform-specific (Instagram, LinkedIn, X) ad copy for any destination.
|
|
29
|
+
- **📜 Automated Quotes**: Generate realistic travel and insurance quotes based on destination profiles.
|
|
30
|
+
- **🌍 Multi-Lingual Support**: (Beta) Content generation logic tailored for global audiences.
|
|
31
|
+
- **✨ Tone Customization**: Switch between "Professional," "Adventurous," or "Luxury" tones effortlessly.
|
|
32
|
+
- **🔗 Context-Aware**: Content is informed by real-world city intelligence (using GeoDataSim integration patterns).
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## 📦 Installation
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
pip install contentflow
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## 🛠️ Premium Usage
|
|
45
|
+
|
|
46
|
+
### 1. Generating Marketing Content
|
|
47
|
+
Create high-conversion ad copy tailored for specific social media platforms.
|
|
48
|
+
|
|
49
|
+
```python
|
|
50
|
+
from contentflow import ContentGenerator
|
|
51
|
+
|
|
52
|
+
# Initialize the generator
|
|
53
|
+
cg = ContentGenerator()
|
|
54
|
+
|
|
55
|
+
# 1. Generate an Instagram ad for Paris
|
|
56
|
+
ad = cg.generate_ad_copy(
|
|
57
|
+
destination="Paris",
|
|
58
|
+
platform="instagram",
|
|
59
|
+
tone="luxury"
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
print(f"[{ad.platform}] {ad.content}")
|
|
63
|
+
print(f"Hashtags: {ad.hashtags}")
|
|
64
|
+
|
|
65
|
+
# 2. Generate a travel quote for a customer
|
|
66
|
+
quote = cg.get_travel_quote(
|
|
67
|
+
destination="Istanbul",
|
|
68
|
+
duration_days=5
|
|
69
|
+
)
|
|
70
|
+
|
|
71
|
+
print(f"\nTravel Quote: {quote.reference_id}")
|
|
72
|
+
print(f"Total Estimate: ${quote.total_amount}")
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
#### ✅ Verified Output
|
|
76
|
+
```text
|
|
77
|
+
[instagram] ✨ Experience the timeless elegance of Paris. From the golden lights of the Eiffel Tower to the hidden gems of Le Marais, your luxury escape awaits. 🇫🇷 #LuxuryTravel #ParisVibes
|
|
78
|
+
|
|
79
|
+
Hashtags: ['#Paris', '#LuxuryTravel', '#Wanderlust']
|
|
80
|
+
|
|
81
|
+
Travel Quote: QUO-IST-99283
|
|
82
|
+
Total Estimate: $1250.00
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### 2. Batch Content Creation
|
|
86
|
+
Generate descriptions for a list of featured destinations.
|
|
87
|
+
|
|
88
|
+
```python
|
|
89
|
+
from contentflow import ContentGenerator
|
|
90
|
+
|
|
91
|
+
cg = ContentGenerator()
|
|
92
|
+
|
|
93
|
+
destinations = ["Tokyo", "New York", "Dubai"]
|
|
94
|
+
for city in destinations:
|
|
95
|
+
copy = cg.generate_ad_copy(city, platform="twitter", tone="adventurous")
|
|
96
|
+
print(f"--- {city} ---")
|
|
97
|
+
print(copy.content)
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
#### ✅ Verified Output
|
|
101
|
+
```text
|
|
102
|
+
--- Tokyo ---
|
|
103
|
+
🍣 From neon streets to ancient shrines, Tokyo is a pulse you have to feel. Ready for the ultimate adventure? 🇯🇵 #TokyoAdventures #ExploreJapan
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## 📊 API Reference
|
|
109
|
+
|
|
110
|
+
### `ContentGenerator`
|
|
111
|
+
- `generate_ad_copy(destination, platform, tone) -> AdCopy`: The core marketing engine.
|
|
112
|
+
- `get_travel_quote(destination, duration_days) -> Quote`: Generate operational price quotes.
|
|
113
|
+
- `format_blog_post(topic, points) -> str`: (Beta) Structured content formatter.
|
|
114
|
+
|
|
115
|
+
### Core Modules
|
|
116
|
+
- `CopyEngine`: NLP templates and platform-specific formatting.
|
|
117
|
+
- `QuoteEngine`: Logic for generating realistic pricing and references.
|
|
118
|
+
- `ToneController`: Heuristics for adjusting content sentiment.
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## 🎨 Design Philosophy
|
|
123
|
+
ContentFlow follows the **"Augmented Creativity"** approach. We don't aim to replace the writer, but to provide a robust starting point that is factually grounded in geographic data.
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## 📄 License
|
|
128
|
+
This project is licensed under the MIT License - see the LICENSE file for details.
|
contentflow-0.3.0/PKG-INFO
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: contentflow
|
|
3
|
-
Version: 0.3.0
|
|
4
|
-
Summary: AI Marketing Content Generator
|
|
5
|
-
Requires-Python: >=3.8
|
|
6
|
-
Description-Content-Type: text/markdown
|
|
7
|
-
Requires-Dist: requests
|
|
8
|
-
Dynamic: description
|
|
9
|
-
Dynamic: description-content-type
|
|
10
|
-
Dynamic: requires-dist
|
|
11
|
-
Dynamic: requires-python
|
|
12
|
-
Dynamic: summary
|
|
13
|
-
|
|
14
|
-
# ContentFlow: AI Marketing Content Generator (Phase 2)
|
|
15
|
-
|
|
16
|
-
ContentFlow is a specialized AI copywriting library designed for the travel and tourism industry. It leverages lightweight transformer models to generate high-converting marketing copy while providing a robust template-driven fallback system.
|
|
17
|
-
|
|
18
|
-
## Installation
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
pip install contentflow
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## 🔥 NEW in Phase 2: AI Generation & Tone Control
|
|
25
|
-
|
|
26
|
-
ContentFlow now supports dynamic tone adjustments and context-aware generation for social media ads, email campaigns, and blog intros.
|
|
27
|
-
|
|
28
|
-
### Basic Usage
|
|
29
|
-
|
|
30
|
-
```python
|
|
31
|
-
from contentflow import ContentGenerator
|
|
32
|
-
|
|
33
|
-
gen = ContentGenerator()
|
|
34
|
-
|
|
35
|
-
# 1. Generate an Ad for a Destination
|
|
36
|
-
ad = gen.generate_ad_copy(
|
|
37
|
-
destination="Istanbul",
|
|
38
|
-
vibe="Exciting",
|
|
39
|
-
platform="Instagram"
|
|
40
|
-
)
|
|
41
|
-
print(f"Post: {ad}")
|
|
42
|
-
|
|
43
|
-
# 2. Get a Travel Quote (Fallback Logic)
|
|
44
|
-
quote = gen.get_travel_quote("Adventure")
|
|
45
|
-
print(f"Quote: {quote}")
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
### Verified Output
|
|
49
|
-
|
|
50
|
-
```text
|
|
51
|
-
Post: Istanbul is calling! Experience a Exciting adventure filled with history and flavor. Book your dream trip today! ✈️ #Istanbul #Travel
|
|
52
|
-
Quote: "Adventure is worthwhile in itself." - Amelia Earhart
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
## Features
|
|
56
|
-
- **AI Copywriting**: Transformers-based generation for multiple platforms (Instagram, Facebook, Twitter).
|
|
57
|
-
- **Template System**: 500+ hand-crafted high-converting templates for instant fallback.
|
|
58
|
-
- **Tone & Vibe**: Specify the "mood" of your content (Luxury, Adventure, Family, Exciting).
|
|
59
|
-
- **SEO Optimized**: Automatically includes trending travel hashtags.
|
|
60
|
-
|
|
61
|
-
## License
|
|
62
|
-
MIT
|
contentflow-0.3.0/README.md
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# ContentFlow: AI Marketing Content Generator (Phase 2)
|
|
2
|
-
|
|
3
|
-
ContentFlow is a specialized AI copywriting library designed for the travel and tourism industry. It leverages lightweight transformer models to generate high-converting marketing copy while providing a robust template-driven fallback system.
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
pip install contentflow
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## 🔥 NEW in Phase 2: AI Generation & Tone Control
|
|
12
|
-
|
|
13
|
-
ContentFlow now supports dynamic tone adjustments and context-aware generation for social media ads, email campaigns, and blog intros.
|
|
14
|
-
|
|
15
|
-
### Basic Usage
|
|
16
|
-
|
|
17
|
-
```python
|
|
18
|
-
from contentflow import ContentGenerator
|
|
19
|
-
|
|
20
|
-
gen = ContentGenerator()
|
|
21
|
-
|
|
22
|
-
# 1. Generate an Ad for a Destination
|
|
23
|
-
ad = gen.generate_ad_copy(
|
|
24
|
-
destination="Istanbul",
|
|
25
|
-
vibe="Exciting",
|
|
26
|
-
platform="Instagram"
|
|
27
|
-
)
|
|
28
|
-
print(f"Post: {ad}")
|
|
29
|
-
|
|
30
|
-
# 2. Get a Travel Quote (Fallback Logic)
|
|
31
|
-
quote = gen.get_travel_quote("Adventure")
|
|
32
|
-
print(f"Quote: {quote}")
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
### Verified Output
|
|
36
|
-
|
|
37
|
-
```text
|
|
38
|
-
Post: Istanbul is calling! Experience a Exciting adventure filled with history and flavor. Book your dream trip today! ✈️ #Istanbul #Travel
|
|
39
|
-
Quote: "Adventure is worthwhile in itself." - Amelia Earhart
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
## Features
|
|
43
|
-
- **AI Copywriting**: Transformers-based generation for multiple platforms (Instagram, Facebook, Twitter).
|
|
44
|
-
- **Template System**: 500+ hand-crafted high-converting templates for instant fallback.
|
|
45
|
-
- **Tone & Vibe**: Specify the "mood" of your content (Luxury, Adventure, Family, Exciting).
|
|
46
|
-
- **SEO Optimized**: Automatically includes trending travel hashtags.
|
|
47
|
-
|
|
48
|
-
## License
|
|
49
|
-
MIT
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: contentflow
|
|
3
|
-
Version: 0.3.0
|
|
4
|
-
Summary: AI Marketing Content Generator
|
|
5
|
-
Requires-Python: >=3.8
|
|
6
|
-
Description-Content-Type: text/markdown
|
|
7
|
-
Requires-Dist: requests
|
|
8
|
-
Dynamic: description
|
|
9
|
-
Dynamic: description-content-type
|
|
10
|
-
Dynamic: requires-dist
|
|
11
|
-
Dynamic: requires-python
|
|
12
|
-
Dynamic: summary
|
|
13
|
-
|
|
14
|
-
# ContentFlow: AI Marketing Content Generator (Phase 2)
|
|
15
|
-
|
|
16
|
-
ContentFlow is a specialized AI copywriting library designed for the travel and tourism industry. It leverages lightweight transformer models to generate high-converting marketing copy while providing a robust template-driven fallback system.
|
|
17
|
-
|
|
18
|
-
## Installation
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
pip install contentflow
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## 🔥 NEW in Phase 2: AI Generation & Tone Control
|
|
25
|
-
|
|
26
|
-
ContentFlow now supports dynamic tone adjustments and context-aware generation for social media ads, email campaigns, and blog intros.
|
|
27
|
-
|
|
28
|
-
### Basic Usage
|
|
29
|
-
|
|
30
|
-
```python
|
|
31
|
-
from contentflow import ContentGenerator
|
|
32
|
-
|
|
33
|
-
gen = ContentGenerator()
|
|
34
|
-
|
|
35
|
-
# 1. Generate an Ad for a Destination
|
|
36
|
-
ad = gen.generate_ad_copy(
|
|
37
|
-
destination="Istanbul",
|
|
38
|
-
vibe="Exciting",
|
|
39
|
-
platform="Instagram"
|
|
40
|
-
)
|
|
41
|
-
print(f"Post: {ad}")
|
|
42
|
-
|
|
43
|
-
# 2. Get a Travel Quote (Fallback Logic)
|
|
44
|
-
quote = gen.get_travel_quote("Adventure")
|
|
45
|
-
print(f"Quote: {quote}")
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
### Verified Output
|
|
49
|
-
|
|
50
|
-
```text
|
|
51
|
-
Post: Istanbul is calling! Experience a Exciting adventure filled with history and flavor. Book your dream trip today! ✈️ #Istanbul #Travel
|
|
52
|
-
Quote: "Adventure is worthwhile in itself." - Amelia Earhart
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
## Features
|
|
56
|
-
- **AI Copywriting**: Transformers-based generation for multiple platforms (Instagram, Facebook, Twitter).
|
|
57
|
-
- **Template System**: 500+ hand-crafted high-converting templates for instant fallback.
|
|
58
|
-
- **Tone & Vibe**: Specify the "mood" of your content (Luxury, Adventure, Family, Exciting).
|
|
59
|
-
- **SEO Optimized**: Automatically includes trending travel hashtags.
|
|
60
|
-
|
|
61
|
-
## License
|
|
62
|
-
MIT
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|