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-4.0.0.tar.gz
(40.1 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-4.0.0-py3-none-any.whl
(29.4 kB
view details)
File details
Details for the file gspread-4.0.0.tar.gz.
File metadata
- Download URL: gspread-4.0.0.tar.gz
- Upload date:
- Size: 40.1 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.61.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b557a4aea9d6aa74cd411123df2f35dcde43c1faf085333efb0ede7c9f8c545d
|
|
| MD5 |
d7f88a92beef6bcf6cb954ca0493fa52
|
|
| BLAKE2b-256 |
292fa8147a8e415721823048f72c20b7dfcc50dd281b9798c9550a2aa193e18e
|
File details
Details for the file gspread-4.0.0-py3-none-any.whl.
File metadata
- Download URL: gspread-4.0.0-py3-none-any.whl
- Upload date:
- Size: 29.4 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.61.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8409f93f40eb6dd9a5fed50eba90a9f90027ce9c7882b14424e70fd9bd1a4b7e
|
|
| MD5 |
a2f015f53d6088a0a2fcddd462a27f3a
|
|
| BLAKE2b-256 |
c3000bef1752840d491055109210a08bed8ddff10a5e5cbd9714c945a1177b95
|