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

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.45
File Actions
camel_lang-0.2.45-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for camel_lang-0.2.45-py3-none-win_amd64.whl
camel_lang-0.2.45-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.45-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
camel_lang-0.2.45-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.45-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
camel_lang-0.2.45-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for camel_lang-0.2.45-cp310-abi3-win_amd64.whl
camel_lang-0.2.45-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.45-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
camel_lang-0.2.45-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.45-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Total release size: 97.5 MB

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

Download URL camel_lang-0.2.45-py3-none-win_amd64.whl
Size 17.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
7bced43526369722fb8326e5fc9188579e7478bd3f3083ce05bcfe8f02c1b060
BLAKE2b-256 checksum
How to use checksums
01ad0c482981a391d9571ac11e570d0b04b9fefe8c3932a268ff9ac0502dc6a1
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 21, 2026.

Transparency log

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

Download URL camel_lang-0.2.45-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 15.8 MB
Tags Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
38e804812fc615324ed95aa0fe55aa6fe712d19135c2daee57b4d8a491c09310
BLAKE2b-256 checksum
How to use checksums
b475153efae4c9835e9d30426e5aa7f2f07de5aab81f80c102e6db6843577e73
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 21, 2026.

Transparency log

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

Download URL camel_lang-0.2.45-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 15.2 MB
Tags Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
eab30bbbea9c1a27a3f810246209579d8d505ddbddc9a2505828b812e428b61b
BLAKE2b-256 checksum
How to use checksums
587ac96bc39a23ccd12b5395604cd4b54f349a3b3129c10df09c83d88c41ad65
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 21, 2026.

Transparency log

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

Download URL camel_lang-0.2.45-cp310-abi3-win_amd64.whl
Size 17.7 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
c9fa38efa28f1df749e064453004978a86de6975a7ccfaeaa88d9851afba9d83
BLAKE2b-256 checksum
How to use checksums
62fdf690efbaefba67732e8094369b7080ae2dfeb58056e248992136c749ce43
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 21, 2026.

Transparency log

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

Download URL camel_lang-0.2.45-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 15.9 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
645cee216ab5bde09ae7cd681d47e499776ff4823e7bb878bc2b06fb6e15393f
BLAKE2b-256 checksum
How to use checksums
b503382afc9483a638b0f4fdc5049abfae2d6701e489ff0f134369b0de07f296
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 21, 2026.

Transparency log

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

Download URL camel_lang-0.2.45-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 15.3 MB
Tags CPython 3.10 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
dd9ca14364cabf52ef2e4ba43687a03b2fcd37afa8cd6852afb97cd4f9208124
BLAKE2b-256 checksum
How to use checksums
22f775884a2417440c9a7606ce3ea6d2419c34095a01e239678b09a1d39f5024
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 21, 2026.

Transparency log

Security for camel-lang 0.2.45

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.45-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 21, 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