Skip to main content

CDES-C: Cannabis Data Exchange Standard - Commerce Extension

Enterprise commerce SDK for cannabis retail integration. Part of the CDES ecosystem.

Features

  • GS1 Standards - GTIN, GLN, SSCC, DataMatrix barcodes
  • EDI X12 - Purchase orders (850), acknowledgments (855), ASN (856), invoices (810)
  • Product Catalog - Cannabis product management with COA links
  • Inventory - Real-time stock tracking and movements
  • Compliance - License verification, chain of custody

Platform Integrations

Platform Type Status
Shopify E-commerce Coming
WooCommerce E-commerce Coming
BigCommerce E-commerce Coming
Square POS Coming
Dutchie Cannabis POS Coming
Treez Cannabis POS Coming

Installation

pip install cdes-c

Quick Start

from cdes_c import CannabisProduct, PurchaseOrder, ProductCategory
from cdes_c.gs1 import GTINManager

# Create a product with GS1 identifiers
product = CannabisProduct(
    sku="FL-OG-3.5",
    gtin=GTINManager.generate_gtin14("0012345"),
    name="OG Kush - 3.5g",
    category=ProductCategory.FLOWER,
    strain_name="OG Kush",
    thc_percentage=Decimal("24.5"),
    coa_url="https://lab.example.com/coa/12345"
)

# Create a purchase order
po = PurchaseOrder(
    po_number="PO-2026-001",
    buyer_gln="0012345000001",
    seller_gln="0098765000001"
)

Documentation

License

MIT License - see LICENSE for details.

Metadata

Release files for cdes-c 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-c 0.1.0
File Size Uploaded Provenance Actions
cdes_c-0.1.0.tar.gz 4.8 kB Without provenance Details for cdes_c-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 9.8 kB

Release files / cdes_c-0.1.0.tar.gz

Download URL cdes_c-0.1.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e7f03d4f86b2cf4bb6ed8eceb246a8ac97548e8e0bf2185a91f971a1f245338a
BLAKE2b-256 checksum
How to use checksums
57c58833f61b1d557399f3884c86f31757e0d07e2fdbdb8b7df18dc7222890e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

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

Download URL cdes_c-0.1.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
261f83141d660f7c8554d84eed405e6c2e7bc761f27fce530b9dc418806f61cf
BLAKE2b-256 checksum
How to use checksums
2a5dbc5a045468346a45c63633aea03f2086ffedcaa55dfb0dff08cdb972d639
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for cdes-c 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