{ "info": { "author": "James Barfield", "author_email": "info@automated.ai", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "# Automated.ai Client Package\r\n\r\nPython Client Package to access automated.ai hosted algorithms. For more information, please see [automated.ai](http://automated.ai)\r\n\r\nBuilding the python package:\r\n```console\r\npython setup.py bdist_wheel\r\nsource py27\r\npython setup.py bdist_wheel\r\npython -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*\r\n```\r\n\r\nInstall localally:\r\n```console\r\npip install dist/automatedai-0.1-py3-none-any.whl\r\n```\r\n\r\n\r\n\r\nWays of using the client api:\r\n```console\r\n\r\nendpoint\r\ntoken = \"my_secret_token\"\r\nAlgo=automatedai.Algorithm(endpoint,token)\r\n\r\n# Send None to invoke algorithm \r\noutput = Algo.send(None)\r\nprint(output)\r\n\r\n# Send a string to your algorithm\r\noutput = Algo.send(\"send a string\")\r\nprint(output)\r\n\r\n# Send a file \r\noutput = Algo.send(bytearray(open(\"my_image.jpg\", \"rb\").read()))\r\nprint(output)\r\n\r\n# Send a JSON structure, returns the JSON structure \r\noutput = Algo.send({\"MyString\":\"JSON String\"})\r\nprint(output)\r\n\r\n# Send an dictionary (np arrays are converted to list)\r\noutput = 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]})\r\nprint(output)\r\n\r\n# Send a list\r\noutput = Algo.send([\"send\", \"elements\", \"in\", \"array\"])\r\nprint(output)\r\n\r\n# send a file link to download, returns the file bytes downloaded\r\noutput = Algo.send_url_to_download(\"https://file_link\r\nprint(output)\r\n\r\n```\r\n\r\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pypa/automatedai", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "automatedai", "package_url": "https://pypi.org/project/automatedai/", "platform": "", "project_url": "https://pypi.org/project/automatedai/", "project_urls": { "Homepage": "https://github.com/pypa/automatedai" }, "release_url": "https://pypi.org/project/automatedai/0.5/", "requires_dist": [ "requests", "opencv-python", "numpy" ], "requires_python": "", "summary": "Automated.ai Python Client Library", "version": "0.5" }, "last_serial": 5299838, "releases": { "0.5": [ { "comment_text": "", "digests": { "md5": "5239310c794f0bed2534422d7b24c378", "sha256": "2ff530527bbac84833336d840b6caceef13e76a53b6edabbe55b82fc453b28cd" }, "downloads": -1, "filename": "automatedai-0.5-py2-none-any.whl", "has_sig": false, "md5_digest": "5239310c794f0bed2534422d7b24c378", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3879, "upload_time": "2019-05-21T21:12:56", "url": "https://files.pythonhosted.org/packages/01/c5/d20261b0cc54c772332f71af89eb63d3345739d730b38def69c3e1a8e480/automatedai-0.5-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f3ec866c176ecbd1812ad7cfed0d54e3", "sha256": "5dbb009ad9a320577caf6fb11fa54457d95618ee22f10910ca1f97122690b766" }, "downloads": -1, "filename": "automatedai-0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "f3ec866c176ecbd1812ad7cfed0d54e3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3855, "upload_time": "2019-05-21T21:12:57", "url": "https://files.pythonhosted.org/packages/ea/3e/b57827ec37d96dabd7837ab9d80575b46a338862ddfa38cb998e325dee96/automatedai-0.5-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5239310c794f0bed2534422d7b24c378", "sha256": "2ff530527bbac84833336d840b6caceef13e76a53b6edabbe55b82fc453b28cd" }, "downloads": -1, "filename": "automatedai-0.5-py2-none-any.whl", "has_sig": false, "md5_digest": "5239310c794f0bed2534422d7b24c378", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3879, "upload_time": "2019-05-21T21:12:56", "url": "https://files.pythonhosted.org/packages/01/c5/d20261b0cc54c772332f71af89eb63d3345739d730b38def69c3e1a8e480/automatedai-0.5-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f3ec866c176ecbd1812ad7cfed0d54e3", "sha256": "5dbb009ad9a320577caf6fb11fa54457d95618ee22f10910ca1f97122690b766" }, "downloads": -1, "filename": "automatedai-0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "f3ec866c176ecbd1812ad7cfed0d54e3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3855, "upload_time": "2019-05-21T21:12:57", "url": "https://files.pythonhosted.org/packages/ea/3e/b57827ec37d96dabd7837ab9d80575b46a338862ddfa38cb998e325dee96/automatedai-0.5-py3-none-any.whl" } ] }