AI Marketing Content Generator
Project description
✍️ ContentFlow: AI Content Generation for Travel & Marketing
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.
🌟 Vision
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.
🚀 Key Features
- 📢 Smart Ad Copy: Automatically generate platform-specific (Instagram, LinkedIn, X) ad copy for any destination.
- 📜 Automated Quotes: Generate realistic travel and insurance quotes based on destination profiles.
- 🌍 Multi-Lingual Support: (Beta) Content generation logic tailored for global audiences.
- ✨ Tone Customization: Switch between "Professional," "Adventurous," or "Luxury" tones effortlessly.
- 🔗 Context-Aware: Content is informed by real-world city intelligence (using GeoDataSim integration patterns).
📦 Installation
pip install contentflow
🛠️ Premium Usage
1. Generating Marketing Content
Create high-conversion ad copy tailored for specific social media platforms.
from contentflow import ContentGenerator
# Initialize the generator
cg = ContentGenerator()
# 1. Generate an Instagram ad for Paris
ad = cg.generate_ad_copy(
destination="Paris",
platform="instagram",
tone="luxury"
)
print(f"[{ad.platform}] {ad.content}")
print(f"Hashtags: {ad.hashtags}")
# 2. Generate a travel quote for a customer
quote = cg.get_travel_quote(
destination="Istanbul",
duration_days=5
)
print(f"\nTravel Quote: {quote.reference_id}")
print(f"Total Estimate: ${quote.total_amount}")
✅ Verified Output
[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
Hashtags: ['#Paris', '#LuxuryTravel', '#Wanderlust']
Travel Quote: QUO-IST-99283
Total Estimate: $1250.00
2. Batch Content Creation
Generate descriptions for a list of featured destinations.
from contentflow import ContentGenerator
cg = ContentGenerator()
destinations = ["Tokyo", "New York", "Dubai"]
for city in destinations:
copy = cg.generate_ad_copy(city, platform="twitter", tone="adventurous")
print(f"--- {city} ---")
print(copy.content)
✅ Verified Output
--- Tokyo ---
🍣 From neon streets to ancient shrines, Tokyo is a pulse you have to feel. Ready for the ultimate adventure? 🇯🇵 #TokyoAdventures #ExploreJapan
📊 API Reference
ContentGenerator
generate_ad_copy(destination, platform, tone) -> AdCopy: The core marketing engine.get_travel_quote(destination, duration_days) -> Quote: Generate operational price quotes.format_blog_post(topic, points) -> str: (Beta) Structured content formatter.
Core Modules
CopyEngine: NLP templates and platform-specific formatting.QuoteEngine: Logic for generating realistic pricing and references.ToneController: Heuristics for adjusting content sentiment.
🎨 Design Philosophy
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.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
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 contentflow-0.3.1.tar.gz.
File metadata
- Download URL: contentflow-0.3.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63073a490053d3f3bd58c5f21ee74744745a41d949784bd7be69870d89409355
|
|
| MD5 |
61ab6cbf56a7133864d4430a3749f00c
|
|
| BLAKE2b-256 |
b261ec0c3b8f1ead13d6d13614016a3a03d3b1ea83a239a5d6b456b4eecb2925
|
File details
Details for the file contentflow-0.3.1-py3-none-any.whl.
File metadata
- Download URL: contentflow-0.3.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9e8726d0c028cb409a0ae07b8ec9681464c93b4a745f09f2eec1b8815fc656a
|
|
| MD5 |
84650f125fc0c802cb0a8e2b91c4cc40
|
|
| BLAKE2b-256 |
4b33aa821906ddee22bf91429d6fb63e79ab6bbc9d437a3273a26ed2966450ba
|