Skip to main content

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

Metadata

Release files for diffgram 0.15.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for diffgram 0.15.0
File Size Uploaded Provenance Actions
diffgram-0.15.0.tar.gz 41.6 kB Without provenance Details for diffgram-0.15.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for diffgram 0.15.0
File Interpreter ABI Platform Actions
diffgram-0.15.0-py3-none-any.whl Python 3 none any Details for diffgram-0.15.0-py3-none-any.whl

Total release size: 94.1 kB

Release files / diffgram-0.15.0.tar.gz

Download URL diffgram-0.15.0.tar.gz
Size 41.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7a893d457280a4b3e196cc924365c43e5e738152a6e3eb0ade999aaa02c3f024
BLAKE2b-256 checksum
How to use checksums
7b29150a294e115e04466ad315f0fa6005a7069ac7abe91cbad473dadb2253a8
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / diffgram-0.15.0-py3-none-any.whl

Download URL diffgram-0.15.0-py3-none-any.whl
Size 52.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45e77a28dae7266e1744d5ba54246390031c9df8094c070a514bb2e66da5f063
BLAKE2b-256 checksum
How to use checksums
e714afd66cea3524efe149809a555cc51e41c4852cc0f46078a86e6616afd85b
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for diffgram 0.15.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.15.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page