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.27-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imerit_ango-1.3.27-py3-none-any.whl
Algorithm Hash digest
SHA256 9da3fb58c48d0e1f3012727fd878b5d864ceca092c84bde1f38ba1551aac76f1
MD5 74bba26deea3ce3f8d548405295e3fd2
BLAKE2b-256 185c49068dffac7711cca824ffce7591a21891dc52a038975c9b2b1542894f9a

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