loom-data
loom-data publishes the loom Python package together with the loomcli console command.
Install
Install Loom so loomcli runs directly in your terminal. The setup is complete
only after loomcli --help works without uv run.
Recommended:
pipx install loom-data
loomcli --help
With uv:
uv tool install loom-data
loomcli --help
With pip:
python -m pip install loom-data
loomcli --help
With conda:
conda create -n loom python=3.12
conda activate loom
python -m pip install loom-data
loomcli --help
Initialize a project
Recommended fast path for AI-assisted onboarding:
loomcli init --agent codex
Interactive setup:
loomcli init
Both forms create or reuse:
loom/
<workspace>/
.loom/
raw_data/
Fast init downloads the tutorial dataset into raw_data/demo_germany_energy_data.
The tutorial data is versioned outside the PyPI package and verified during
download. Use --no-tutorial to skip it or --tutorial-url <url> with
--tutorial-sha256 <sha256> to use a mirror. Fast init installs three focused agent skills: loom-ask,
loom-scan, and loom-workspace-ops.
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. Raw paths preserve dataset directory structure, including the source-root dataset name when the scan source is itself a dataset root. - Use
loomcli confirm,loomcli push, andloomcli pullfor explicit terminal operations.
Chat examples
/loom-scan raw_data
/loom-ask build a 24-hour German electricity data html demo
loom 德国 2015 年有哪些发电装机容量数据?
/loom-scan or loom scan should lead the agent to run loomcli scan-index and then continue curating cards in chat.
During a scan, any directory containing loom.md is treated as a dataset root. Each dataset gets an overview.md and profile.json, and each CSV gets its own .card.md and .profile.json. Parent datasets preserve nested child dataset directories, exclude child CSV files from their own cards, and list direct child overview links. Rescans reuse unchanged CSV hashes and profiles so only changed datasets are rebuilt.
/loom-ask, 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
loomcli scan-index raw_data/energy to energy
loomcli confirm energy
loomcli push energy
loomcli pull energy
loomcli pull-raw energy
loomcli get energy/demo_germany_energy_data/open_power_system_data/generation_capacity/germany_2015_net_capacity.csv
loomcli set-api https://loom-api-free.onrender.com
Python API
import loom
local_path = loom.get("energy/demo_germany_energy_data/open_power_system_data/generation_capacity/germany_2015_net_capacity.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.
Metadata
Release files for loom-data 0.1.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| loom_data-0.1.18.tar.gz | 63.6 kB | Without provenance | Details for loom_data-0.1.18.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| loom_data-0.1.18-py3-none-any.whl | Python 3 | none | any | Details for loom_data-0.1.18-py3-none-any.whl |
Total release size: 126.0 kB
Release files / loom_data-0.1.18.tar.gz
| Download URL | loom_data-0.1.18.tar.gz |
|---|---|
| Size | 63.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a67558950ad0f0e6582c06eec1ed94b5d1625132ad8c35da3f7a0775269fb440
|
|
BLAKE2b-256 checksum How to use checksums |
4c00c9bacd3aca1b516b44e98b0f33633ad867fcb333125c6aa5841948222fe7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / loom_data-0.1.18-py3-none-any.whl
| Download URL | loom_data-0.1.18-py3-none-any.whl |
|---|---|
| Size | 62.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
064717b6364de405bb9a46df444ce9d770fb8404625f82ea91f42c503be804c8
|
|
BLAKE2b-256 checksum How to use checksums |
beaf1eb86ebc16a2be5ae861ef1cc449a4194096177e657b913ff77ead6215bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Security for loom-data 0.1.18
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.