Skip to main content

Tools to help load data into Salesforce.com Analytics Cloud

Project description

[![GitHub license](https://img.shields.io/github/license/heroku/pyAnalyticsCloud.svg)](https://github.com/heroku/pyAnalyticsCloud)

Salesforce.com Wave Data Loader

Tools to help load data into Salesforce.com Wave

Usage

First, you will need to set your SFDC credencials via environment variables:

export SFDC_USERNAME=youruser@example.com
export SFDC_PASSWORD=yourpassword
export SFDC_TOKEN=yourtoken

More information about getting your [Security Token](https://help.salesforce.com/apex/HTViewHelpDoc?id=user_security_token.htm)

The quickest way to get started is to load an entire table into Salesforce Wave

pyac-table postgres://username:password@db.example.com/database table_name

This command will execute the following three step process.

  1. generate a JSON file containing metadata describing your data

  2. generate a CSV file with your data

  3. upload the metadata and data to Analytics Cloud

pyAnalyticsCloud also provides commands help with each step, this allows you to customize your data before upload:

pyac-metadata postgres://username:password@db.example.com/database table_name -o metadata.json
pyac-dump postgres://username:password@db.example.com/database table_name -o data.csv
pyac-upload metadata.json data.csv

Rather than manually editing the datafiles, you may want to simply create a new DB table that is populated with your data and use pyac-table.

Library

If you want to develop more advanced workflows you can use pyAnalyticsCloud as a library for a Python application.

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

pyAnalyticsCloud-0.8.0.tar.gz (6.5 kB view details)

Uploaded Source

File details

Details for the file pyAnalyticsCloud-0.8.0.tar.gz.

File metadata

File hashes

Hashes for pyAnalyticsCloud-0.8.0.tar.gz
Algorithm Hash digest
SHA256 1eb8cc104f501ff5137306c66143f087d8c6073c6c6a2bff1b149ec76df82381
MD5 57da0ac80dc1e41459f3a8298ec80fc9
BLAKE2b-256 9757b29752ce72173e7db0ad79e5f4cd3aa439274986490baf9c53dab6da30d6

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