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
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
trojai-sdk-0.1.5.tar.gz
(15.4 kB
view hashes)
Built Distribution
trojai_sdk-0.1.5-py3-none-any.whl
(20.6 kB
view hashes)
Close
Hashes for trojai_sdk-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60a06785a70c3415ac2349a3f088336a587cc862ae75d18de4fb7b99865d5faf |
|
MD5 | 34e5bfecf4013354cfdbaecc181f8cb8 |
|
BLAKE2b-256 | 813f04e514a440ea1a890c41db5135cd421ed17e92ec8e46e8231c418e94ea59 |