The Python client library is named
sift_client and is imported into your own code. It is not a command-line tool. For a standalone command-line tool, see the Sift CLI (sift-cli).Before you begin
- API key: You need a Sift API key to authenticate requests. To create one, go to Sift > your profile icon > Manage > API Keys > + Create API Key. For full steps, see Create an API key.
- gRPC URI: Your gRPC endpoint is shown on the API Keys page in Sift, in the gRPC API URL field.
- REST URI: Your REST endpoint is shown on the same page, in the REST API URL field. Required by the Python client.
SIFT_API_KEY, SIFT_URI, BASE_URI). Set them before running any example.
Python
Install
Resources
Imports
Data source
Ingestion config
Connect, create a Run, and stream data
Go
Install
Resources
Imports
Data source
Flow and channel config
Get or create ingestion config
Create a Run
Main function
Rust
Install
TokioTokio is required to work with
sift_rs; it is the runtime that tonic relies on. The Tokio runtime flavor to use is dependent on your requirements.Resources
Imports
Data source
Channel and flow config
Get or create ingestion config
Create a Run
Run metadata
CreateRunRequest supports additional metadata fields such as description, tags, client_key, and stop_time. For the full list of available fields, see the CreateRunRequest documentation in sift_rs. These fields are also documented in the Run API reference.