CLI for common MaybeAI spreadsheet operations
Project description
maybeai-sheet-cli
CLI for MaybeAI spreadsheet operations.
maybeai-sheet wraps the MaybeAI spreadsheet HTTP APIs behind a stable command-line interface for humans, CI jobs, and agents.
Install
pip install maybeai-sheet-cli
Upgrade to the latest release:
maybeai-sheet update
Install a specific version:
maybeai-sheet update --version 0.2.0
Requirements
- Python 3.10+
MAYBEAI_API_TOKEN
Configure
Set your API token:
export MAYBEAI_API_TOKEN="YOUR_TOKEN"
Optional global flags:
--base-urlto point at a different MaybeAI API host--output json|table|yaml--timeout <seconds>--verbose
Quick Start
Read a workbook:
maybeai-sheet sheet read --doc-id abc123
List worksheets:
maybeai-sheet sheet worksheets --doc-id abc123
Read headers from a worksheet:
maybeai-sheet sheet headers --doc-id abc123 --gid 3
Create a workbook:
maybeai-sheet workbook create --title "Board Pack"
Append rows and verify:
maybeai-sheet sheet append --doc-id abc123 --gid 3 --rows rows.json --verify
Commands
updateworkbook createworkbook create-from-fileworkbook manifestworkbook capabilitiessheet readsheet read-rangesheet read-manysheet named-rangesheet headerssheet worksheetssheet formulassheet write-rangesheet clear-rangesheet appendsheet formula-setsheet formula-batch-setsheet recalculatesheet upsertsheet create-worksheetraw post
Input Rules
- Use
--doc-id,--url, or--urito identify a workbook. - Use
--worksheet-namewhen the endpoint supports it. - Use
--gidfor gid-specific sheet targeting. - File inputs like
--rows,--values,--targets, and--operationsmust be JSON.
Output
Default output is JSON. table is optimized for sheet-like payloads; yaml is also supported.
Development
python3 -m venv .venv
. .venv/bin/activate
pip install -U pip
pip install -e .
Run tests:
python -m unittest discover -s tests -v
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 maybeai_sheet_cli-0.2.0.tar.gz.
File metadata
- Download URL: maybeai_sheet_cli-0.2.0.tar.gz
- Upload date:
- Size: 44.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
674ba25c661047c75684ef031c46a42b206399a4ad8ddfc7c84605ae1479f11b
|
|
| MD5 |
93c269ea033c92cd1f70d8fa582be34a
|
|
| BLAKE2b-256 |
b9f05446d278b0a5f28bb4637c5cf234ec63a5701a6d51ee1968277f64fe5493
|
File details
Details for the file maybeai_sheet_cli-0.2.0-py3-none-any.whl.
File metadata
- Download URL: maybeai_sheet_cli-0.2.0-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84e8b81d74d4a1733f632da5155d28be3519b76b04f08b7df8fd9b04a4f47172
|
|
| MD5 |
cf74c129ed98040283c3c5c8f6841228
|
|
| BLAKE2b-256 |
e3cdb770b01e3c731e0fa166a841d4c2a597f871ab14a58a22e55a45b8a5d7d7
|