Skip to main content

camel-lang

The Camel toolchain as a Python distribution: the camel command, its runtime, the standard library and the Python interop module, bundled under camel/.cmlenv/.

Why Camel

Most languages write a program as instructions for a machine to carry out one step at a time. Yet what compilers, parallel runtimes, automatic differentiation and GPU back ends actually need is a graph: what is to be computed, and what depends on what. So the graph has to be recovered from the code after the fact, by tracing, capturing and analysis. The recovered graph breaks apart, loses what the side effects meant, and the transformations applied to it become a black box the user cannot touch.

In Camel the program is the graph. What you write is the intent of the computation and its dependencies; order is written only where you need it. From that:

  • The compiler gets exactly what you wrote: nothing is traced, the graph does not break, and computations that do not depend on each other are free to run in parallel.
  • Transformations are ordinary functions: optimizing, differentiating, moving to a GPU and exporting are passes over the graph. You can look at them, swap them, and write your own in Camel.
  • Knowledge about optimization is code you can check: an algebraic law is a rule, and check tells you whether it holds.
  • One program, many ways to run it: interpreted, JIT-compiled, on a GPU, or exported to ONNX or C++, with the same meaning.

These properties hold for every program where computation matters more than control flow. Training and deploying models is the most pressing of them, which is why AI is Camel's primary application, though not its only one. More in Why Camel.

Install

pip install camel-lang

This puts the camel command on your PATH, and import camel in Python. Wheels are published for Linux (x64, arm64), macOS (Apple silicon) and Windows (x64). The camel command installs on any Python 3; calling Camel from Python needs CPython 3.10 or newer.

camel hello.cml

From Python

import camel

stats = camel.load("stats.cml")      # a Camel module
y = stats.normalize(x)               # NumPy arrays cross without a copy

A failure arrives as a camel.CamelError carrying the diagnostic and its location.

Documentation

https://docs.opencml.com · Repository · Issues

Metadata

Release files for camel-lang 0.2.43

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

Built distributions (wheels)

Table of built distributions (wheels) for camel-lang 0.2.43
File Actions
camel_lang-0.2.43-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for camel_lang-0.2.43-py3-none-win_amd64.whl
camel_lang-0.2.43-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for camel_lang-0.2.43-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
camel_lang-0.2.43-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64, Linux glibc 2.27+ ARM64 Details for camel_lang-0.2.43-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
camel_lang-0.2.43-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for camel_lang-0.2.43-cp310-abi3-win_amd64.whl
camel_lang-0.2.43-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for camel_lang-0.2.43-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
camel_lang-0.2.43-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64, Linux glibc 2.27+ ARM64 Details for camel_lang-0.2.43-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Total release size: 92.3 MB

Release files / camel_lang-0.2.43-py3-none-win_amd64.whl

Download URL camel_lang-0.2.43-py3-none-win_amd64.whl
Size 16.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
575dc7877f2153126c6daab529d7f0b785ebbfaeebb619a33a0ca9d2a05f331f
BLAKE2b-256 checksum
How to use checksums
4d5aa00b075c4ed0463b18358a451f50ff22df21b59cae5c355a00d42190feeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / camel_lang-0.2.43-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL camel_lang-0.2.43-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 14.9 MB
Tags Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
9dc63f5f5675c4acaffef8549f8be8e9862aea5e7c846eba3ad6296c81497eb4
BLAKE2b-256 checksum
How to use checksums
3d6bcbae7258ec3d069dc67da7e656ed1e0679cff3da2eb847fe627e3a3732c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / camel_lang-0.2.43-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL camel_lang-0.2.43-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 14.3 MB
Tags Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
7a076a47e01e3e27d3e134f76fb0585329fb756543c22fab831a059508c06a1c
BLAKE2b-256 checksum
How to use checksums
b04681decddfa8d81f478fe141acbb0d82f1544b9a688a418b8810543857e9d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / camel_lang-0.2.43-cp310-abi3-win_amd64.whl

Download URL camel_lang-0.2.43-cp310-abi3-win_amd64.whl
Size 16.9 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
2bfbd7dea9cb8787be775f807f91dfc112f7a9fc6e68ba76eea5bc998e8fc4d4
BLAKE2b-256 checksum
How to use checksums
c2cd8690b60e925e90559f508d1d3f8abf068c79abd407f8703d13c886787361
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / camel_lang-0.2.43-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL camel_lang-0.2.43-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 15.0 MB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
a61a54e49a711878f8b480695d5e1bbada216d3191d2a6da16c36fb802c818e0
BLAKE2b-256 checksum
How to use checksums
5f3d0b11244418a90f7a6b0eb029c97e5524513a534b4df0281e887708927129
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / camel_lang-0.2.43-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL camel_lang-0.2.43-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 14.4 MB
Tags CPython 3.10 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
306ff48a843359e7743ff35dbc5e27d995b4d8a3f49d0844bb96396a85e485fe
BLAKE2b-256 checksum
How to use checksums
685db85dea2ac07d91015393c43c1ad8c88236e3710580ba7db33ce33f4d7bdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Security for camel-lang 0.2.43

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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for camel_lang-0.2.43-py3-none-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

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.

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