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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gspread-5.7.0.tar.gz
Algorithm Hash digest
SHA256 9bd805844a3782e4eb6a2dae59a4fbd9074a8bcbd0e9584b4ecd2eeffdca428c
MD5 269cc53cdd9e122e7324a062b9e84bd4
BLAKE2b-256 97354a15100c4e74f0366a108f3231256c5c62ff9a20ac1aab63eff68d8c9a23

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gspread-5.7.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.9.15

File hashes

Hashes for gspread-5.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a27c47f5e8509bb6726f2ee8a9d54382e528fe60af3d7b6edb7f3f8603ff9afc
MD5 193cd93393c48db471922a578f26dcce
BLAKE2b-256 df54c30eb8e174cea75451944632086b25f2f647fc324ca274ed69598b2abca6

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