Skip to main content

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_update call
  • Sheet resizing via updateSheetProperties instead of writing empty cells
  • Formatting and structural requests merged into a single batch_update call
  • 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)

Metadata

Release files for google_sheet_writer 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for google_sheet_writer 0.0.8
File Size Uploaded
google_sheet_writer-0.0.8.tar.gz 11.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for google_sheet_writer 0.0.8
File Interpreter ABI Platform
google_sheet_writer-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 22.3 kB

Release files / google_sheet_writer-0.0.8.tar.gz

Download URL google_sheet_writer-0.0.8.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
92cf5926f48c005a2c8a45d528a5b9df3d9df0d3cc2c7e48736fc8365d952d6d
BLAKE2b-256 checksum
How to use checksums
719523ef4f5358811fed1cbbebeddc21ffaffdaaceda589b99118258cf9c6b7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Release files / google_sheet_writer-0.0.8-py3-none-any.whl

Download URL google_sheet_writer-0.0.8-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
661072d79b78fd4b9276b1dd3935468fd934e4e16d99789ff4055188b2b0a22f
BLAKE2b-256 checksum
How to use checksums
4c8b8a4472466a8e909476f43b341c1295d4a3811f8598a817de6e39411ff669
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page