ReferenceClientQuick Start

Quick Start

Get started with the Synnax client in 5 minutes - from installation to reading and writing data.

Synnax provides first-class Python support and TypeScript support. Our client delivers many capabilities, including

  • Direct integration with pandas and numpy.
  • Tooling to implement automated control of your hardware.
  • Change data capture (CDC) infrastructure to build automated analysis pipelines.

Installation

Create a Client

To authenticate with a Synnax Core, simply instantiate a new client with your connection parameters and credentials:

Create a Channel

Create a channel using the channels.create client method. First create an “index” channel to store timestamps for your data channel.

Write Data

Write data to the time and temperature channels. The index channel must be written to before writing to the data channel.

Notice how the two arrays are aligned using the common start timestamp. This tells Synnax that the first sample in the temperatures array is associated with the first timestamp in the timestamps array.

Synnax will raise a ValidationError if the index channel does not contain a corresponding timestamp for every sample in the data channel. After all, it wouldn’t make sense to have a temperature reading without an associated timestamp.

Read Data

The simplest way to read data from Synnax is to use the read method on a Channel object:

Data can also be read in chunks with iterators or live-streamed with streamers. Data can also be read from a specific time range with ranges.

Next Steps

Now that you’ve completed the quick start, here are some recommended next steps:

  • Authentication -> Learn about authentication methods, connection parameters, and troubleshooting.
  • Channels -> Master channel creation, retrieval, renaming, and deletion.
  • Reading Data -> Explore different ways to read data from Synnax.
  • Writing Data -> Learn best practices for writing data to Synnax.
  • Examples -> Browse full working examples for common use cases.