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

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.48
File Actions
camel_lang-0.2.48-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for camel_lang-0.2.48-py3-none-win_amd64.whl
camel_lang-0.2.48-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.48-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
camel_lang-0.2.48-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.48-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
camel_lang-0.2.48-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details for camel_lang-0.2.48-py3-none-macosx_13_0_arm64.whl
camel_lang-0.2.48-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for camel_lang-0.2.48-cp310-abi3-win_amd64.whl
camel_lang-0.2.48-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.48-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
camel_lang-0.2.48-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.27+ ARM64, Linux glibc 2.28+ ARM64 Details for camel_lang-0.2.48-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
camel_lang-0.2.48-cp310-abi3-macosx_13_0_arm64.whl CPython 3.10 abi3 macOS 13.0+ ARM64 Details for camel_lang-0.2.48-cp310-abi3-macosx_13_0_arm64.whl

Total release size: 146.3 MB

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

Download URL camel_lang-0.2.48-py3-none-win_amd64.whl
Size 18.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
1af36f9d4d146214d1b3dcd201f3f442d04b78e2cc00232fd8a9278a239f5ac7
BLAKE2b-256 checksum
How to use checksums
9dadfeeb4df332cfc8a77d28665097f64279856434744f432d8ad575157f7958
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 29, 2026.

Transparency log

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

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

Transparency log

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

Download URL camel_lang-0.2.48-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 15.8 MB
Tags Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
c8dc7cafd0dd20ac79bf9fa587580b1c8d1afa1a51a082defd1298fd2c3536d8
BLAKE2b-256 checksum
How to use checksums
cdf7c5ac518aab5c0f2a6b7a272e31935afee082ecfee7fec392f12d7f06d426
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 29, 2026.

Transparency log

Release files / camel_lang-0.2.48-py3-none-macosx_13_0_arm64.whl

Download URL camel_lang-0.2.48-py3-none-macosx_13_0_arm64.whl
Size 22.6 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
a4da0d2fac9ab7a5009dac9558f730a99cad11691388b63fd71abb82cd37044b
BLAKE2b-256 checksum
How to use checksums
4d7af17c2a2f6a24158e8d94afaad0136e93b929ee5f2184e440e722018a57ef
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 29, 2026.

Transparency log

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

Download URL camel_lang-0.2.48-cp310-abi3-win_amd64.whl
Size 18.2 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
63ba753b6ba236b0228ede9b9853c50cff13d6582c64a10e22f1b5801064a308
BLAKE2b-256 checksum
How to use checksums
cb499cd3c021a8e1c124d4ca26a0065c9a497480e6178622e95b56b591f16573
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 29, 2026.

Transparency log

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

Download URL camel_lang-0.2.48-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 16.6 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
8ea9b8f7dd6cb033296c12f58c5fa4c41955144f297a1dc8233a2c98e2cb4c64
BLAKE2b-256 checksum
How to use checksums
30b513d3b6c2b595ee98880e97dec62265652c94bd2550aae46494003539b6e7
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 29, 2026.

Transparency log

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

Download URL camel_lang-0.2.48-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 15.9 MB
Tags CPython 3.10 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
065f53ec974b33044619fd77b534673e7bdcc91f52b752b4dfcd6d06a9dd12bf
BLAKE2b-256 checksum
How to use checksums
82f29a41f26464d4fb15d5ef71375b190f6618d1812a36f65abe6075b02453d3
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 29, 2026.

Transparency log

Release files / camel_lang-0.2.48-cp310-abi3-macosx_13_0_arm64.whl

Download URL camel_lang-0.2.48-cp310-abi3-macosx_13_0_arm64.whl
Size 22.7 MB
Tags CPython 3.10 abi3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
b43ef48812d0dbd58065d463de565f7997ead5549da8c23cdd03a33c7aca1823
BLAKE2b-256 checksum
How to use checksums
03f1d347781789792fbc2057734f62b2c7ab5eff94be80a7a538d0d06a3a0a78
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 29, 2026.

Transparency log

Security for camel-lang 0.2.48

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 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for camel_lang-0.2.48-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 29, 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