{ "info": { "author": "Petr \u0160pl\u00edchal", "author_email": "psplicha@redhat.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing" ], "description": "======================\n python-nitrate\n======================\n\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n Python API for the Nitrate test case management system\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n:Manual section: 1\n:Manual group: User Commands\n:Date: February 2012\n\n\nDESCRIPTION\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\npython-nitrate is a Python interface to the Nitrate test case\nmanagement system. The package consists of a high-level Python\nmodule (provides natural object interface), a low-level driver\n(allows to directly access Nitrate's xmlrpc API) and a command\nline interpreter (useful for fast debugging and experimenting).\n\n\nFEATURES\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nAmong the most essential python-nitrate features are:\n\n * Natural and concise Python interface\n * Custom level of caching & logging\n * Automated status coloring\n * Integrated test suite\n * Utility functions\n\nThe main motivation was to hide unnecessary implementation details\nwherever possible so that using the API is as concise as possible.\n\nScripts importing python-nitrate can make use of several useful\nhelper functions including info() for logging to stderr, listed()\nwhich converts list into nice human readable form, color() for\ncoloring and of course log.{debug,info,warn,error} for logging.\n\n\nEXAMPLES\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nInitialize or create an object::\n\n testcase = TestCase(1234)\n testrun = TestRun(testplan=, summary=)\n\nDefault iterators provided for all container objects::\n\n for case in TestRun(1234):\n if case.automated:\n case.status = Status(\"RUNNING\")\n case.update()\n\nLinking case to a plan is as simple as adding an item to a set::\n\n testplan.testcases.add(testcase)\n testplan.update()\n\nHowever, it's still possible to use the low-level driver when a\nspecific features is not implemented yet or not efficient enough::\n\n inject = Nitrate()._server.TestCase.get(46490)\n\nFor a quick start you can get some inspiration in the examples\ndirectory. The 'matrix.py' script demonstrates how to easily\ndisplay a matrix view of the test run results for a specific test\nplan. The 'create.py' script gives a broader overview covering\nobject creation, attribute setting, adjusting logs and caching.\n\n\nINSTALLATION\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nInstall directly from Fedora/Copr repository using yum or dnf::\n\n yum install python-nitrate\n\nor use PIP (sudo required if not in a virtualenv)::\n\n pip install nitrate\n\nNote that for successfull pip installation several extra\ndependencies are necessary::\n\n yum install gcc krb5-devel python-devel postgresql-devel\n\n\nCONFIGURATION\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nTo be able to contact the Nitrate server a minimal user config\nfile ~/.nitrate has to be provided in the user home directory::\n\n [nitrate]\n url = https://nitrate.server/xmlrpc/\n\n\nTEST SUITE\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nThe high-level interface has an integrated test suite, which can\nbe easily run against a stage server instance. For this a couple\nof objects needs to be prepared and already existing on the server\nso that we can check valid results. For detailed information about\nwhat data has to be prepared see the module documentation.\n\n\nLINKS\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nProject page:\nhttp://psss.fedorapeople.org/python-nitrate/\n\nInterpreter:\nhttp://psss.fedorapeople.org/python-nitrate/nitrate.html\n\nRelease notes:\nhttp://psss.fedorapeople.org/python-nitrate/notes.html\n\nExamples:\nhttp://psss.fedorapeople.org/python-nitrate/examples/\n\nDownload:\nhttp://psss.fedorapeople.org/python-nitrate/download/\n\nCopr repo:\nhttp://copr.fedoraproject.org/coprs/psss/python-nitrate/\n\nGit repo:\nhttps://github.com/psss/python-nitrate\n\nPyPI:\nhttps://pypi.python.org/pypi/nitrate\n\nFile bugs:\nhttps://bugzilla.redhat.com/enter_bug.cgi?product=Fedora\n\nNitrate:\nhttps://fedorahosted.org/nitrate/\n\n\nSEE ALSO\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nManual pages covering command line interpreter and release notes::\n\n nitrate\n nitrate-notes\n\nFor more detailed and most up-to-date description of all available\nnitrate module features see the Python online documentation::\n\n pydoc nitrate\n\nFor area-specific details see respective module documentation::\n\n nitrate.base ......... Nitrate class, search support\n nitrate.cache ........ Persistent cache, multicall support\n nitrate.config ....... Configuration, logging, coloring, caching\n nitrate.containers ... Container classes implementation\n nitrate.immutable .... Immutable Nitrate objects\n nitrate.mutable ...... Mutable Nitrate objects\n nitrate.teiid ........ Teiid support\n nitrate.tests ........ Test suite\n nitrate.utils ........ Utilities\n nitrate.xmlrpc ....... XMLRPC driver\n\n\nAUTHORS\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nHigh-level Python module:\nPetr \u0160pl\u00edchal, Zby\u0161ek Mr\u00e1z, Martin Kyral, Luk\u00e1\u0161 Zachar, Filip\nHolec, Ale\u0161 Zelinka, Miroslav Vadkerti, Leo\u0161 Pol and Iveta\nWiedermann.\n\nLow-level XMLRPC driver:\nAirald Hapairai, David Malcolm, Will Woods, Bill Peck, Chenxiong\nQi, Tang Chaobin, Yuguang Wang and Xuqing Kuang.\n\nHope, the library will save you time and bring some joy when\nwriting scripts interacting with the Nitrate server. Looking\nforward to your feedback, comments, suggestions and patches ;-)\n\nPetr \u0160pl\u00edchal \n\n\nCOPYRIGHT\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nCopyright (c) 2012 Red Hat, Inc. All rights reserved.\n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://psss.fedorapeople.org/python-nitrate/", "keywords": "", "license": "LGPLv2+", "maintainer": "", "maintainer_email": "", "name": "nitrate", "package_url": "https://pypi.org/project/nitrate/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/nitrate/", "project_urls": { "Homepage": "https://psss.fedorapeople.org/python-nitrate/" }, "release_url": "https://pypi.org/project/nitrate/1.3.1/", "requires_dist": [ "psycopg2", "pykerberos" ], "requires_python": "", "summary": "Python API for the Nitrate test case management system", "version": "1.3.1" }, "last_serial": 2110024, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "8c886f9a566860e0b1d738dc9be0318b", "sha256": "826e3efc558677eb36f8e1bdf809a50fe2f038aabf0a3c06179ecadfa210841c" }, "downloads": -1, "filename": "nitrate-0.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "8c886f9a566860e0b1d738dc9be0318b", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 68957, "upload_time": "2016-02-09T13:11:10", "url": "https://files.pythonhosted.org/packages/a0/02/e15db1fca88f37a8217afbe1d1bfa3aef0ef8d8271510ecbb18a0affa3be/nitrate-0.1.1-py2-none-any.whl" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "3aff87283bc2f873baf7aece4f33c6b6", "sha256": "21a80de11721c87c7dab13a348430386c3a99d2e85d8c79bbbd7d9c6799d9c24" }, "downloads": -1, "filename": "nitrate-1.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "3aff87283bc2f873baf7aece4f33c6b6", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 69012, "upload_time": "2016-02-09T13:42:36", "url": "https://files.pythonhosted.org/packages/57/4d/1587751dfc1620bc9d657d23ee7442b30a8b2275d2f7b597931574ea7a7f/nitrate-1.2.0-py2-none-any.whl" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "5f94229c70057be1fc4ffc509bda33f7", "sha256": "6bf7c74b7458cdc89aa5ae9a643b4c49d3fb196834ebd3f5f033363a765e01c5" }, "downloads": -1, "filename": "nitrate-1.3.1-py2-none-any.whl", "has_sig": false, "md5_digest": "5f94229c70057be1fc4ffc509bda33f7", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 69258, "upload_time": "2016-02-15T08:15:08", "url": "https://files.pythonhosted.org/packages/08/47/448e9e32876f59e380cf92e709eb90972b27db63796ab954954f40050b66/nitrate-1.3.1-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5f94229c70057be1fc4ffc509bda33f7", "sha256": "6bf7c74b7458cdc89aa5ae9a643b4c49d3fb196834ebd3f5f033363a765e01c5" }, "downloads": -1, "filename": "nitrate-1.3.1-py2-none-any.whl", "has_sig": false, "md5_digest": "5f94229c70057be1fc4ffc509bda33f7", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 69258, "upload_time": "2016-02-15T08:15:08", "url": "https://files.pythonhosted.org/packages/08/47/448e9e32876f59e380cf92e709eb90972b27db63796ab954954f40050b66/nitrate-1.3.1-py2-none-any.whl" } ] }