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
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
Built Distribution
File details
Details for the file imerit_ango-1.3.26-py3-none-any.whl
.
File metadata
- Download URL: imerit_ango-1.3.26-py3-none-any.whl
- Upload date:
- Size: 20.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7c109f2cba7588183f3e46d4ece106ccf6913aff412810cda87a1c56d2dfd4c |
|
MD5 | 656ac12465bea313c94efcd6e5fa7ac9 |
|
BLAKE2b-256 | fbdb128d6437ab7e0e03ef09c979fbfdd6fa33984573fce10a99f9987f36eb84 |