Skip to main content

SDK for Diffgram

Project description

SDK for Diffgram

This is the SDK for Diffgram
and Diffgram.com

SDK Install

Full Documentation

Quickstart Install SDK

pip install diffgram

On linux pip3 install diffgram

Credentials Guide
Get Credentials from Diffgram.com (or your Private Deploy)

The starting point for most useful work is to get a project:

from diffgram import Project

project = Project(host = "https://diffgram.com",
		  project_string_id = "replace_with_project_string",
		  client_id = "replace_with_client_id",
		  client_secret = "replace_with_client_secret")

Replace host with your URL for Open Core installs.

Beta

Note the API/SDK is in beta and is undergoing rapid improvement. There may be breaking changes. Please see the API docs for the latest canonical reference and be sure to upgrade to latest ie: pip install diffgram --upgrade. We will attempt to keep the SDK up to date with the API.

Help articles for Diffgram.com See below for some examples.

Requires Python >=3.5

The default install through pip will install dependencies for local prediction (tensorflow opencv) as listed in requirements.txt. The only requirement needed for majority of functions is requests. If you are looking for a minimal size install and already have requests use the --no-dependencies flag ie pip install diffgram --no-dependencies

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

diffgram-0.15.0.tar.gz (41.6 kB view hashes)

Uploaded Source

Built Distribution

diffgram-0.15.0-py3-none-any.whl (52.5 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