Skip to main content

No project description provided

Project description

Aporia Monitor as Code

This repository contains 2 parts:

  1. aporia - An unofficial SDK for Aporia
  2. 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)

Uploaded Source

Built Distribution

aporia-0.1.0-py3-none-any.whl (28.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page