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.1.1.tar.gz
(42.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-5.1.1-py3-none-any.whl
(31.8 kB
view details)
File details
Details for the file gspread-5.1.1.tar.gz.
File metadata
- Download URL: gspread-5.1.1.tar.gz
- Upload date:
- Size: 42.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9db8c43d552f541ea072d4727d1e955bc2368b095dd86c5429a845c9d8aed8f
|
|
| MD5 |
c579665b7cc5ca54bb3f2c95cfc9319e
|
|
| BLAKE2b-256 |
3d1fc1d0bd3a9d68206c6d7189ddd44e793e47029867a6aa1f042042bb2a6d9c
|
File details
Details for the file gspread-5.1.1-py3-none-any.whl.
File metadata
- Download URL: gspread-5.1.1-py3-none-any.whl
- Upload date:
- Size: 31.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffba57786e27519fb97125e3de37a0f062134a396506681f5baacaf47a9febe3
|
|
| MD5 |
3f55a023ace1bbda0aff62c74ed6fa74
|
|
| BLAKE2b-256 |
35e03a4f258d960df62dd744093b9893e54d3ac251d194b6579f09508c4ec8dd
|