Skip to main content

Client for www.cloudpandas.com API.

Project description

CloudPandas Client

This module provides a client for working with the CloudPandas API. CloudPandas is a SaaS platform to streamline working with cloud based spreadsheets such as SmartSheet and Google Sheets using Python Pandas. It allows users to read from and write to, these cloud based spreadsheets as DataFrames.

See full documentation at https://www.cloudpandas.com/account/support/


Install CloudPandas Module

Preferred Method: PIP

python3 -m pip install cloudpandas

Alternate Method: Download from GitHub

git clone https://github.com/jefalexa/cloudpandas.git


Use CloudPandas Module

Import

Once you have installed the module, you can then import it into your Python scripts.

import pandas as pd

import cloudpandas

--

Initialize Client

Get your API token from https://www.cloudpandas.com/account/tokenget/

client = cloudpandas.Client('YOUR-API-TOKEN')

--

List Data Providers

You can see the data providers that are active in your account using:

client.dataproviders.list()

--

List Sheets

List the sheets in a given data provider using:

client.sheets.list(provider_name)

--

Get Sheet Info

You can optionally, get information about a sheet before loading it.

client.sheets.info(provider_name, sheet_name)

--

Load Data from Sheet

Load a sheet from the data provider as a Pandas DataFrame.

DF = client.sheets.get(provider_name, sheet_name)

--

Create a New Sheet

You can write data from a Pandas DataFrame to a new cloud sheet using:

client.sheets.create(DF, provider_name, sheet_name=sheet_name, sheet_type=sheet_type)

sheet_type options are 'sheet' for creating a native cloud sheet in SmartSheet or Google Sheets, or 'excel' or 'csv' for writing a file to Box, Dropbox, Google Drive.

--

Update Existing Sheet

You can update an existing sheet with changes from a DataFrame using:

client.sheets.update(DF, provider_name, sheet_id=sheet_id)

--

Delete Existing Sheet

Sheets can be deleted using:

client.sheets.delete(provider_name, sheet_id=sheet_id)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloudpandas-0.1.6.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

cloudpandas-0.1.6-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file cloudpandas-0.1.6.tar.gz.

File metadata

  • Download URL: cloudpandas-0.1.6.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for cloudpandas-0.1.6.tar.gz
Algorithm Hash digest
SHA256 987c6ae4180708c3a7f61dfaa65d112f415cceaef5093fcf0b336c34d6f40938
MD5 fe0e02533304c5bc48bc221c17385055
BLAKE2b-256 c695b0f0eca6cb8f5e1301005585445b0b8b6d206ec691fb2ee1a9b057466376

See more details on using hashes here.

File details

Details for the file cloudpandas-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: cloudpandas-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for cloudpandas-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4030644cad4f1d0f2eb93c0a8e130d3aa073143a3ce3a7cfa529f6f16c2c6efa
MD5 5a4ecd40bbfbe19291e8e8aa185c48e5
BLAKE2b-256 e8e973dadc9db9901c06bd40b3fd4939267d1485cc2c84d4c6484e0c0d5ad342

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page