CDES Commerce Extension - GS1/EDI/Inventory data models for cannabis commerce
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cdes_c-0.1.0.tar.gz
(4.8 kB
view details)
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 cdes_c-0.1.0.tar.gz.
File metadata
- Download URL: cdes_c-0.1.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7f03d4f86b2cf4bb6ed8eceb246a8ac97548e8e0bf2185a91f971a1f245338a
|
|
| MD5 |
b9cfa92a55335cf0ffd1959a2150e53f
|
|
| BLAKE2b-256 |
57c58833f61b1d557399f3884c86f31757e0d07e2fdbdb8b7df18dc7222890e5
|
File details
Details for the file cdes_c-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cdes_c-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
261f83141d660f7c8554d84eed405e6c2e7bc761f27fce530b9dc418806f61cf
|
|
| MD5 |
4bf321be7914746fec6173f29674bbac
|
|
| BLAKE2b-256 |
2a5dbc5a045468346a45c63633aea03f2086ffedcaa55dfb0dff08cdb972d639
|