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 so humans, CI jobs, and agents can perform common workbook operations without dynamically generating curl or Python glue.

Install

pip install maybeai-sheet-cli

Requirements

  • Python 3.10+
  • MAYBEAI_API_TOKEN

Quick Start

Set your token:

export MAYBEAI_API_TOKEN="YOUR_TOKEN"

List worksheets in a workbook:

maybeai-sheet sheet worksheets --doc-id 6a3b3ec9b225d9fe7982ff36

Read a worksheet:

maybeai-sheet sheet read --doc-id 6a3b3ec9b225d9fe7982ff36 --worksheet-name "利润分析"

Read headers from a specific worksheet gid:

maybeai-sheet sheet headers --doc-id 6a3b3ec9b225d9fe7982ff36 --gid 3

Create a workbook:

maybeai-sheet workbook create --title "Board Pack"

Append rows and read back:

maybeai-sheet sheet append \
  --doc-id 6a3b3ec9b225d9fe7982ff36 \
  --gid 3 \
  --rows rows.json \
  --verify

Command Groups

  • workbook
    • create
    • create-from-file
  • sheet
    • read
    • read-range
    • headers
    • worksheets
    • formulas
    • write-range
    • append
    • upsert
    • create-worksheet
  • raw
    • post

Output

The CLI defaults to JSON output and returns a stable envelope containing:

  • success
  • endpoint
  • target
  • result
  • optional verify

Alternative output modes:

maybeai-sheet sheet worksheets --doc-id <DOC_ID> --output table
maybeai-sheet sheet worksheets --doc-id <DOC_ID> --output yaml

Development

Create a virtual environment and install editable dependencies:

python3 -m venv .venv
. .venv/bin/activate
pip install -U pip
pip install -e .

Run tests:

python -m unittest discover -s tests -v

Build distributions:

pip install build twine
python -m build
twine check dist/*

Repository Split

This repository owns the software artifact:

  • src/
  • tests/
  • pyproject.toml
  • packaging and release concerns

Skill assets were intentionally split out into the sibling repository directory:

  • ../maybeai-sheet-cli-skill

That skill repo owns:

  • SKILL.md
  • agents/
  • references/
  • scripts/
  • agent-facing workflow documentation

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.1.0.tar.gz (14.9 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.1.0-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file maybeai_sheet_cli-0.1.0.tar.gz.

File metadata

  • Download URL: maybeai_sheet_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 14.9 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.1.0.tar.gz
Algorithm Hash digest
SHA256 9d8dabd4987ceb21720b4b3def7f1fdb35c4788cb81f56d0aca59bef0f96a12d
MD5 fe2400dd10dbad2aa1ca1b7a7b331b60
BLAKE2b-256 7ef0216633257a78859c666182467cfe2ff966bec42d8734af233e01fd477ae7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for maybeai_sheet_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d2879b1eaf2eb62c8838282b77bdf07f27918869bff175ddeefaa420281eb5a
MD5 ea622cc63c72993823ca6928ab7fa4e4
BLAKE2b-256 f8f2fc93c57d8f9fe1ecdb62e2c783b3bd6966c986c018ebb2fb0cc4a49e0922

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