{ "info": { "author": "LOGILAB S.A. (Paris, FRANCE)", "author_email": "contact@logilab.fr", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: CubicWeb", "Programming Language :: JavaScript", "Programming Language :: Python" ], "description": "Summary\n-------\n\nController that gives users rql read/ write capabilities.\n\n\nSample usage\n------------\n\nUsers of this service must perform a HTTP POST request to its endpoint,\nthat is the base url of the CubicWeb application instance appended with\nthe \"rqlio/1.0\" url path.\n\nThe posted data must use the application/json MIME type, and contain a list of\npairs of the form `(rql_string, rql_args)`, where:\n\n* `rql_string` is any valid RQL query that may contain mapping keys with\n their usual form\n\n* `rql_args` is a dictionary, whose keys are the mapping keys from\n `rql_string`, and the values can be:\n\n - actual values\n\n - string references to a previous RQL query's result, with the\n assumption that the referenced RQL query returns a single line and\n single column rset; under such conditions, a string reference\n must be \"__rXXX\" where `XXX` is the (0-based) index of the RQL query in\n the json-encoded list of queries.\n\nThe HTTP request's response (in case where there is no error), is a\njson-encoded list. Its length is the number of RQL queries in the request,\nand each element contains the json-encoded result set rows from the\ncorresponding query.\n\nIn case of an error, a json object with a `reason` key will explain the\nproblem.\n\nPython client example using python-requests::\n\n import requests\n import json\n\n args = [('INSERT CWUser U: U login %(l)s, U upassword %(p)s',\n {'l': 'Babar', 'p': 'cubicweb rulez & 42'}),\n\n ('INSERT CWGroup G: G name \"pachyderms\"', {}),\n\n ('SET U in_group G WHERE U eid %(u)s, G eid %(g)s',\n {'u': '__r0', 'g': '__r1'})\n ]\n\n resp = requests.post('https://myinstance.example.com/rqlio/1.0'),\n data=json.dumps(args),\n headers={'Content-Type': 'application/json'})\n assert resp.status_code == 200\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.cubicweb.org/project/cubicweb-rqlcontroller", "keywords": "", "license": "LGPL", "maintainer": "", "maintainer_email": "", "name": "cubicweb-rqlcontroller", "package_url": "https://pypi.org/project/cubicweb-rqlcontroller/", "platform": "", "project_url": "https://pypi.org/project/cubicweb-rqlcontroller/", "project_urls": { "Homepage": "http://www.cubicweb.org/project/cubicweb-rqlcontroller" }, "release_url": "https://pypi.org/project/cubicweb-rqlcontroller/0.5.0/", "requires_dist": null, "requires_python": "", "summary": "restfull rql edition capabilities", "version": "0.5.0" }, "last_serial": 4790501, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "8c6e81dcea3a44f2cf4ef0b9e55fbcfc", "sha256": "42d28ecb6f16063a60f6aa1bb8a1b147258ba28711ba0761135a3948677ad01a" }, "downloads": -1, "filename": "cubicweb-rqlcontroller-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8c6e81dcea3a44f2cf4ef0b9e55fbcfc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8297, "upload_time": "2014-03-12T12:50:29", "url": "https://files.pythonhosted.org/packages/e0/97/c32605242ef80984c650eb4559c29ad7d578b34590230ba012f610e6b597/cubicweb-rqlcontroller-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "b7b5be6ca2ade0aa88b1c52c4a85c513", "sha256": "83aabb3397a91b1d037e1bc3f0da96159514f58d22d848eac610f931cfd36fd4" }, "downloads": -1, "filename": "cubicweb-rqlcontroller-0.2.0.tar.gz", "has_sig": false, "md5_digest": "b7b5be6ca2ade0aa88b1c52c4a85c513", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8525, "upload_time": "2014-10-07T11:15:50", "url": "https://files.pythonhosted.org/packages/9b/87/11bb6f3f03e21ae8fd17a3fa9166bcf0ca603fb518eddabcc2ee4c21a4cd/cubicweb-rqlcontroller-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "0d4c7bd07f9452019b1350049cd666cf", "sha256": "f321a995ef1cfea14ff8f3398021787796c4c40b4c4cf0da5d26ef266f3774bf" }, "downloads": -1, "filename": "cubicweb-rqlcontroller-0.3.0.tar.gz", "has_sig": false, "md5_digest": "0d4c7bd07f9452019b1350049cd666cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8817, "upload_time": "2014-10-29T21:32:23", "url": "https://files.pythonhosted.org/packages/09/b9/cced3500ce4524ffcf2536cce9847628ab15d57a91d5afdd8289692aa460/cubicweb-rqlcontroller-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "2d6bfb98a994f9808b44f499dfe19325", "sha256": "743ebcbb87b6d380866e005ff6d5c46942449fd2fbdf298d0149e7e4a4e67768" }, "downloads": -1, "filename": "cubicweb-rqlcontroller-0.3.1.tar.gz", "has_sig": false, "md5_digest": "2d6bfb98a994f9808b44f499dfe19325", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8708, "upload_time": "2015-06-23T13:57:11", "url": "https://files.pythonhosted.org/packages/69/9f/7db6707f05f5f4fb54fe4d6b7a38c08b5e333d6bcd6604ae1c061eb28985/cubicweb-rqlcontroller-0.3.1.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "bf78492d13aeb9ea355b55de5ef8d410", "sha256": "bc1e3ad4561d0453e253911066b9237c156cde938e61a454dc3af634310ddd5e" }, "downloads": -1, "filename": "cubicweb-rqlcontroller-0.4.0.tar.gz", "has_sig": false, "md5_digest": "bf78492d13aeb9ea355b55de5ef8d410", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7855, "upload_time": "2018-02-02T14:50:50", "url": "https://files.pythonhosted.org/packages/e0/ad/61943330b80d14be4b4e237d4ebf8d2dc764c30e645cbccf9f7afde70be7/cubicweb-rqlcontroller-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "3071ac18d8c04a637f5849c8d7309e70", "sha256": "7b4b9011fcd2fe66860f9cb503262e26af58e690d510beeb354cd115db9fb463" }, "downloads": -1, "filename": "cubicweb-rqlcontroller-0.4.1.tar.gz", "has_sig": false, "md5_digest": "3071ac18d8c04a637f5849c8d7309e70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7887, "upload_time": "2018-06-11T09:30:27", "url": "https://files.pythonhosted.org/packages/f7/05/11bac921cf114803f2e1dd2a72386497129545f17af27083f7d11d0acb61/cubicweb-rqlcontroller-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "6cb57331f2aa723af9a9d80a27ba2640", "sha256": "a991701f02550c0424c1adf11c805aeb95252189a2c86933ade03d615073f449" }, "downloads": -1, "filename": "cubicweb-rqlcontroller-0.4.2.tar.gz", "has_sig": false, "md5_digest": "6cb57331f2aa723af9a9d80a27ba2640", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8038, "upload_time": "2018-06-11T13:41:04", "url": "https://files.pythonhosted.org/packages/59/ce/4e180e842649ace8c86fdd9cacb5a9a915a3b1a15ffe21a5850b65af5078/cubicweb-rqlcontroller-0.4.2.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "d3f9afc3c2ab0e3d41a5680666c712f7", "sha256": "719b35e22cbf404af4eaa226f497d0f5b3803d5d7ab72fd3e1b3819386d88ce4" }, "downloads": -1, "filename": "cubicweb-rqlcontroller-0.5.0.tar.gz", "has_sig": false, "md5_digest": "d3f9afc3c2ab0e3d41a5680666c712f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12588, "upload_time": "2019-02-07T10:59:08", "url": "https://files.pythonhosted.org/packages/6c/63/719e23ebb0ca1b2f75eb25ffe9017d66f39c5e8fa1932ac6e79dbebd9ecb/cubicweb-rqlcontroller-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d3f9afc3c2ab0e3d41a5680666c712f7", "sha256": "719b35e22cbf404af4eaa226f497d0f5b3803d5d7ab72fd3e1b3819386d88ce4" }, "downloads": -1, "filename": "cubicweb-rqlcontroller-0.5.0.tar.gz", "has_sig": false, "md5_digest": "d3f9afc3c2ab0e3d41a5680666c712f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12588, "upload_time": "2019-02-07T10:59:08", "url": "https://files.pythonhosted.org/packages/6c/63/719e23ebb0ca1b2f75eb25ffe9017d66f39c5e8fa1932ac6e79dbebd9ecb/cubicweb-rqlcontroller-0.5.0.tar.gz" } ] }