Skip to main content

CDES Marketing Extension - Cannabis loyalty, campaigns, and analytics SDK

Project description

CDES-MK: Cannabis Data Exchange Standard - Marketing Extension

Marketing and demand generation SDK for the cannabis industry. Part of the CDES ecosystem.

Features

  • Customer Profiles - Unified customer data with consent management
  • Loyalty Programs - Points, tiers, rewards, and redemptions
  • Campaigns - Email, SMS, push notification campaign management
  • Deals & Promotions - Discount engine with complex conditions
  • Analytics - Marketing attribution and performance tracking

Platform Integrations

Platform Status Description
AlpineIQ Ready Largest cannabis loyalty platform
Springbig Coming SMS marketing and loyalty
Headset Ready Market intelligence and analytics
Fyllo Coming Programmatic cannabis advertising
Surfside Coming CDP and audience data

Installation

pip install cdes-mk

Quick Start

from cdes_mk import Customer, LoyaltyProgram, Campaign, Deal

# Create a customer
customer = Customer(
    external_id="POS-12345",
    profile=CustomerProfile(
        first_name="Jane",
        email="jane@example.com",
        preferred_terpenes=["limonene", "myrcene"]
    )
)

# Create a deal
deal = Deal(
    name="First Time Patient",
    deal_type=DealType.PERCENTAGE_OFF,
    value=Decimal("20.00"),
    conditions=DealCondition(first_time_only=True)
)

Documentation

License

MIT License - see LICENSE for details.

Part of CDES

This SDK is part of the Cannabis Data Exchange Standard ecosystem:

  • CDES (Core) - Strains, batches, terpenes, cannabinoids
  • CDES-M - Medical/healthcare (FHIR, HL7)
  • CDES-C - Commerce (GS1, EDI, e-commerce)
  • CDES-MK - Marketing (this SDK)
  • CDES-FS - Food Service (recipes, dosing)

Learn more at cdes.dev

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

cdes_mk-0.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cdes_mk-0.1.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file cdes_mk-0.1.0.tar.gz.

File metadata

  • Download URL: cdes_mk-0.1.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for cdes_mk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3bde9f19755854f73f413493ca772ac644df51360934229021f939aa37643405
MD5 c4e1c826baee1e6bb14cf1ab50983a38
BLAKE2b-256 6cc7e02623838fcda4d7c1382d7764f24fdcb4b380e18ed3467ffc48b038de8b

See more details on using hashes here.

File details

Details for the file cdes_mk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cdes_mk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for cdes_mk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e06074ef9ee3415346df5dd386b36c5b96cad94cfe04c79ebbe95932999a279
MD5 5a3a663a986b4b7174c77c9c2bdc10e3
BLAKE2b-256 aebc6b1e221da54d0d592d16602ecf8d00e0cfeecb44f3fea0d62d712c564a1a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page