Skip to main content

Ango-Hub SDK

Project description

We provide a Python SDK to interface programmatically with Ango Hub.

SDK Documentation

The Documentation of imerit-ango is available in:

https://docs.imerit.net/sdk/sdk-documentation


For using API functionalities of Ango-Hub platform.

python3 setup.py bdist_wheel
twine upload dist/*

Local Development Guidelines

The actively used branch is imerit. To develop a new feature, branch out from the imerit branch and then open a pull request to imerit.

All the available SDK methods are under the SDK class in the imerit_ango/sdk.py file. To add a new method, simply create a new method inside the class definition.

Conventions

Private methods are named with double underscore before their names (__). For example:

def __calculate_something():
    pass

Running Tests Locally

For testing locally, create a file with a file name of your choice (lets say test.py). If the test file is at the root of the project, a sample code would look like this:

from imerit_ango.sdk import SDK

sdk = SDK(api_key="YOUR_API_KEY", host="ANGO_HUB_SERVER_IP")

sdk.get_project("123456789")

"YOUR_API_KEY" can be obtained by following the guide in the SDK docs. "ANGO_HUB_SERVER_IP" is the address of the Ango Hub server instance you would like to use. If you need to use the local version of the server, run the server locally and give the IP address of the local address of the server (which is http://127.0.0.1:3001 by default). You may also use http://test.ango.ai or http://imerit.ango.ai based on what you need.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

imerit_ango-1.3.26-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file imerit_ango-1.3.26-py3-none-any.whl.

File metadata

File hashes

Hashes for imerit_ango-1.3.26-py3-none-any.whl
Algorithm Hash digest
SHA256 e7c109f2cba7588183f3e46d4ece106ccf6913aff412810cda87a1c56d2dfd4c
MD5 656ac12465bea313c94efcd6e5fa7ac9
BLAKE2b-256 fbdb128d6437ab7e0e03ef09c979fbfdd6fa33984573fce10a99f9987f36eb84

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