{ "info": { "author": "Josh Sarver", "author_email": "josh.sarver@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "All rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\nRedistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\nDownload-URL: https://github.com/jsarver/catools/tarball/v0.0.1-alpha\nDescription: Soap Helper Library for CA Service Desk\n \n Features\n Create and update any Object\n Create and update tickets\n Create and contacts\n \n Usage:\n #creating a client that interfaces with CA\n client = login(\"hostname\", \"username\", \"password\")\n \n #Now you can perform several tasks\n results = client.searchObjects(\"cnt\",\"last_name='smith'\",-1, [\"last_name\",\"first_name\"])\n #print list of users\n for user in results.to_dict():\n print(user['last_name'], user['first_name']\n \n \n #Update an object\n #query for users named smith and asking to only return the last_name and first_name attributes\n results = client.searchObjects(\"cnt\", \"last_name='smith'\",-1, [\"last_name\",\"first_name\"])\n \n #pick first user from search\n user = results[0]\n #change users first name to ned\n c.updateObject(user['handle'], [\"first_name\",\"ned\"], [\"first_name\",\"last_name\"])\n \n #list attributes for an object\n print(client.listAttributes('cnt'))\n \n \nKeywords: soap,ca service desk\nPlatform: UNKNOWN", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jsarver/catools", "keywords": "", "license": "Copyright (c) 2016, Josh Sarver", "maintainer": "", "maintainer_email": "", "name": "CATools", "package_url": "https://pypi.org/project/CATools/", "platform": null, "project_url": "https://pypi.org/project/CATools/", "project_urls": { "Homepage": "https://github.com/jsarver/catools" }, "release_url": "https://pypi.org/project/CATools/0.0.1/", "requires_dist": [ "pyyaml", "suds-jurko" ], "requires_python": "", "summary": "Helper Library for CA Service Desk Soap API", "version": "0.0.1" }, "last_serial": 2576210, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "357b3ca6235d8c117c903601ced1643d", "sha256": "c3d9fbfd9f3d1b8137acf726216449946605e3515824e7b43cee3e0a620fbb28" }, "downloads": -1, "filename": "CATools-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "357b3ca6235d8c117c903601ced1643d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8020, "upload_time": "2017-01-15T23:47:40", "url": "https://files.pythonhosted.org/packages/14/c4/340757051803ad7da2a1e517bdb82963e8c4d29ae80a33e72ea973e2cfd7/CATools-0.0.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "357b3ca6235d8c117c903601ced1643d", "sha256": "c3d9fbfd9f3d1b8137acf726216449946605e3515824e7b43cee3e0a620fbb28" }, "downloads": -1, "filename": "CATools-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "357b3ca6235d8c117c903601ced1643d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8020, "upload_time": "2017-01-15T23:47:40", "url": "https://files.pythonhosted.org/packages/14/c4/340757051803ad7da2a1e517bdb82963e8c4d29ae80a33e72ea973e2cfd7/CATools-0.0.1-py3-none-any.whl" } ] }