Skip to main content

Moraine — unified trace indexer and MCP server for Claude Code / Codex

Project description

moraine-cli (PyPI distribution)

This directory packages the Moraine CLI binaries as platform-tagged Python wheels so they can be installed with:

uv tool install moraine-cli
# or
uvx --from moraine-cli moraine --help

The PyPI distribution name is moraine-cli because the shorter moraine is already taken on PyPI by an unrelated InSAR postprocessing tool. The command-line entry points installed by the wheel are the original short names — moraine, moraine-ingest, moraine-monitor, moraine-mcp — so after uv tool install moraine-cli you still run moraine up the same as before.

The wheel contains prebuilt binaries — the exec-shim package (moraine_cli/__init__.py) calls os.execvpe into the bundled moraine, moraine-ingest, moraine-monitor, and moraine-mcp binaries with the bundled web/monitor/dist/ and config/moraine.toml paths exposed via MORAINE_MONITOR_DIST / MORAINE_DEFAULT_CONFIG env vars.

This is a packaging wrapper, not a Python library. It is not the pyo3 binding at bindings/python/moraine_conversations/ — that ships separately.

How wheels are built

Wheels are not produced by maturin, setuptools, or a direct pip wheel . — they are assembled from the already-built moraine-bundle-<target>.tar.gz release artifacts by scripts/build-python-wheels.py.

This keeps the Rust build and the Python packaging cleanly separated and guarantees the wheel contents are byte-identical to the GitHub Releases bundle.

See RFC #219 for the full rationale.

Why building from source is refused

Moraine needs a Rust toolchain and bun to produce the monitor frontend — way out of scope for pip install. The sdist is a stub that raises a clear error:

$ pip install moraine-cli --no-binary moraine-cli
ERROR: moraine ships as prebuilt binary wheels only. Install via a
       platform with a published wheel, or build from source with:
       https://github.com/eric-tramel/moraine#install-from-source

See scripts/build-python-sdist.py.

Install from the main repo

If you want the full source workflow (editable installs, Rust toolchain, development ClickHouse), see the top-level README instead.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moraine_cli-0.4.2rc2.tar.gz (1.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

moraine_cli-0.4.2rc2-py3-none-manylinux_2_28_x86_64.whl (13.3 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

moraine_cli-0.4.2rc2-py3-none-manylinux_2_28_aarch64.whl (13.1 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

moraine_cli-0.4.2rc2-py3-none-macosx_11_0_arm64.whl (12.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file moraine_cli-0.4.2rc2.tar.gz.

File metadata

  • Download URL: moraine_cli-0.4.2rc2.tar.gz
  • Upload date:
  • Size: 1.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for moraine_cli-0.4.2rc2.tar.gz
Algorithm Hash digest
SHA256 9f7273537eda42e70557e196bf7bd600d28d2e3a5ee34eb41db297860a391407
MD5 ca72fbbb3fbf07a7918712abd5730be1
BLAKE2b-256 9fbfccefb5918e2267126b738c719f1e4bcade6aeffe7f8647d7758566753b96

See more details on using hashes here.

Provenance

The following attestation bundles were made for moraine_cli-0.4.2rc2.tar.gz:

Publisher: release-moraine.yml on eric-tramel/moraine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file moraine_cli-0.4.2rc2-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for moraine_cli-0.4.2rc2-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 47bbb0998c9872cffd7cf3699fb26cb07bb80adef7531bbd324cafc4f4188404
MD5 0468cf8e344cbccef2296e753c78af4b
BLAKE2b-256 6ae5bac1604040b61781fb8d9871f2acbcacce74a4cbaa62f19cf20b771f9c41

See more details on using hashes here.

Provenance

The following attestation bundles were made for moraine_cli-0.4.2rc2-py3-none-manylinux_2_28_x86_64.whl:

Publisher: release-moraine.yml on eric-tramel/moraine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file moraine_cli-0.4.2rc2-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for moraine_cli-0.4.2rc2-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 561cec5a4ad240a64a7324ceb8e023c8d912450bd574d72e54f3b78b9b840f9b
MD5 de5914750fcba15b03f1d24a8d7c8c05
BLAKE2b-256 e20cd3bb57247e33f1bb929d9ad43b501bfb6fdc495f274819fee460d89dfca0

See more details on using hashes here.

Provenance

The following attestation bundles were made for moraine_cli-0.4.2rc2-py3-none-manylinux_2_28_aarch64.whl:

Publisher: release-moraine.yml on eric-tramel/moraine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file moraine_cli-0.4.2rc2-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for moraine_cli-0.4.2rc2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1483898ef266e58332394c371e0b08ffb8ba1e36afdf1ff665151e2e258d4598
MD5 c9905adb6096b46094cce3ffe98c7800
BLAKE2b-256 8990ce97370b64ed8357d7a1b2099cc455eb3e83d88da5c512240c1f5e1c76ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for moraine_cli-0.4.2rc2-py3-none-macosx_11_0_arm64.whl:

Publisher: release-moraine.yml on eric-tramel/moraine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page