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 details)

Uploaded Source

Built Distribution

diffgram-0.15.0-py3-none-any.whl (52.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: diffgram-0.15.0.tar.gz
  • Upload date:
  • Size: 41.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for diffgram-0.15.0.tar.gz
Algorithm Hash digest
SHA256 7a893d457280a4b3e196cc924365c43e5e738152a6e3eb0ade999aaa02c3f024
MD5 5c41fc28cd5e249efbdb914d0aa92dfe
BLAKE2b-256 7b29150a294e115e04466ad315f0fa6005a7069ac7abe91cbad473dadb2253a8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: diffgram-0.15.0-py3-none-any.whl
  • Upload date:
  • Size: 52.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for diffgram-0.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45e77a28dae7266e1744d5ba54246390031c9df8094c070a514bb2e66da5f063
MD5 5e0a81cc0a94b67da6f430232fb65ad0
BLAKE2b-256 e714afd66cea3524efe149809a555cc51e41c4852cc0f46078a86e6616afd85b

See more details on using hashes here.

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