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.

bash ./release.sh

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


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 Distributions

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

Built Distribution

ango-1.3.35-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file ango-1.3.35-py3-none-any.whl.

File metadata

  • Download URL: ango-1.3.35-py3-none-any.whl
  • Upload date:
  • Size: 20.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for ango-1.3.35-py3-none-any.whl
Algorithm Hash digest
SHA256 da201cffc918b6f5e761f873948a6f620ab519c9e588898652b77a4ccbe36875
MD5 3dcf765efc0e2026ec0f3f55fec71543
BLAKE2b-256 8f2725f7dd7b0926c712c4c348c5b71d8523f5a7a99725d519baa542dec45224

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page