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.
Recommended workflow
- Put source data into any directory with
loom.mdand CSV files. - Ask the agent to scan it in chat with
loom scan <path> [to <workspace>]. - Let the agent read
loom/before touching raw files. - Use
loomcli get <workspace/path/to/file>only for exact raw files that are needed. - Use
loomcli confirm,loomcli push, andloomcli pullfor 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.
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.mdis the repository's canonical behavior reference.loom-datais the package name.loomcliis the public CLI command.import loomis the Python API.- Use
loomcli scan-indexboth for explicit terminal scans and for the agent's internal scan path.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file loom_data-0.1.13.tar.gz.
File metadata
- Download URL: loom_data-0.1.13.tar.gz
- Upload date:
- Size: 51.9 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbeeded14925202e4b6012027738f9f287323bdbb29835746434c3fcf53b0b0f
|
|
| MD5 |
7015052e441852c044d7b2e172b15139
|
|
| BLAKE2b-256 |
f875fdd1e5db45ddf1916166ddd611f0299af408240afea5c6b23b0dbddb2e1f
|
File details
Details for the file loom_data-0.1.13-py3-none-any.whl.
File metadata
- Download URL: loom_data-0.1.13-py3-none-any.whl
- Upload date:
- Size: 53.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd974c9f7934ce60615b29d2dfd653418695aafbe1a5cec9279acb1231d860c9
|
|
| MD5 |
d357dc1d15a3e4680d2b97fa37cb9af3
|
|
| BLAKE2b-256 |
4c0d19b83f142e2c2b1b81330a897ea5c6e8e0fe1efca6c26f64f368ecd9f53a
|