Skip to main content

Ango-Hub SDK

Project description

For using API functionalities of Ango-Hub platform.

from ango.sdk import SDK

# Init SDK with API key for detailed functioanlities of Ango API https://docs.ango.ai/api/api-documentation
sdk = SDK(api_key="10541bc8-bed8-4775-8ffc-323eabfcc9ae")

# Upload from local files
files = ["/home/ofk/Pictures/samples/0003.DCM", "/home/ofk/Pictures/samples/0009.DCM"]
response = sdk.upload_files("61f8d94a79002950df12234a", files)  # With Project ID
print(response)

# Or upload from hosted resources
files = [{
            "data": "https://i.imgur.com/OB0y6MR.jpg",
            "externalId": "111"
        },
        {
            "data": "https://i.imgur.com/CzXTtJV.jpg",
            "externalId": "112"
        }]
response = sdk.upload_files_cloud("61f8d94a79002950df12234a", files)  # With Project ID
print(response)

For developing custom plugins that can be integrated to Ango-Hub platform.

from ango import plugin


# Create callback function for your plugin. 
# Input and output definitions are set on Ango-Hub on plugin register
def callback(data):
    result = model(data)
    return result


p = plugins.Plugin("<YOUR_PLUGIN_ID>", "<YOUR_API_KEY>", callback)

plugin.run(p)

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

imerit-ango-1.1.6.tar.gz (8.5 kB view details)

Uploaded Source

File details

Details for the file imerit-ango-1.1.6.tar.gz.

File metadata

  • Download URL: imerit-ango-1.1.6.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for imerit-ango-1.1.6.tar.gz
Algorithm Hash digest
SHA256 17bad0e572dcfc0686e220a179879b323872b99faa174cf4ac9467fc87dacd04
MD5 154141482fb8fed491885bd58248c05f
BLAKE2b-256 873d02abff05e7bc1626d00c9b7430c4933606655115d4ad9f279cdefc663be3

See more details on using hashes here.

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