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

This version

5.7.2

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.7.2.tar.gz (51.8 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.7.2-py3-none-any.whl (40.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gspread-5.7.2.tar.gz
Algorithm Hash digest
SHA256 ce76f9c16b88ccb792350142224a59afa8e69f7463f3d3417148cbe892efc7cb
MD5 c089f41c1d4f0bdd2836cdeb7c40771c
BLAKE2b-256 842b638ba03da59b5dd930cd8996afa472d4bbd6625cb9bea2200d08b57ba319

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gspread-5.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dbeedd08c6a7f7b0bfc1a54e17c29205362250c77bf98e11125c5d99fd7f4ba7
MD5 5c28eb3baaf624872a41901439f18918
BLAKE2b-256 1d554ff32c67b11ab6d47b1be19620facc4b111c20a4e0184e883418fdbbffd8

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