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.0.0.tar.gz (41.1 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.0.0-py3-none-any.whl (31.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gspread-5.0.0.tar.gz
  • Upload date:
  • Size: 41.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for gspread-5.0.0.tar.gz
Algorithm Hash digest
SHA256 55dd9e257ad45c479aed9283e5abe8d517a0c4e2dd443bf0a9849b53f826c0ca
MD5 17e62c26c89df6f566f4d4d826f21332
BLAKE2b-256 3f3827ea0897231ee3a60f53e6e2c96cb28dfbee277ebb15682c2ded94d4676f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gspread-5.0.0-py3-none-any.whl
  • Upload date:
  • Size: 31.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for gspread-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5681d60d5951935df1ecf5ce553785fc6a5227bbcabd894de28a724f3e877ba4
MD5 26246bd21f0745891a2a38f42f19282a
BLAKE2b-256 1f24740f35d5c4abe2df1a8355121ff31ed7307dca381658cec16c0d51880a77

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