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.42

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.42
File Actions
camel_lang-0.2.42-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for camel_lang-0.2.42-py3-none-win_amd64.whl
camel_lang-0.2.42-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for camel_lang-0.2.42-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
camel_lang-0.2.42-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.42-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
camel_lang-0.2.42-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for camel_lang-0.2.42-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
camel_lang-0.2.42-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.27+ ARM64, Linux glibc 2.28+ ARM64 Details for camel_lang-0.2.42-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
camel_lang-0.2.42-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for camel_lang-0.2.42-cp310-cp310-win_amd64.whl

Total release size: 90.9 MB

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

Download URL camel_lang-0.2.42-py3-none-win_amd64.whl
Size 16.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
43aadace9b18f7b7a2d851c9977b075093a138e557381beb9213feb2596eb840
BLAKE2b-256 checksum
How to use checksums
da51aee0cac5d8ed6ab2946ca6af80a9cb5ce905527b6b62ec8e555ab318e556
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 3, 2026.

Transparency log

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

Download URL camel_lang-0.2.42-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 14.7 MB
Tags Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
c548ee6aeb34273c0abec47da6061752a03b36365da0e2af7e6b85a9b90310bf
BLAKE2b-256 checksum
How to use checksums
c6179a16e092bf9ba408d5780f6ac2c1255c03a239a22e83c8519ea84fb6bb39
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 3, 2026.

Transparency log

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

Download URL camel_lang-0.2.42-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 14.1 MB
Tags Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
76b60c0fc7e57474ab54bb34cf522f2798dbe42833cd744098d4302cfb98a544
BLAKE2b-256 checksum
How to use checksums
b5786d2585aa24eee3e64e5d1fd83a87ddf03099839504e45ae28b6de738fbf7
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 3, 2026.

Transparency log

Release files / camel_lang-0.2.42-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL camel_lang-0.2.42-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 14.8 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
e5c030115fdcd9039114c3af217a637fc76699a90c0eb383ceb0a10153c70fa2
BLAKE2b-256 checksum
How to use checksums
e806936c96eefae3cbba9a3a83e66f259993f94dc27300d2936cc3b6c7b96ef4
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 3, 2026.

Transparency log

Release files / camel_lang-0.2.42-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL camel_lang-0.2.42-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 14.2 MB
Tags CPython 3.11 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
d80bcad01aab7f8fefdeffe602cdc138b36a28f7d8cb2e3c50182c9f357aaf37
BLAKE2b-256 checksum
How to use checksums
78184e96f79583148ae66421b6b39481a81312abd7b8ea1e20243640595b8c37
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 3, 2026.

Transparency log

Release files / camel_lang-0.2.42-cp310-cp310-win_amd64.whl

Download URL camel_lang-0.2.42-cp310-cp310-win_amd64.whl
Size 16.7 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
2eed7feaf7bea486393e61e354b81097427c5257b6a7505f1da04750aad4a588
BLAKE2b-256 checksum
How to use checksums
a40be12fa3a270ee071c9727b2ae360da91bfedc42a7716c2c3eefae3386d904
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 3, 2026.

Transparency log

Security for camel-lang 0.2.42

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.42-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 3, 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