Skip to main content

No project description provided

Project description

Install

You can install realtime-client SDK from pypi using

pip install realtime-client

This would install the core realtime-client package. You can read docs to get started.

Usage

You can read the docs to learn more about the SDK.

To deploy your realtime function on Adapt's infra, you can use the realtime deploy CLI.

# functions.py contains your realtime function code
realtime deploy --api-key=<your-api-key> functions.py

Contact us to get an API key and deploy.

Once deployed, you can use the playground in the examples repo to test the deployed code.

Examples

All the examples are available at https://github.com/xAlpha8/realtime-examples repo. To install the package so that all examples run, use

pip install "realtime-client[plugins]"

This will install all the additional libraries that are required for examples to work.

Development Environment

To run the dev environment, do:

docker-compose run --service-ports --rm realtime-runner bash

If the container is not already running, you have to run on container start:

poetry install --only main

Publishing

poetry config pypi-token.pypi your-api-token
poetry build
poetry publish

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

realtime_client-0.1.146.tar.gz (43.4 kB view hashes)

Uploaded Source

Built Distribution

realtime_client-0.1.146-py3-none-any.whl (66.3 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