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.1.tar.gz
(40.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-4.0.1-py3-none-any.whl
(29.4 kB
view details)
File details
Details for the file gspread-4.0.1.tar.gz.
File metadata
- Download URL: gspread-4.0.1.tar.gz
- Upload date:
- Size: 40.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
236a0f24e3724b49bae4cbd5144ed036b0ae6feaf5828ad033eb2824bf05e5be
|
|
| MD5 |
5232ae7bdb13699377303664bb6ceeed
|
|
| BLAKE2b-256 |
7289112e119abefce4963213e848483b20ab954420aaa66fa48297e683bf54ea
|
File details
Details for the file gspread-4.0.1-py3-none-any.whl.
File metadata
- Download URL: gspread-4.0.1-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.0.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4933c3e2359e82698c0990f3b0e312627fcbf8fecc8bc81d26713f5860e20b48
|
|
| MD5 |
e0682b737cc6df0da91c6e32982acbc8
|
|
| BLAKE2b-256 |
b1c359add077d0bc8ceab42e97933e3b1060034ac8475bc5c751eff237545352
|