Skip to main content

waylay-beta

⚠️ This package is DEPRECATED. Please migrate to waylay-sdk

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.9 or higher (validated up to 3.11). For datascience purposes you typically want to prepare an anaconda environment:

conda create --name my_waylay_env python=3.11
conda activate my_waylay_env
conda install jupyter
pip install waylay-beta
jupyter notebook 

Installation

pip install waylay-beta

BYOML dependencies

If you want to prepare BYOML models (Enterprise), extra dependency configurations are available, that will check or install framework-specific dependencies.

Either for a specific runtime:

byoml-pytorch-1.4, byoml-tensorflow-2.4, byoml-pytorch-1.8, byoml-xgboost-1.3, byoml-sklearn-0.24, byoml-pytorch-1.5, byoml-sklearn-0.22, byoml-xgboost-1.0, byoml-custom-1.0, byoml-tensorflow-2.1

or for the default runtime of one of the supported frameworks:

byoml-xgboost, byoml-tensorflow, byoml-sklearn, byoml-custom, byoml-pytorch

E.g. to install with sklearn dependencies for byoml:

pip install waylay-beta['byoml-sklearn-0.24']

or

pip install waylay-beta['byoml-sklearn']

In some cases (e.g. older framework versions) it might be needed to use the same python version when serializing models. Check the supported python version with calls such as:

> waylay_client.byoml.runtimes.get('byoml-pytorch-1.8')
{'framework': 'pytorch', 'framework_version': '1.8', 'name': 'byoml-pytorch-1.8', 'python_version': '3.7'}

Quickstart

  • Login to the waylay console, and get hold of an API key, API secret pair [>Settings>Authentication keys]

    [Enterprise] https://console.waylay.io

  • Create an SDK client

    from waylay import WaylayConfig, WaylayClient
    waylay_client = WaylayClient.from_profile()
    

    On first usage, this will prompt for a gateway endpoint,

    [Enterprise] api.waylay.io (default)

    and your API key/API secret credentials.

For more details see

[Enterprise] https://docs.waylay.io

Usage Examples

See demo notebooks for the usage examples supported in the current release.

Metadata

Release files for waylay-beta 0.7.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for waylay-beta 0.7.3
File Size Uploaded Provenance Actions
waylay_beta-0.7.3.tar.gz 107.2 kB Without provenance Details for waylay_beta-0.7.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for waylay-beta 0.7.3
File Interpreter ABI Platform Actions
waylay_beta-0.7.3-py3-none-any.whl Python 3 none any Details for waylay_beta-0.7.3-py3-none-any.whl

Total release size: 220.4 kB

Release files / waylay_beta-0.7.3.tar.gz

Download URL waylay_beta-0.7.3.tar.gz
Size 107.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ce27047cd1849653b4b3cb117b16a53c4b715c12bb519dc4c0ae7e48aa312852
BLAKE2b-256 checksum
How to use checksums
d84004e886fe4078d8639345c2433524f9773e6eb21525aa1158074fbb62b9a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.12

Release files / waylay_beta-0.7.3-py3-none-any.whl

Download URL waylay_beta-0.7.3-py3-none-any.whl
Size 113.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84db096c2e9fb1011a10e9681b7323b1aa8bea139795b1b6ea28a2696be9817e
BLAKE2b-256 checksum
How to use checksums
dc725a375970beefc8215373d49c4947f746b49468f238a4009034db60a00fb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.12

Security for waylay-beta 0.7.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page