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.1.tar.gz
(51.8 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.7.1-py3-none-any.whl
(40.5 kB
view details)
File details
Details for the file gspread-5.7.1.tar.gz.
File metadata
- Download URL: gspread-5.7.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f39d7a218343b6514f06e2250e0c413eb4e814dde6aabf485dacb6aa31caab0
|
|
| MD5 |
1fa9817ca9a7bac4fb26a15af298c51b
|
|
| BLAKE2b-256 |
c633bb38da7d2dd4ed308815f43eb58c68f4f529fb54bf0517b1b293636e9e2a
|
File details
Details for the file gspread-5.7.1-py3-none-any.whl.
File metadata
- Download URL: gspread-5.7.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
303b182f90d54222b3778d9f344cc24efa59eaf6b4b15679790bd8780cf3a454
|
|
| MD5 |
de4a31d1010a67fc87935de302ac44bb
|
|
| BLAKE2b-256 |
f03d229a69a28c5c72fd55586287675e3d247f0e845c91e8488bdc3ed38a91da
|