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.9.1.tar.gz (37.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

diffgram-0.9.1-py3-none-any.whl (46.6 kB view details)

Uploaded Python 3

File details

Details for the file diffgram-0.9.1.tar.gz.

File metadata

  • Download URL: diffgram-0.9.1.tar.gz
  • Upload date:
  • Size: 37.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for diffgram-0.9.1.tar.gz
Algorithm Hash digest
SHA256 8800ae35a4c1c3de2a558ba26267f2d0470a240220558f16141775cfa2e1dfe0
MD5 bf13440ae7f6774162e2820db60b37f4
BLAKE2b-256 431699b38f21031016a5ae733c9b45b45262fd42139ca66a7a46151a68bb90fb

See more details on using hashes here.

File details

Details for the file diffgram-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: diffgram-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 46.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for diffgram-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e0b6ee397dc1eaed8d3f0d19a459e703fefa766e1943e3b6e9c4738ada95155e
MD5 060d26063c7953d0f23ab216dfdce6ed
BLAKE2b-256 b4997a4b501576e2dd8adad1e90c98b64c4495e7608324a6d20c2be6e4711635

See more details on using hashes here.

Supported by

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