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

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

Total release size: 90.3 MB

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

Download URL camel_lang-0.2.41-py3-none-win_amd64.whl
Size 16.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
a9d4ce712e7eb240ff031dbc93f14abd27c36b37ead127aeae03caac20173178
BLAKE2b-256 checksum
How to use checksums
7eb0aa448c4bc495fb8f91c41e6a8f5b15b2c4be6d2e602f0f3bc8e5bd58c960
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 2, 2026.

Transparency log

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

Download URL camel_lang-0.2.41-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 14.6 MB
Tags Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
9a17b257b94b3c854f00cfbb8e93d9dc65dbfd7a588afee329d0bbd357c9bb38
BLAKE2b-256 checksum
How to use checksums
f73d4f9e344bb025c7735699eef51bc11897799a13e6337f7f79ded4758424b9
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 2, 2026.

Transparency log

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

Download URL camel_lang-0.2.41-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 14.0 MB
Tags Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
21b29daffa56e376d1f13d40680816a51257b160314f7dbc3c7c00c4b0141617
BLAKE2b-256 checksum
How to use checksums
48f411a0f300053075d657740f907b8d2ad7545154b9ab14072ee0dd396048f3
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 2, 2026.

Transparency log

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

Download URL camel_lang-0.2.41-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 14.7 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
efe3845072fb8363521d8821c4b8260dbb5cd8a828861743c410a2dcf14d44a2
BLAKE2b-256 checksum
How to use checksums
e561f63a609d8e8e7dca76b77190c28ce8473addb7822b2e80930c60b798338d
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 2, 2026.

Transparency log

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

Download URL camel_lang-0.2.41-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 14.1 MB
Tags CPython 3.11 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
f7377ef47e2b16eab1b47f017c3e0d8b740fd9e5adc050b10f81c6b78db4688a
BLAKE2b-256 checksum
How to use checksums
14df1abafd6673df3898a3567be06395901d86368e3c2223334e4ad339bd5d0f
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 2, 2026.

Transparency log

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

Download URL camel_lang-0.2.41-cp310-cp310-win_amd64.whl
Size 16.6 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
3016a8fd7690c9f08bf2118e06e5587adb01702cc419b3a2839594f08aa0bb6f
BLAKE2b-256 checksum
How to use checksums
f403bac15d772c5f17f926846d13bfe18a50ce58752c0f80bf771a5d40071a89
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 2, 2026.

Transparency log

Security for camel-lang 0.2.41

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.41-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 2, 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