{ "info": { "author": "Alistair Broomhead", "author_email": "alistair.broomhead@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "=====================================\nslacken - Tools for working with REST\n=====================================\n\n------------\nIntroduction\n------------\n\nContains the RESTAccess class for calling endpoints including tools for\naccessing both json and xml data. Also included are tools for accessing this\ninformation as an AttrDict (attribute dictionary) - a dictionary where keys can\nalso be accessed as attributes, in javascript style - accessing a value of this\nclass of type dict will return another AttrDict, however the original object is\nalways accessible by calling ._as_dict() on an AttrDict object\n\n-------------------------\nInstallation Requirements\n-------------------------\n\nThe following modules are required:\n\n- None currently\n\n\n------------\nInstallation\n------------\n\nJust run the following command at the command prompt:\n\n.. code-block:: bash\n\n $ sudo pip install slacken\n\n\n-----\nUsage\n-----\n\n.. code-block:: python\n\n from slacken import RESTaccess, XMLAccessor, AttrDict\n rest_accessor = RESTaccess(rest_root)\n response_data = rest_accessor(endpoint)\n response_dict = response_data.to_dict()\\\n if isinstance(response_data, XMLAccessor) else\\\n AttrDict(response_data)\n\n\n\n-------\nLicense\n-------\n\nThe MIT License (MIT)\n\nCopyright (c) 2013 Alistair Broomhead\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/alistair-broomhead/slacken/zipball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/alistair-broomhead/slacken", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "slacken", "package_url": "https://pypi.org/project/slacken/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/slacken/", "project_urls": { "Download": "https://github.com/alistair-broomhead/slacken/zipball/master", "Homepage": "https://github.com/alistair-broomhead/slacken" }, "release_url": "https://pypi.org/project/slacken/0.1.4/", "requires_dist": null, "requires_python": null, "summary": "Tools for working with rest", "version": "0.1.4" }, "last_serial": 714461, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "919b0aaeada948ee22672b9e71fa5bc3", "sha256": "14752a9bbbf40a8a1844c4a0a885f9b5e567e5ef9ff14320e049ff69f314313a" }, "downloads": -1, "filename": "slacken-0.1.tar.gz", "has_sig": false, "md5_digest": "919b0aaeada948ee22672b9e71fa5bc3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4071, "upload_time": "2013-05-22T10:43:08", "url": "https://files.pythonhosted.org/packages/ab/95/3c7f11019fe018e6bcac5a12c527de23bdc9062282ea0478de79ec1ea7e7/slacken-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "17c8615e9ed6d3c3467dbd63748dd653", "sha256": "2dad09aa14e97043dfc864354d5a61635db6fd97c302fd17f52e71f601221591" }, "downloads": -1, "filename": "slacken-0.1.1.tar.gz", "has_sig": false, "md5_digest": "17c8615e9ed6d3c3467dbd63748dd653", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4291, "upload_time": "2013-05-22T11:22:35", "url": "https://files.pythonhosted.org/packages/6b/67/f67681623e01f93a5647ac48fa1a8de1f4f092f675988b516ed8a3477147/slacken-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "930662e8e6980201a2faf5d35b78d11f", "sha256": "f87066a339ca793b1a70fb788252f233595fbb4a39587836ba71c1caa28a3a22" }, "downloads": -1, "filename": "slacken-0.1.2.tar.gz", "has_sig": false, "md5_digest": "930662e8e6980201a2faf5d35b78d11f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4492, "upload_time": "2013-05-29T13:55:38", "url": "https://files.pythonhosted.org/packages/a6/fd/a9fdf06650fc20b2cd40750edf47deedcf6384768037f7b7d7f82240ee5e/slacken-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "9a59c32a79e3a82f581e468c33f66de2", "sha256": "f3cdc91b14412b1ab770b17beab3b7d9a41d5b9025d876339e4e527924b4d9d2" }, "downloads": -1, "filename": "slacken-0.1.3.tar.gz", "has_sig": false, "md5_digest": "9a59c32a79e3a82f581e468c33f66de2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4599, "upload_time": "2013-05-30T16:47:58", "url": "https://files.pythonhosted.org/packages/76/86/671a26e02d88b774124aeb62f5a12a01a7a62e17e6441c6b53f8ff1cb3c0/slacken-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "0ab7ecbcb52280bda2b3bd73796f7cc0", "sha256": "2925099dc55c7f792e855f52c7177d41534cbd6961a9764c2ab96bc9ca833ebc" }, "downloads": -1, "filename": "slacken-0.1.4.tar.gz", "has_sig": false, "md5_digest": "0ab7ecbcb52280bda2b3bd73796f7cc0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4672, "upload_time": "2013-05-30T16:46:40", "url": "https://files.pythonhosted.org/packages/73/15/d00d7c912a2b65c80d44e699d8c730406460f482a096b3c075765ae27bbb/slacken-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0ab7ecbcb52280bda2b3bd73796f7cc0", "sha256": "2925099dc55c7f792e855f52c7177d41534cbd6961a9764c2ab96bc9ca833ebc" }, "downloads": -1, "filename": "slacken-0.1.4.tar.gz", "has_sig": false, "md5_digest": "0ab7ecbcb52280bda2b3bd73796f7cc0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4672, "upload_time": "2013-05-30T16:46:40", "url": "https://files.pythonhosted.org/packages/73/15/d00d7c912a2b65c80d44e699d8c730406460f482a096b3c075765ae27bbb/slacken-0.1.4.tar.gz" } ] }