Skip to main content

Python client and CLI for Loom workspace data and sync workflows.

Project description

loom-data

loom-data publishes the loom Python package together with the loomcli console command.

Install

uv add loom-data
uv run loomcli --help

Initialize a project

Recommended fast path for AI-assisted onboarding:

uv run loomcli init --agent codex

Interactive setup:

uv run loomcli init

Both forms create or reuse:

loom/
  <workspace>/
  .loom/
raw_data/

Fast init also installs the tutorial dataset under raw_data/cost. It installs three focused agent skills: loom-local-data-lookup, loom-dataset-scan-review, and loom-workspace-ops.

Recommended workflow

  1. Put source data into any directory with loom.md and CSV files.
  2. Ask the agent to scan it in chat with loom scan <path> [to <workspace>].
  3. Let the agent read loom/ before touching raw files.
  4. Use loomcli get <workspace/path/to/file> only for exact raw files that are needed.
  5. Use loomcli confirm, loomcli push, and loomcli pull for explicit terminal operations.

Chat examples

loom scan raw_data/energy to energy
loom ask OCGT 的成本是多少
loom OCGT 的成本是多少

loom scan should lead the agent to run loomcli scan-index and then continue curating cards in chat. loom ask and bare loom <问题> should lead the agent to inspect loom/ first rather than run a question-answering script. Agents may also inspect Loom without an explicit loom prefix when another task needs project-local, source-backed dataset facts.

CLI examples

uv run loomcli scan-index raw_data/energy to energy
uv run loomcli confirm energy
uv run loomcli push energy
uv run loomcli pull energy
uv run loomcli pull-raw energy
uv run loomcli get energy/technology-data/costs.csv
uv run loomcli set-api https://loom-api-free.onrender.com

Python API

import loom

local_path = loom.get("energy/technology-data/costs.csv")
print(local_path)

loom.get(...) prefers local cache and fetches only the file you ask for.

Notes

  • docs/reference/loom-reference.md is the repository's canonical behavior reference.
  • loom-data is the package name.
  • loomcli is the public CLI command.
  • import loom is the Python API.
  • Use loomcli scan-index both for explicit terminal scans and for the agent's internal scan path.

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

loom_data-0.1.14.tar.gz (53.7 kB view details)

Uploaded Source

Built Distribution

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

loom_data-0.1.14-py3-none-any.whl (55.6 kB view details)

Uploaded Python 3

File details

Details for the file loom_data-0.1.14.tar.gz.

File metadata

  • Download URL: loom_data-0.1.14.tar.gz
  • Upload date:
  • Size: 53.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for loom_data-0.1.14.tar.gz
Algorithm Hash digest
SHA256 fb789060fc9bd31f7192663ef879b8cc8b009d1c7d120370825b1a682dfb7f5f
MD5 717ed93958b2236e7822e2a31b7bf121
BLAKE2b-256 5a254d984c67d6e3cfd32774e815afe1dab2939925fe93e25c14a90d92a25ad1

See more details on using hashes here.

File details

Details for the file loom_data-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: loom_data-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 55.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for loom_data-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 d9a7346f071b1cd0021501a6f5556b316f0cc1b2cb75ab1c5a8037dc8b6f7f51
MD5 ccc134c141e52c6efbad9c6019dde8ec
BLAKE2b-256 ae06a6d57fde693c7047f5ffa2f9b132151590cde45320b44849df280530eefa

See more details on using hashes here.

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