Add your description here
Project description
LlamaSheets CLI
A command-line tool for parsing spreadsheet files using LlamaSheets.
Supports .xls and .xlsx files, with options for advanced extraction and metadata generation.
Installation
pip install llamasheets-cli
Or, with uv, you can do directly:
uv tool install llamasheets-cli
Usage
1. Authenticate
Before using the CLI, you must authenticate with your LlamaCloud API key.
sheets auth --token <YOUR_API_KEY>
Or, for more secure input:
sheets auth --stdin
You will be prompted to enter your API key securely.
If an API key is already configured, you will be warned and asked if you want to overwrite it.
2. Parse a Spreadsheet
Once authenticated, you can parse a spreadsheet:
sheets parse --file path/to/your.xlsx
Options
--file,-f(required): Path to the.xlsor.xlsxfile to process.--sheet,-s: Name of the sheet(s) to process. Can be used multiple times. Defaults to all sheets.--include-hidden-cells/--no-include-hidden-cells: Include hidden cells in extraction. Default:--include-hidden-cells--extraction-range: A1 notation of the range to extract (e.g.,A1:D20). Default: entire sheet.--generate-additional-metadata/--no-generate-additional-metadata: Generate extra metadata (title, description) for each region. Default:--generate-additional-metadata--use-experimental-processing/--no-use-experimental-processing: Enable experimental processing. Default:--no-use-experimental-processing--flatten-hierarchical-tables/--no-flatten-hierarchical-tables: Flatten hierarchical tables. Default:--no-flatten-hierarchical-tables--table-merge-sensitivity [strong|weak]: How aggressively to merge similar regions. Default:strong--save-csv/--no-save-csv: Save results as CSV files in theparsed/folder. Default:--save-csv
Example
sheets parse -f data.xlsx -s Sheet1 -s Sheet2 --extraction-range A1:D20 --no-save-csv
Output
- Results are displayed in your terminal with markdown formatting.
- If
--save-csvis enabled, CSV files are saved in theparsed/directory, named after the extracted region titles.
License and Contributions
This project is distributed under the MIT License.
Contributions are welcome and encouraged, and should follow the guidelines in CONTRIBUTING.md.
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 llamasheets_cli-0.1.0.tar.gz.
File metadata
- Download URL: llamasheets_cli-0.1.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86817612d55022728decb8def98d69fb847cf6535f9f307ddc417016abea1044
|
|
| MD5 |
f0d9639848dab7c768e387b662d21cca
|
|
| BLAKE2b-256 |
9d840f82f56f0d257eea7d42e348052e09829422ceaa4aaad255637de1d523ff
|
File details
Details for the file llamasheets_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: llamasheets_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d5f4c4b04fb35801f9acfc00ff3600af6314bee2423c7a8bbb65999c9341adb
|
|
| MD5 |
9220be89a582f13424cf04b43d54fb19
|
|
| BLAKE2b-256 |
b2e867ec99d8e155f18ca2e08ec7682ec340763ddd8076ca11775eb5a54a3b54
|