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.2.0.tar.gz
(43.0 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.2.0-py3-none-any.whl
(32.8 kB
view details)
File details
Details for the file gspread-5.2.0.tar.gz.
File metadata
- Download URL: gspread-5.2.0.tar.gz
- Upload date:
- Size: 43.0 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 |
25173ac081469cf9d621514c6576c6cf46f39c825f178b8cb9e78374a637b0bf
|
|
| MD5 |
20a8e6bae15e948ad8ccd7da18729dcf
|
|
| BLAKE2b-256 |
fc333843d7aaa97f308d3567bc3fdaf20a9b6f615643935b99fb3579ed787d41
|
File details
Details for the file gspread-5.2.0-py3-none-any.whl.
File metadata
- Download URL: gspread-5.2.0-py3-none-any.whl
- Upload date:
- Size: 32.8 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 |
05297b49587b5e89c2a0aa39967f43e5b7f170b62c11ddd43214baa1085131a8
|
|
| MD5 |
1224530cde7cd393480ff761c6ad22dd
|
|
| BLAKE2b-256 |
35068005de56693b17aab7eb6aa7b27e414efb23a5021d098e3597303bba92fc
|