Easy wrapper around gspread and gspread-formatting
Project description
google_sheet_writer
google_sheet_writer is an object-oriented wrapper around (amazing!) gspread and gspread_formatting that allows to programmatically create Google Sheets tables in an easy way.
On top of being convenient, it strives to minimize the amount of requests to save API quota.
Install in development mode: pip install -e .
See examples in examples folder.
The examples assume United Kingdom spreadsheet locale (can be changed in File → Settings prior to launching generation script). Other locales (e.g. Russia) might not work.
Version history
v0.0.8
- Batch API calls for dramatically faster spreadsheet generation (especially 10+ sheets)
- Worksheet creation/deletion batched into a single API call instead of one per sheet
- Cell values for all sheets written in one
values_batch_updatecall - Sheet resizing via
updateSheetPropertiesinstead of writing empty cells - Formatting and structural requests merged into a single
batch_updatecall - Worksheet hiding folded into the formatting batch
v0.0.7
- After successfully finishing table generation, a link to the table is printed to the console
v0.0.6
- Raise exception if users tries to set cursor's x/y attributes to floats
v0.0.5
- Added support for older pythons (3.9 and newer)
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
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 google_sheet_writer-0.0.8.tar.gz.
File metadata
- Download URL: google_sheet_writer-0.0.8.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92cf5926f48c005a2c8a45d528a5b9df3d9df0d3cc2c7e48736fc8365d952d6d
|
|
| MD5 |
33cbe6e1c3d09ec06769f3e145810ca7
|
|
| BLAKE2b-256 |
719523ef4f5358811fed1cbbebeddc21ffaffdaaceda589b99118258cf9c6b7e
|
File details
Details for the file google_sheet_writer-0.0.8-py3-none-any.whl.
File metadata
- Download URL: google_sheet_writer-0.0.8-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
661072d79b78fd4b9276b1dd3935468fd934e4e16d99789ff4055188b2b0a22f
|
|
| MD5 |
06a7f9c7540b6f253f22aef2b33cef13
|
|
| BLAKE2b-256 |
4c8b8a4472466a8e909476f43b341c1295d4a3811f8598a817de6e39411ff669
|