Skip to main content

Python client for Fiddler Service

Project description

Fiddler Client

Python client for interacting with Fiddler. Provides a user-friendly interface to our REST API and enables event publishing for use with our monitoring features.

Requirements

Requires python >= python-3.6.3.

Installation

$ pip3 install fiddler-client

API Example Usage

For examples of interacting with our APIs, please check out the tutorial notebooks:

Tutorial 01: Uploading Datasets and Models

Tutorial 02: Controlling Fiddler from the Notebook

Tutorial 03: Advanced Model Uploading

Event Publisher Example Usage

To use the Fiddler package to publish events for monitoring, please adapt the example below to fit your needs.

import fiddler as fdl

fiddler_publisher = fiddler.Fiddler(token, org, project, model)

# Publish and event. An event is a dictionary of fields where fields correspond to
# input and output schema of the model.
fiddler_publisher.publish({
    "feature_a": 10.5,
    "feature_b": 3.2,
    "prediction": 0.72
})

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

fiddler-client-0.6.7.tar.gz (40.5 kB view hashes)

Uploaded Source

Built Distribution

fiddler_client-0.6.7-py3-none-any.whl (42.7 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