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-3.7.0.tar.gz (37.5 kB view details)

Uploaded Source

Built Distribution

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

gspread-3.7.0-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gspread-3.7.0.tar.gz
  • Upload date:
  • Size: 37.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.1 requests/2.20.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.19.6 CPython/3.6.4

File hashes

Hashes for gspread-3.7.0.tar.gz
Algorithm Hash digest
SHA256 4bda4ab8c5edb9e41cf4ae40d4d5fb30447522b4e43608e05c01351ab1b96912
MD5 90f4b041d0a499799e1dd1bba3ee84b7
BLAKE2b-256 7d2e0c5784ed2f57a7a03c6606f1bbab735080a46601aa78c07338a6dd5df42b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gspread-3.7.0-py3-none-any.whl
  • Upload date:
  • Size: 28.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.1 requests/2.20.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.19.6 CPython/3.6.4

File hashes

Hashes for gspread-3.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 056ceb9fb4f439c15ec39d84c91653c6435f775a1c8afc8fe7f909f8393821fb
MD5 44881e01b6b53e6871eec37ac2b16869
BLAKE2b-256 dff0e345e7159c89b898f183cc40ed9909619475492bb000652d709f395f096a

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