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.146-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23bd27bdbf910dca9dce42e56efbbcad345ed78df57f50e322b3eae57f5aa999 |
|
MD5 | 1f7fd635efdef6691892229424deaa75 |
|
BLAKE2b-256 | 727f72332fadebeffaf32b931ea8934579865786aec0adae04f8f72690c4a58b |