No project description provided
Project description
Aporia Monitor as Code
This repository contains 2 parts:
- aporia - An unofficial SDK for Aporia
- mac - An IaC-style API for managing Aporia resources
SDK Usage
from aporia.aporia_api import Aporia
aporia = Aporia(
base_url="https://platform.aporia.com",
token="<APORIA_TOKEN>",
account="<APORIA_ACCOUNT_ID>"
)
my_model = aporia.create_model(...)
my_version = my_model.create_version(...)
my_monitor = my_model.create_monitor(...)
MaC Usage
import mac
my_model = mac.Model("credit-risk", {"name": "Credit Risk", ...})
dataset = mac.Dataset("serving", {"model": my_model}, {"type": "serving", "connection": ...})
mac.export(my_model)
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
aporia-0.1.0.tar.gz
(18.0 kB
view hashes)
Built Distribution
aporia-0.1.0-py3-none-any.whl
(28.6 kB
view hashes)