Skip to main content

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-url to 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

  • update
  • workbook create
  • workbook create-from-file
  • workbook manifest
  • workbook capabilities
  • sheet read
  • sheet read-range
  • sheet read-many
  • sheet named-range
  • sheet headers
  • sheet worksheets
  • sheet formulas
  • sheet write-range
  • sheet clear-range
  • sheet append
  • sheet formula-set
  • sheet formula-batch-set
  • sheet recalculate
  • sheet upsert
  • sheet create-worksheet
  • raw post

Input Rules

  • Use --doc-id, --url, or --uri to identify a workbook.
  • Use --worksheet-name when the endpoint supports it.
  • Use --gid for gid-specific sheet targeting.
  • File inputs like --rows, --values, --targets, and --operations must 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maybeai_sheet_cli-0.2.0.tar.gz (44.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

maybeai_sheet_cli-0.2.0-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

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

Hashes for maybeai_sheet_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 674ba25c661047c75684ef031c46a42b206399a4ad8ddfc7c84605ae1479f11b
MD5 93c269ea033c92cd1f70d8fa582be34a
BLAKE2b-256 b9f05446d278b0a5f28bb4637c5cf234ec63a5701a6d51ee1968277f64fe5493

See more details on using hashes here.

File details

Details for the file maybeai_sheet_cli-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for maybeai_sheet_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 84e8b81d74d4a1733f632da5155d28be3519b76b04f08b7df8fd9b04a4f47172
MD5 cf74c129ed98040283c3c5c8f6841228
BLAKE2b-256 e3cdb770b01e3c731e0fa166a841d4c2a597f871ab14a58a22e55a45b8a5d7d7

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