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
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 quip_spreadsheet-0.5.0b3.tar.gz.
File metadata
- Download URL: quip_spreadsheet-0.5.0b3.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27f282fb057bc5c4c696df61d5c91cdf596acb9eaf525c43b0e4a76d5e96d1ea
|
|
| MD5 |
c125c522c017bb479f8f63b994304c0d
|
|
| BLAKE2b-256 |
62a69acd03a7eccde69c0fafc9354d3687b6f2ea3ecd13be3faf7cffe6931471
|
File details
Details for the file quip_spreadsheet-0.5.0b3-py3-none-any.whl.
File metadata
- Download URL: quip_spreadsheet-0.5.0b3-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f269cd139b1a63b088a35d3765457d35349377af05eedb575daea138db5099c
|
|
| MD5 |
0b644b819f4496d5b299fc8e686fd443
|
|
| BLAKE2b-256 |
9d737ac91d780057771418bae8a2ca76ffdfb4db0f03e5b315ddac7ad2c2ce82
|