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 and loomrun console commands.

Naming

  • loom ... is the chat form used with an AI agent.
  • loomcli ... is the public terminal CLI.
  • loomrun ... is the internal helper command used by agents and repository tooling.
  • import loom remains the Python import path.

Install

uv add loom-data
uv run loomcli --help

Initialize a project

uv run loomcli init

This prepares:

loom/
  <workspace>/
  .loom/
raw_data/
  <workspace>/

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 loomrun scan 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.

CLI examples

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

Internal helper examples

uv run loomrun scan raw_data/energy to energy
uv run loomrun route "loom scan raw_data/energy to energy"

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

  • loom-data is the package name.
  • loomcli is the public CLI command.
  • loomrun is the internal helper command.
  • import loom is the Python API.

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.12.tar.gz (51.1 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.12-py3-none-any.whl (53.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: loom_data-0.1.12.tar.gz
  • Upload date:
  • Size: 51.1 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.12.tar.gz
Algorithm Hash digest
SHA256 44b60c6164b469c9ab9c96fef4657ea6c645951714062f32cba6530dfedd7f0b
MD5 5d76f28b5f280cf109d4fe2a23d77a34
BLAKE2b-256 fd347a4f60ec920d88ced23e33fb3a9044fc30cbfd3f63f315801bd84bdc254b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: loom_data-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 53.7 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 53e705fd24c9ac27b40a9402f5f900d83b54d0a5c90b5880da8685390e61a1ec
MD5 9901982f5b72fad09c064b2108c161c5
BLAKE2b-256 aefd4f70643fc8cbba983ef694a5f6764c6e992d7eca17433dac2063b1e71779

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