Spreadsheet Use

raw JSON →
0.1.2 verified Sat May 09 auth: no python maintenance

Alias package for univer-use, a Python library for interacting with spreadsheet data via the Univer platform. Version 0.1.2, latest. Release cadence: irregular, mostly maintenance updates.

pip install spreadsheet-use
error ModuleNotFoundError: No module named 'spreadsheet_use'
cause Package not installed or misspelled.
fix
Run pip install spreadsheet-use (note hyphen in pypi name, underscore in import).
error ImportError: cannot import name 'SpreadsheetClient' from 'spreadsheet_use'
cause Incorrect import path; the alias package re-exports from univer-use.
fix
Try from univer_use import SpreadsheetClient after installing univer-use.
gotcha spreadsheet-use is merely an alias for univer-use. Directly installing univer-use is recommended for clarity.
fix Use `pip install univer-use` instead.
gotcha Documentation is minimal; most examples are in univer-use repository.
fix Refer to univer-use documentation at https://github.com/dream-num/univer-use.

Initialize a SpreadsheetClient using an API key from environment variable (optional for auth check).

from spreadsheet_use import SpreadsheetClient
client = SpreadsheetClient(api_key=os.environ.get('UNIVER_API_KEY', ''))
# Example: read data from a sheet
data = client.read('sheet_id', 'range')
print(data)