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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for realtime_client-0.1.136-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee2d11bade546f4fc0919636db677cc6537fc28d28a964695775f9a1ada11c94 |
|
MD5 | 5cb41062dc687e89ccf0484940b79844 |
|
BLAKE2b-256 | aadc7fcc683aa2aee0f60eced7f1cf4e674a83ce2742fc43fb40fb23c3cfb02f |