Skip to main content

A local client for connecting and working with Rudderstack

Project description

Python3 - Shipyard Rudderstack Blueprints (shipyard-rudderstack)

Simplified data pipeline blueprints for working with Rudderstack.

Functions:

  • trigger_sync
  • determine_sync_status
  • get_source_data

Example

from shipyard_rudderstack import RudderStack

rudderstack = RudderStack("<access-token>")

# Trigger the rudderstack 
rudderstack.trigger_sync("<source-id>")

# Check the status
source_response = rudderstack.get_source_data("<source-id>")
print(source_response['status'])

# Determine response status
# Note: This is not recommended to be used for scripting. This is a utility function for the Shipyard application
rudderstack.determine_sync_status(source_response, "<source-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

shipyard_rudderstack-0.1.1a0.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

shipyard_rudderstack-0.1.1a0-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

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