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.3.2.tar.gz (44.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.3.2-py3-none-any.whl (34.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gspread-5.3.2.tar.gz
  • Upload date:
  • Size: 44.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for gspread-5.3.2.tar.gz
Algorithm Hash digest
SHA256 319766d90db05056293f7ee0ad2b35503a1a40683a75897a2922398cd2016283
MD5 182a84120355fba44f34a76385bd6f78
BLAKE2b-256 1aadb13ca191adf8c28322516a07d0c3445b561683175d6de4d3a5ab2004f981

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gspread-5.3.2-py3-none-any.whl
  • Upload date:
  • Size: 34.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for gspread-5.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c719e1c024a2a6f3b7d818fbe07c3886b26fd6504b64d1b1359cf242968213cd
MD5 c7dae185dff3f3ed067e5265c651badf
BLAKE2b-256 0850424a1657024bd8adfcd7ee151c5bff03a3cc1ad0249179d9984bec40e506

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