Skip to content

Installation

Akhil Reni edited this page Oct 4, 2026 · 1 revision

Installation

Requirements

  • Python 3.6 or higher (3.7+ recommended)
  • pip
  • Network access to your Strobes platform host

Check your Python version:

python3 --version
Installing Python
  • Windows — download from python.org and run the installer (tick Add Python to PATH).
  • macOS — brew install python3, or download from python.org.
  • Linux (Debian/Ubuntu) — sudo apt update && sudo apt install python3 python3-pip
  • Linux (RHEL/CentOS) — sudo yum install python3 python3-pip

Install the client

1. Clone the repository

git clone https://github.com/strobes-co/strobes-gql-client.git
cd strobes-gql-client

2. Create a virtual environment (recommended)

A virtual environment keeps the client's dependencies isolated from the rest of your system.

python3 -m venv venv

# Activate it:
source venv/bin/activate      # Linux / macOS
venv\Scripts\activate         # Windows

When active, your prompt shows a (venv) prefix.

3. Install dependencies

pip install -r requirements.txt

This pulls in the three runtime dependencies:

Package Purpose
requests HTTP transport (and multipart file uploads)
sgqlc Builds and validates GraphQL operations from the schema
websockets Transport support

4. Install the package

python setup.py install

Now from strobes_gql_client.client import StrobesGQLClient works from anywhere in the environment.

Development install

If you're editing files under strobes_gql_client/, install in editable mode instead of step 4:

pip install -e .

This links the installed package to your working tree, so your changes take effect immediately — no need to re-run setup.py after every edit.

Verify it works

from strobes_gql_client.client import StrobesGQLClient
print(StrobesGQLClient)   # <class 'strobes_gql_client.client.StrobesGQLClient'>

To verify you can actually reach your platform and authenticate, continue to Configuration & Authentication and then the Quickstart.

Next steps

Clone this wiki locally