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

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

Total release size: 154.6 MB

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

Download URL camel_lang-0.2.49-py3-none-win_amd64.whl
Size 19.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
e27a35bb52bc8589c3250e783a8283fc86cb76c8cc4de35ca5215d70ace5014f
BLAKE2b-256 checksum
How to use checksums
4cb5e3f4f8ab2d4d4316df0507ed752fc871c11bf22851d43937a6f66554c58b
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 30, 2026.

Transparency log

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

Download URL camel_lang-0.2.49-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 17.5 MB
Tags Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
96f02336cb6f5339b326e0d63fb117f3029c66fa141973c5c51c69380bf627c1
BLAKE2b-256 checksum
How to use checksums
8a246d68f2705dd93ab32cbdeec57ee7d6c923b2781e1fbd745d657c7eb231b3
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 30, 2026.

Transparency log

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

Download URL camel_lang-0.2.49-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 16.8 MB
Tags Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
3c76051407a7754c375bd60b9d24d3af4a362c5d79fa910ef25387e1db57bf84
BLAKE2b-256 checksum
How to use checksums
f871c6cc1a9b9e430e8bc40e0bb8466c209782b138a34d678402d5fbd1a02c0a
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 30, 2026.

Transparency log

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

Download URL camel_lang-0.2.49-py3-none-macosx_13_0_arm64.whl
Size 23.6 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
7c0a97d1f2f28aa95227173eb18498cedc4467c8e827272b24c8796469b5fa02
BLAKE2b-256 checksum
How to use checksums
75005939a19a930b2d22fbfdad6cb174a029d49d98e21edc1313247bc08970f8
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 30, 2026.

Transparency log

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

Download URL camel_lang-0.2.49-cp310-abi3-win_amd64.whl
Size 19.3 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
e2fd4462a0ffd32b6b194e5c72ffd1a62449751d2ab4ec50419445a41304d0cd
BLAKE2b-256 checksum
How to use checksums
be15443fa0020ac31ee4e7c2d24a772c1e956f8ba8e1b30754c85d7304f47149
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 30, 2026.

Transparency log

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

Download URL camel_lang-0.2.49-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 17.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
acb7be1f84c0c4e19739b3df388a21645cefdf65bf0cb02058671b1d50420c1d
BLAKE2b-256 checksum
How to use checksums
d6f0d877bd951bf5ed834d73e9ffbdb03b6371a93f0f962ae78d1a8f1516fed4
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 30, 2026.

Transparency log

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

Download URL camel_lang-0.2.49-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 16.9 MB
Tags CPython 3.10 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
c4d23b36d7203f4b158ed733125e759251cf9285afe467d1145fd5d5bdbc922e
BLAKE2b-256 checksum
How to use checksums
6f535ffa564843496eef900d210552d39be7d397b81454fde56d118630ad7d84
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 30, 2026.

Transparency log

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

Download URL camel_lang-0.2.49-cp310-abi3-macosx_13_0_arm64.whl
Size 23.7 MB
Tags CPython 3.10 abi3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
82affb45b7ddd7f778f8e84ceba57c5c8e4a6a9aab10ad1617c3d1e2a66496c4
BLAKE2b-256 checksum
How to use checksums
513e1e1704b645859cd1e9fa22ff5eb2fd1feee83b82c96630bcedc5172f0419
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 30, 2026.

Transparency log

Security for camel-lang 0.2.49

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.49-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 30, 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