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.8.0

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gspread-5.8.0.tar.gz
Algorithm Hash digest
SHA256 f9739e2b839d7fa1f8a5f0cf0d4ee68c776e2fbf4bfe3167ad2e910bd588fb44
MD5 2b3f2339ea64b670c95aa088e3da6f18
BLAKE2b-256 32dad7f820b7efd943d740861d4403ccedee9376811548efb199b086753037ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gspread-5.8.0-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.11.2

File hashes

Hashes for gspread-5.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b6125120049fd92a3e1e7544ac395f336cec3ff8be04550cf737d90af007685d
MD5 12d6bcc05602e6ec70fa729edf3910c3
BLAKE2b-256 53642720ae41f7ad1a6849b7f6daa9a8c443848dd6052e8cbe27f903f660891c

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