beta release of the Waylay Python SDK
Project description
waylay-beta
This Python SDK helps you to connect with the REST APIs of the Waylay Platform.
It provides a selection of services and utilities, focused on supporting our data science users:
- importing and querying timeseries data.
- uploading your own machine learning models for usage in the Waylay Rule Engine
- provisioning waylay resources and resource types.
The SDK is optimised for interactive usage in Jupyter Notebooks.
Prerequisites
This package requires a python runtime 3.6
or higher.
For datascience purposes you typically want to prepare a anaconda environment:
conda create --name my_waylay_env python=3.8
conda activate my_waylay_env
conda install jupyter
pip install waylay-beta
jupyter notebook
Installation
pip install waylay-beta
Quickstart
-
Login to the waylay console, and get hold of an API key, API secret pair [>Settings>Authentication keys]
[Enterprise]
https:://console.waylay.io
[IO]
https:://console-io.waylay.io -
Create an SDK client
from waylay import WaylayConfig, WaylayClient waylay_client = WaylayClient.from_profile()
On first usage, this will prompt for an authentication endpoint,
[Enterprise]
accounts-api.waylay.io (default)
[IO]
accounts-api-io.waylay.ioand your API key/API secret credentials.
For more details see
[Enterprise]
https://docs.waylay.io
[IO]
https://docs-io.waylay.io
Usage Examples
See demo notebooks for the usage examples supported in the current release.
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 waylay_beta-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31ab23634f9a6ba938905b17008e2dcbd3e1d297e4a207c5abace29fba7d6eff |
|
MD5 | b1106aeaaf4a4cff769289553408b27d |
|
BLAKE2b-256 | e0d762103ad8ec5ed144e629efa7a507a484fab6cbc4efd4646f7628d67285c0 |