Skip to main content

TrojAI provides the troj Python convenience package to allow users to integrate TrojAI adversarial protections and robustness metrics seamlessly into their AI development pipelines.

Project description

trojai-sdk

TrojAI's SDK and command line interface.

SDK Components

Client

from trojsdk import TrojClient
import json

##################################
keys = AOUSYDHLOAHUSLDIUHW

client = TrojClient()
client.set_credentials(
    id_token=keys["id_token"],
    refresh_token=keys["refresh_token"],
    api_key=keys["api_key"]    
)

Config

from trojsdk import BaseTrojConfig

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trojai-sdk-0.1.5.tar.gz (15.4 kB view hashes)

Uploaded Source

Built Distribution

trojai_sdk-0.1.5-py3-none-any.whl (20.6 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