Repository navigation
v4.2.0
Two feature requests that had been open for years.
Added
Create a spreadsheet inside a folder (#95)
Spread("Usecase", create_spread=True, folder_id="0AMdkqF6BUiexUk9PVA")Only applies when creating; opening an existing spreadsheet ignores it. A path can't name every folder — one shared with you may not appear in your own directory tree — so an id is the handle, same as move_file in 4.0.0. Get one from Client.find_folders.
Reorder worksheets (#55)
spread.reorder_sheets(["summary", "raw", 0])By name, index or Worksheet. Anything left out keeps its position relative to the rest. Naming an unknown sheet, or the same sheet twice, raises before anything is sent — a half-applied order is worse than none.
Both parameters are added at the end of their signatures, so existing positional callers are unaffected.
Fixed
Two Sphinx errors in add_permission's docstring, where continuation lines read as unexpected indentation and the block rendered wrong. The docs now build with no errors.
Verified
166 passed on Python 3.9 through 3.13, against pandas 2.3.3 and 3.0.5.