Skip to main content

pipelinewise-tap-salesforce

PyPI version PyPI - Python Version License: MIT

Singer tap that extracts data from Salesforce and produces JSON-formatted output following the Singer spec.

This is a PipelineWise compatible tap connector.

How to use it

The recommended method of running this tap is to use it from PipelineWise. When running it from PipelineWise you don't need to configure this tap with JSON files and most of things are automated. Please check the related documentation at Tap Salesforce

If you want to run this Singer Tap independently please read further.

Install and Run

First, make sure Python 3 is installed on your system or follow these installation instructions for Mac or Ubuntu.

It's recommended to use a virtualenv:

  python3 -m venv venv
  pip install pipelinewise-tap-salesforce

or

  python3 -m venv venv
  . venv/bin/activate
  pip install --upgrade pip
  pip install .

Create a Config file

{
  "client_id": "secret_client_id",
  "client_secret": "secret_client_secret",
  "refresh_token": "abc123",
  "start_date": "2017-11-02T00:00:00Z",
  "api_type": "BULK",
  "select_fields_by_default": true
}

The client_id and client_secret keys are your OAuth Salesforce App secrets. The refresh_token is a secret created during the OAuth flow. For more info on the Salesforce OAuth flow, visit the Salesforce documentation.

The start_date is used by the tap as a bound on SOQL queries when searching for records. This should be an RFC3339 formatted date-time, like "2018-01-08T00:00:00Z". For more details, see the Singer best practices for dates.

The api_type is used to switch the behavior of the tap between using Salesforce's "REST" and "BULK" APIs. When new fields are discovered in Salesforce objects, the select_fields_by_default key describes whether or not the tap will select those fields by default.

Run Discovery

To run discovery mode, execute the tap with the config file.

> tap-salesforce --config config.json --discover > properties.json

Sync Data

To sync data, select fields in the properties.json output and run the tap.

> tap-salesforce --config config.json --properties properties.json [--state state.json]

Based on Stitch documentation

Release files for pipelinewise-tap-salesforce 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pipelinewise-tap-salesforce 1.1.0
File Size Uploaded
pipelinewise-tap-salesforce-1.1.0.tar.gz 16.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pipelinewise-tap-salesforce 1.1.0
File Interpreter ABI Platform
pipelinewise_tap_salesforce-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 47.8 kB

Release files / pipelinewise-tap-salesforce-1.1.0.tar.gz

Download URL pipelinewise-tap-salesforce-1.1.0.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
dc20028b194e336232dd3cfd96b66c9da3c311b5025c862f285b3d1c9694c7a7
BLAKE2b-256 checksum
How to use checksums
94f0237a5eca13874ff6a4091655cf00c75598b2aa9f22c4ea0ac465d171e305
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

Release files / pipelinewise_tap_salesforce-1.1.0-py3-none-any.whl

Download URL pipelinewise_tap_salesforce-1.1.0-py3-none-any.whl
Size 31.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a60c26b888f180c6698b0b8cb5c262085bc055f656b4a94b5baf38b5fb8efd3e
BLAKE2b-256 checksum
How to use checksums
f909fefa0a8f522e35bb68c011ad55256c11c5024f4c2bcc5195abb4c14d046b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page