{ "info": { "author": "Turi, Inc.", "author_email": "contact@turi.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2.7", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Information Analysis" ], "description": "Predictive Services Query Client (psquery)\n==========================================\n\nThis package allows you to query Turi Predictive Services.\n\nRefer to\nhttps://turi.com/products/predictive-services/docs/userguide/connecting.html#psquery\nfor detailed information regarding how to use this client.\n\nThis package only includes the `config.py\n`_\nand `query_client.py\n`_\nfrom the full Predictive Services client psclient.\n\n\nConnecting\n----------\n\nIn order to connect, you need to know the query endpoint URL and your key. An\nAPI key or an admin key is sufficient to query the Predictive Services. An API\nkey may have limitations on which endpoints it can query. Consult with your\nsystem administrator to obtain the appropriate key.\n\nThe `psquery.connect\n`_\nfunction is used to connect to the service.::\n\n import psquery\n conn = psquery.connect(query_endpoint_URL, key_id)\n\n\nPlease consult the `connect function documentation\n`_\nfor details on alternative methods of specifying these parameters during connection.\n\n\nQuerying\n--------\n\nOnce you have connected, you can query by specifying the endpoint you want to\nquery and the parameters. Keep in mind that your key must have sufficient\nprivileges to access the endpoint. Admin keys can access all endpoints, but\nAPI keys must be specifically allowed by endpoint name.::\n\n response = conn.query('add', 1, 2)\n\nThe response is a dict with the following keys and values.::\n\n {u'node': u'...', u'uuid': u'...', u'version': 1, u'from_cache': False, u'model': u'add', u'response': 3}\n\nPlease see the `query method documentation\n`_\nfor more details.\n\nFeedback\n--------\n\nIf the endpoint allows it, you can specify `feedback\n`_:::\n\n conn.feedback(response['uuid'], success=True)\n\nPlease see the `feedback method documentation\n`_\nfor more details.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/turi-code/psquery", "keywords": "turi graphlab predictive services", "license": "LICENSE", "maintainer": null, "maintainer_email": null, "name": "psquery", "package_url": "https://pypi.org/project/psquery/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/psquery/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/turi-code/psquery" }, "release_url": "https://pypi.org/project/psquery/2.0/", "requires_dist": null, "requires_python": null, "summary": "Predictive Services Query Client", "version": "2.0" }, "last_serial": 2206720, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "da5e31fd688690f2a63812d47783d18b", "sha256": "b455eb70628e0c99eb314179335e3634c39037e00a54bacb3dba9d70efa7071e" }, "downloads": -1, "filename": "psquery-0.0.1.tar.gz", "has_sig": false, "md5_digest": "da5e31fd688690f2a63812d47783d18b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10692, "upload_time": "2016-07-06T21:33:45", "url": "https://files.pythonhosted.org/packages/d4/21/08609095323fe05d79b47f78a150b0091f8f3e47f8ef530db3978504dc23/psquery-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "3c1bb2217e5e428a65706fa26f2ee527", "sha256": "fd2718f4afab0722a4fd4c36a98c4bc3c453d9ec59b2537d63082549563b22eb" }, "downloads": -1, "filename": "psquery-0.0.2.tar.gz", "has_sig": false, "md5_digest": "3c1bb2217e5e428a65706fa26f2ee527", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10267, "upload_time": "2016-07-06T21:40:44", "url": "https://files.pythonhosted.org/packages/7d/95/27b65eb12b21863d0d5a7f99ff0bb186dd56f6f2d7f35ad560c0b5f64261/psquery-0.0.2.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "acefb5f774054efb78ac8d3b1abf7302", "sha256": "dcfdde3c47129632a68c48fa31a8a8f20976b94ff678a7c2991d36fb955bb0d6" }, "downloads": -1, "filename": "psquery-2.0.tar.gz", "has_sig": false, "md5_digest": "acefb5f774054efb78ac8d3b1abf7302", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10264, "upload_time": "2016-07-06T21:45:13", "url": "https://files.pythonhosted.org/packages/98/f3/0d0b14b593bc5bc9106ee75b1df1e0031d45c0498b7566e4182ed6241ee5/psquery-2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "acefb5f774054efb78ac8d3b1abf7302", "sha256": "dcfdde3c47129632a68c48fa31a8a8f20976b94ff678a7c2991d36fb955bb0d6" }, "downloads": -1, "filename": "psquery-2.0.tar.gz", "has_sig": false, "md5_digest": "acefb5f774054efb78ac8d3b1abf7302", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10264, "upload_time": "2016-07-06T21:45:13", "url": "https://files.pythonhosted.org/packages/98/f3/0d0b14b593bc5bc9106ee75b1df1e0031d45c0498b7566e4182ed6241ee5/psquery-2.0.tar.gz" } ] }