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.6.2.tar.gz (50.3 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.6.2-py3-none-any.whl (39.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gspread-5.6.2.tar.gz
Algorithm Hash digest
SHA256 d3bbff4b7aad0fc2c986458e148537a02fe7b46e7162f41f3a42392bfa2adb89
MD5 1dccc7cd909e8f93b42abc3fe2061f8b
BLAKE2b-256 ce0264d63bb3abc0356a0760b1879ca9fd8504c05da4e05d6a9f9615f1b9f79a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gspread-5.6.2-py3-none-any.whl
  • Upload date:
  • Size: 39.0 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.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 41f7a416425f1ec5a1b677f49b8fbf599102766c27ed7be6601a58c9a1550ebc
MD5 c6a7bd41a54379fbe58946bd7ed2a309
BLAKE2b-256 3b840261e7ac190c8df39c8e0ba583698c0e9aa078da5a31dedb428cfe92a692

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