Google Spreadsheets Python API v4
Slowing down. Last release over 4 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install pygsheetspygsheets - Google Spreadsheets Python API v4
A simple, intuitive library for google sheets which gets your work done.
Features:
- Open, create, delete and share spreadsheets using title or key
- Intuitive models - spreadsheet, worksheet, cell, datarange
- Control permissions of spreadsheets.
- Set cell format, text format, color, write notes
- Named and Protected Ranges Support
- Work with range of cells easily with DataRange and Gridrange
- Data validation support. checkboxes, drop-downs etc.
- Conditional formatting support
- get multiple ranges with get_values_batch and update wit update_values_batch
Updates
- version 2.0.6 released
Installation
From PyPi (Stable)
pip install pygsheets
If you are installing from pypi please see the docs here.
From GitHub (Recommended)
pip install https://github.com/nithinmurali/pygsheets/archive/staging.zip
If you are installing from github please see the docs here.
Basic Usage
Basic features are shown here, for complete set of features see the full documentation here.
-
Obtain OAuth2 credentials from Google Developers Console for and and save the file as in same directory as project.
