Skip to main content

CDES-FS: Cannabis Data Exchange Standard - Food Service Extension

Food service SDK for cannabis-infused culinary applications. Part of the CDES ecosystem.

Features

  • COA Integration - Link recipes to lab test data
  • Terpene Pairing - Flavor suggestions based on terpene profiles
  • Dosage Calculation - Precise THC/CBD per serving
  • Recipe Management - Cannabis-infused recipe database
  • Compliance - Food safety and lot tracking

Use Cases

  • Cannabis-infused restaurants and cafes
  • Edible manufacturers
  • Catering services with cannabis offerings
  • Recipe development with precise dosing
  • Flavor pairing based on terpene science

Installation

pip install cdes-fs

Quick Start

from cdes_fs import (
    CannabisIngredient, Recipe, TerpeneProfile,
    IngredientType, RecipeCategory
)
from decimal import Decimal

# Create a cannabis ingredient with COA reference
butter = CannabisIngredient(
    name="Cannabis-Infused Butter",
    ingredient_type=IngredientType.BUTTER,
    thc_mg_per_gram=Decimal("10.0"),
    coa_reference=CannabisCOAReference(
        coa_id="COA-2026-001",
        batch_number="BATCH-001",
        strain_name="Blue Dream"
    )
)

# Get terpene-based food pairing suggestions
profile = TerpeneProfile(
    coa_reference=butter.coa_reference,
    limonene=Decimal("0.8"),
    myrcene=Decimal("0.5")
)
pairings = profile.suggest_pairings()
# ["citrus desserts", "seafood", "mangoes", "tropical fruits"]

# Create a recipe with automatic dosage calculation
recipe = Recipe(
    name="Cannabis Lemon Bars",
    category=RecipeCategory.DESSERT,
    servings=12,
    cannabis_ingredients=[(butter, Decimal("50.0"))]  # 50g of butter
)
dosage = recipe.calculate_total_dosage()
# 500mg total THC / 12 servings = ~42mg per serving (high_dose_warning=True)

Documentation

License

MIT License - see LICENSE for details.

Metadata

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

Built distribution (wheel)

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

Total release size: 13.4 kB

Release files / cdes_fs-0.1.0.tar.gz

Download URL cdes_fs-0.1.0.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4befc533a33b085e186fc11311e0c049be89b02c1fd988926299c28ad99673fd
BLAKE2b-256 checksum
How to use checksums
15c1f680918e7d0dcec3be183087afcc6e24f37d48ea846fe16d2190ff2bfa3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

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

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

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