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.5.0.tar.gz
(50.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
gspread-5.5.0-py3-none-any.whl
(38.9 kB
view details)
File details
Details for the file gspread-5.5.0.tar.gz.
File metadata
- Download URL: gspread-5.5.0.tar.gz
- Upload date:
- Size: 50.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8620e987e5340315f2b8d8d26cf97e4736a84b3325a17c7d9bcff70525dc3003
|
|
| MD5 |
e34cbe55cb20276e5408ee32662c428b
|
|
| BLAKE2b-256 |
a3d3e5c9aeca58be0e63c8147fbb0c734e69ec76d19cd65bc0ed12858e89ef87
|
File details
Details for the file gspread-5.5.0-py3-none-any.whl.
File metadata
- Download URL: gspread-5.5.0-py3-none-any.whl
- Upload date:
- Size: 38.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
787b5fab9dd61a7d6d84af73356d7ff905cd3978438e528dc66dc8a9407fb851
|
|
| MD5 |
af617dbd3c4ed85cff87c554cd378244
|
|
| BLAKE2b-256 |
0538abaa3c37f5c0e359eae922a2e2775e823ac31efd834f93d94492ddd2169d
|