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 an 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 # .. or any of the other installation methods below
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.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75b1dfb08846fb83ea89d02d6c6e9c45225ba87ad15a5256d1bc2acd0120fd30 |
|
MD5 | e6319edb3664dcf4b01f5d8995b1af15 |
|
BLAKE2b-256 | a69f7b61427dd83dbd19e7abfe097213d534834beafc54614c84392c7672f4e0 |