An opinionated client to search, retrieve, and parse Quip spreadsheets.
Project description
Quip Spreadsheet
An opinionated client to search, retrieve, and parse Quip spreadsheets using the Quip Automation API.
It provides a client to pull data from the Quip API as well as classes to interact with folders, spreadsheets, pages, and rows.
Install
pip install quip-spreadsheet
Usage
# Import
from quip_spreadsheet.quip import QuipPage
# Initialize Client
quip = QuipClient(QUIP_ACCESS_TOKEN, QUIP_BASE_URL)
# Search by term
threads = quip.search_threads("My Spreadsheet", count=1)
# Load the content of a spreadsheet
spreadsheet = threads.spreadsheets[0]
spreadsheet.load_content()
# Get a specific page of a spreadsheet
page = spreadsheet.get_named_page("Sheet1")
# Get a specific row from a page
row = page.get_nth_row(pointer)
# Get cells content from a row
cells = row.get_row_cells_content(include_index=False)
License
Contributing & Developing
PRs are welcome as long as documented, accompained by passing unit tests and in scope with the project.
To setup the development environment run:
pipenv install --dev
or manually install all the development dependencies found in the Pipfile.
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
quip_spreadsheet-0.5.0b3.tar.gz
(10.1 kB
view hashes)
Built Distribution
Close
Hashes for quip_spreadsheet-0.5.0b3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f269cd139b1a63b088a35d3765457d35349377af05eedb575daea138db5099c |
|
MD5 | 0b644b819f4496d5b299fc8e686fd443 |
|
BLAKE2b-256 | 9d737ac91d780057771418bae8a2ca76ffdfb4db0f03e5b315ddac7ad2c2ce82 |