Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now Python Client Library

Project description Client Package

Python Client Package to access hosted algorithms. For more information, please see

Building the python package:

python bdist_wheel
source py27
python bdist_wheel
python -m twine upload --repository-url dist/*

Install localally:

pip install dist/automatedai-0.1-py3-none-any.whl

Ways of using the client api:

token = "my_secret_token"

# Send None to invoke algorithm 
output = Algo.send(None)

# Send a string to your algorithm
output = Algo.send("send a string")

# Send a file 
output = Algo.send(bytearray(open("my_image.jpg", "rb").read()))

# Send a JSON structure, returns the JSON structure 
output = Algo.send({"MyString":"JSON String"})

# Send an dictionary (np arrays are converted to list)
output = Algo.send({"int":1,"float":1.2,"array":[1,2],"string":"Ddd","np":np.random.randint(0,255,(100,100,3),np.uint8),"List":[1,2,3,4]})

# Send a list
output = Algo.send(["send", "elements", "in", "array"])

# send a file link to download, returns the file bytes downloaded
output = Algo.send_url_to_download("https://file_link

Project details

Release history Release notifications

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
automatedai-0.5-py2-none-any.whl (3.9 kB) Copy SHA256 hash SHA256 Wheel py2
automatedai-0.5-py3-none-any.whl (3.9 kB) Copy SHA256 hash SHA256 Wheel py3

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page