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

This version

5.6.0

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.0.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.0-py3-none-any.whl (39.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gspread-5.6.0.tar.gz
Algorithm Hash digest
SHA256 9fca855173fdb2e648b3da9e7bbffb83601bfd7c7131d44fa781df84c689e7fc
MD5 9d4d0d8779001b478433962fe7ec1ad2
BLAKE2b-256 b853ed36d8672a3032a63362bdea0a3b3a360e76f8b81426e05e7427b8def71a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gspread-5.6.0-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.14

File hashes

Hashes for gspread-5.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0fe52bec73cc232abadfbc2a999e30201bc5cb0c2728ec00fcfdf38f6f669375
MD5 532123b560c177bfed0170ac77f09e5f
BLAKE2b-256 0cdbafe8a9e7c3063d774eaf9319af7f3e74af2b6521de359cd41271674b34c7

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