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.0b2.tar.gz
(10.1 kB
view hashes)
Built Distribution
Close
Hashes for quip_spreadsheet-0.5.0b2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af0b4e39124fa58d70da92b3d372ad81c7482f17225090b66419e87fec93a5f8 |
|
MD5 | 73f28979b453d6d43f0eb0d7e4040bf1 |
|
BLAKE2b-256 | b558c0a6a125fa245c8bdc788629d8e8e7b91256dd4dbaae863cabd7e885d46d |