Skip to main content

No project description provided

Project description

DynamoFL Core Python Client

  • This is a dynamofl package built by DynamoAI to be used with DynamoAI System
  • It's a wrapper to interact with DynamoAI APIs. Example
    • Create a model/AI System, Dataset, Test
    • View Test Details
    • Generate Billing Reports

Installation

$ pip install dynamofl

Usage

from dynamofl import DynamoFL

api_key = os.environ["API_KEY"]
api_host = os.environ["API_HOST"]

dfl = DynamoFL(token=api_key, host=api_host)

Version Compatability

  • DynamoAI has its own releases, and the deployed system knows what release version it's at (applicable from 3.21.0)
    • So for systems older than 3.21.0, we don't do a compatibility check
  • There are certain changes that are not backward compatible, hence the SDK might not be compatible with all the versions of the DynamoAI System
  • The SDK is smart enough to validate at the time of initialization as to whether it's compatible with the DynamoAI system or not and accordingly raise an error if it's incompatible

What SDK Version was this compatibility engine introduced in?

  • 0.1.0
  • Since the version compatibility engine is introduced in this version, the previous versions won't raise any error even if incompatible so we'd recommend you to upgrade to atleast 0.1.0 version of the sdk

What to do when the SDK is incompatible with the DynamoAI system being used with it?

We recommend using the compatible version of the sdk with the DynamoAI system you're running using the table below

SDK Version Compatibility

As mentioned above, we didn't have a compatibility engine before so the versions before 0.1.0 won't throw an error at instantiation even if they're incompatible

SDK Version Compatible DynamoAI System Version
0.1.X <= 3.21.X

Changelog

0.1.1

  • Removes the ALLOWED_PII_CLASSES validation from the sdk and rely on DynamoAI platform solely for the validation
    • This will introduce a delay in the feedback around valid PII classes that can be used for the attacks
    • So, please refer to the documentation to see what classes you can use for validation based on the DynamoAI release that you're at!
    • But it's for the longer good as the lesser the business logic in the core sdk, the lower chances of it being incompatible with the DynamoAI product release
  • Make GPU parameter truly optional for system policy compliance tests

0.1.2 & 0.1.3

  • Allow patch updates for requests package while preventing minor and major version updates

Project details


Release history Release notifications | RSS feed

This version

0.1.3

Download files

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

Source Distribution

dynamofl-0.1.3.tar.gz (40.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dynamofl-0.1.3-py3-none-any.whl (52.7 kB view details)

Uploaded Python 3

File details

Details for the file dynamofl-0.1.3.tar.gz.

File metadata

  • Download URL: dynamofl-0.1.3.tar.gz
  • Upload date:
  • Size: 40.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for dynamofl-0.1.3.tar.gz
Algorithm Hash digest
SHA256 c84fdcc325a2f94b40fbaaba0d96a880acee271cf8b657c027e40c6e3c30fa15
MD5 8b545f982ca587d7c41de49e73b25173
BLAKE2b-256 8534f2148f586d44b9e2ceeb39c8e9eba9863a7ffb47d2589f58dfe4aa6fd42f

See more details on using hashes here.

File details

Details for the file dynamofl-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: dynamofl-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 52.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for dynamofl-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c48ceadb4ded683acb308d3028f0ed6ceec2abbc269c759b00a88945d060ed5f
MD5 e27ae8c7839f77d8e02dd0c5ae0562af
BLAKE2b-256 7b6ccf755228077473523400fe4fffe7373e3973ec619ed86ebe441f25250988

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page