Skip to main content

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

Metadata

Release files for cdes-mk 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cdes-mk 0.1.0
File Size Uploaded Provenance Actions
cdes_mk-0.1.0.tar.gz 5.9 kB Without provenance Details for cdes_mk-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cdes-mk 0.1.0
File Interpreter ABI Platform Actions
cdes_mk-0.1.0-py3-none-any.whl Python 3 none any Details for cdes_mk-0.1.0-py3-none-any.whl

Total release size: 11.9 kB

Release files / cdes_mk-0.1.0.tar.gz

Download URL cdes_mk-0.1.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3bde9f19755854f73f413493ca772ac644df51360934229021f939aa37643405
BLAKE2b-256 checksum
How to use checksums
6cc7e02623838fcda4d7c1382d7764f24fdcb4b380e18ed3467ffc48b038de8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / cdes_mk-0.1.0-py3-none-any.whl

Download URL cdes_mk-0.1.0-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e06074ef9ee3415346df5dd386b36c5b96cad94cfe04c79ebbe95932999a279
BLAKE2b-256 checksum
How to use checksums
aebc6b1e221da54d0d592d16602ecf8d00e0cfeecb44f3fea0d62d712c564a1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for cdes-mk 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page