Skip to main content

Google Spreadsheets Python API

Project description

Super simple Google Spreadsheets Python API.

Features

  • Google Sheets API v4.

  • Open a spreadsheet by title, key or url.

  • Read, write, and format cell ranges.

  • Sharing and access control.

  • Batching updates.

Example

import gspread

gc = gspread.service_account()

# Open a spreadsheet by title
sh = gc.open("Iris Data")

# Get the first sheet
wk = sh.sheet1

# Update a range of cells using the top left corner address
wk.update('A1', [['Species', 'Sepal length'], ['Iris setosa', 5.1]])

# Format the header
wk.format('A1:B1', {'textFormat': {'bold': True}})

License

MIT

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gspread-5.9.0.tar.gz (52.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gspread-5.9.0-py3-none-any.whl (41.0 kB view details)

Uploaded Python 3

File details

Details for the file gspread-5.9.0.tar.gz.

File metadata

  • Download URL: gspread-5.9.0.tar.gz
  • Upload date:
  • Size: 52.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for gspread-5.9.0.tar.gz
Algorithm Hash digest
SHA256 34b97834bbefaccf72497702bae26d12f96d0685e49a418afe6a92a9bbcb9c9c
MD5 5e6e0567296ea908d3507dcfeff34111
BLAKE2b-256 c4add76417ba329ab5b10ac26082ccb0e52a90bdef5135ab6d88c79ffa4e1644

See more details on using hashes here.

File details

Details for the file gspread-5.9.0-py3-none-any.whl.

File metadata

  • Download URL: gspread-5.9.0-py3-none-any.whl
  • Upload date:
  • Size: 41.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for gspread-5.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 85f296f3ee95d1742e44be368d5a7c0ca3957b8ad2cb6833f7094055f3390e32
MD5 53f32c017b1852c318da18ea22d7bdd8
BLAKE2b-256 cdabc94d7c6c012a91519c071cf1440f0d79e72b1b496820507a903ec620a198

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