Google Spreadsheets Python library
Project description
gspread
Google Spreadsheets Python library
Features
Open a spreadsheet by its title or url.
Extract entire row or column values.
No need to mess around with spreadsheets’ keys.
Independent of Google Data Python client library.
Usage
- ::
import gspread
gc = gspread.Client(auth=(‘the.email.address@gmail.com’,’password’)) gc.login()
# Spreadsheets can be opened by their title in Google Docs spreadsheet = gc.open(‘some title’)
# If you want to be specific, use a key (which can be extracted from # the spreadsheet’s url sht1 = gc.open_by_key(‘0BmgG6nO_6dprdS1MN3d3MkdPa142WFRrdnRRUWl1UFE’)
# Or by the entire url sht2 = gc.open_by_url(’https://docs.google.com/spreadsheet/ccc?key=0Bm…FE&hl’)
# Select worksheet by index worksheet = spreadsheet.get_worksheet(0)
# Get a cell value val = worksheet.cell(1, 2).value
worksheet.update_cell(1, 2, ‘Bingo!’)
License
MIT
Download
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
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
File details
Details for the file gspread-0.0.4.tar.gz.
File metadata
- Download URL: gspread-0.0.4.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ef2a3666ab9c85cd64fa6be486b3c189151fee18788a6c363591d8175162143
|
|
| MD5 |
926a6f53b82023ab3a113c10ae13abb1
|
|
| BLAKE2b-256 |
24e1037c20d87de8181eecf7995ca17a865d428143d446c995cd23a3373872c3
|
File details
Details for the file gspread-0.0.4.linux-i686.exe.
File metadata
- Download URL: gspread-0.0.4.linux-i686.exe
- Upload date:
- Size: 69.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a31b411478080128d5414a93381617d3d50c6c9e014fa86560a13af5020bfcbb
|
|
| MD5 |
e1ffd49f85fbc1a175264d89d9efa6f3
|
|
| BLAKE2b-256 |
352ce633170efa38905987d53adbf0285e0ac64e7808d0f50bee165e0cab6c09
|