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.3.0.tar.gz
(44.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.3.0-py3-none-any.whl
(34.5 kB
view details)
File details
Details for the file gspread-5.3.0.tar.gz.
File metadata
- Download URL: gspread-5.3.0.tar.gz
- Upload date:
- Size: 44.8 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.46.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be2220e19723570ed98e8b8eb6a5b6e04afa0f08ec1f08b89e217c354488a047
|
|
| MD5 |
e9d0ce6f4718781427ff8f0904debbe0
|
|
| BLAKE2b-256 |
5fbbd0a6cacf378d76f54b344fcc00f4fec80ad8b2a0c99f62d39e536e6a47bc
|
File details
Details for the file gspread-5.3.0-py3-none-any.whl.
File metadata
- Download URL: gspread-5.3.0-py3-none-any.whl
- Upload date:
- Size: 34.5 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.46.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a347197628fa1885dcc860701fb1b3f5471386aa863a71cfe232b6473c6fea1b
|
|
| MD5 |
f10f8ca4ec7636fb1c3dc39655d50edf
|
|
| BLAKE2b-256 |
10ff3ae3576681cc4bea5060b12e415e4578348407ff46fb94cd6ef151c15167
|