Marketing Package v0.1.0
CDES-MK
Marketing & Loyalty Programs
Loyalty programs, campaigns, deals, and customer segmentation. Integrates with AlpineIQ, Springbig, Fyllo, Surfside, and Headset.
pip install cdes-mk
Marketing Features
Customer Profiles
Rich customer profiles with preferences, purchase history, and segmentation.
Campaign Management
Email, SMS, and push notification campaign tracking and analytics.
Loyalty Programs
Points, tiers, rewards, and redemption tracking for dispensary loyalty.
Analytics
Marketing ROI, customer lifetime value, and campaign performance metrics.
Quick Example
from cdes_mk import Customer, LoyaltyProgram, Deal, DealType
# Create a customer with consent
customer = Customer(
status=CustomerStatus.ACTIVE,
loyalty_member_id="LM-001"
)
# Set up loyalty program
loyalty = LoyaltyProgram(
name="Green Rewards",
points_per_dollar=Decimal("1.0"),
enrollment_bonus=100,
birthday_bonus=50
)
# Create a 4/20 deal
deal = Deal(
name="4/20 Flash Sale",
deal_type=DealType.PERCENTAGE_OFF,
value=Decimal("20.0"),
promo_code="420SALE"
) Use Cases
Targeted Marketing
Segment customers by strain preference, purchase frequency, and spending.
Retention Programs
Build loyalty programs that keep customers coming back.
Performance Tracking
Measure campaign ROI and customer acquisition costs.
Ready to supercharge your marketing?
Install cdes-mk to build data-driven cannabis marketing campaigns.
Get Started