Getting Started

Prerequisites

The cloud hosted version of StreamSQL requires an API key.

  1. Get your API key

  2. Make sure you have Python 3.5 or above installed on your machine

Install the Python SDK

The easiest way to install the Python SDK for Python is to use pip.

pip install streamsql

Our library is available for Python 3. On some installations you may have to use pip3 rather than pip.

Initialize the Client

Cloud
Local
Managed
Cloud
feats = streamsql.FeatureStore(apikey="YOUR API KEY")
Local
feats = streamsql.Local()
Managed
feats = streamsql.Managed(
host="SERVER HOSTNAME",
port=PORT NUMBER,
)

Where to go from here

If you would like to jump into the basics of the API and how to use it, check out the API overview.

If you would prefer to jump directly into an example, check out one of the following: