
Product
Redesigned Repositories Page: A Faster Way to Prioritize Security Risk
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.
This is the SDK for Diffgram
and
Diffgram.com
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.
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
FAQs
SDK for Diffgram
We found that diffgram demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.
Security News
Multiple deserialization flaws in PyTorch Lightning could allow remote code execution when loading untrusted model files, affecting versions up to 2.4.0.
Security News
NVD now marks all pre-2018 CVEs as "Deferred," signaling it will no longer enrich older vulnerabilities, further eroding trust in its data.