{ "info": { "author": "@Robpol86", "author_email": "robpol86@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Flask", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: POSIX", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Build Tools" ], "description": "Flask-JIRA-Helper\r\n=================\r\n\r\nA simple JIRA extension for Flask. Supports basic authentication and\r\nOAuth.\r\n\r\n|Build Status| |Coverage Status| |Latest Version| |Downloads| |Download format| |License|\r\n\r\nSupported Platforms\r\n-------------------\r\n\r\n- OSX and Linux.\r\n- Python 2.6, 2.7, 3.3, 3.4\r\n- `Flask`_ 0.10.1\r\n- `JIRA`_ 0.21\r\n\r\nProbably works on other versions too.\r\n\r\nQuickstart\r\n----------\r\n\r\nInstall:\r\n\r\n.. code:: bash\r\n\r\n pip install Flask-JIRA-Helper\r\n\r\nExample:\r\n\r\n.. code:: python\r\n\r\n # example.py\r\n from flask import Flask\r\n from flask.ext.jira import JIRA\r\n\r\n app = Flask(__name__)\r\n app.config['JIRA_SERVER'] = 'https://jira.mycompany.com'\r\n app.config['JIRA_USER'] = 'jdoe'\r\n app.config['JIRA_PASSWORD'] = 'SuperSecretP@ssw0rd'\r\n jira = JIRA(app)\r\n\r\n print jira.projects()\r\n\r\nFactory Example\r\n---------------\r\n\r\n.. code:: python\r\n\r\n # extensions.py\r\n from flask.ext.jira import JIRA\r\n\r\n jira = JIRA()\r\n\r\n.. code:: python\r\n\r\n # application.py\r\n from flask import Flask\r\n from extensions import jira\r\n\r\n def create_app():\r\n app = Flask(__name__)\r\n app.config['JIRA_SERVER'] = 'https://jira.mycompany.com'\r\n app.config['JIRA_USER'] = 'service'\r\n app.config['JIRA_PASSWORD'] = 'SuperSecretP@ssw0rd'\r\n jira.init_app(app)\r\n return app\r\n\r\n.. code:: python\r\n\r\n # manage.py\r\n from application import create_app\r\n\r\n app = create_app()\r\n app.run()\r\n\r\nConfiguration\r\n-------------\r\n\r\n``Flask-JIRA-Helper`` subclasses ``jira.client.JIRA`` and adds the\r\ninit\\_app() method for delayed initialization (for\r\napplications that instantiate extensions in a separate file, but run\r\ninit\\_app() in the same file Flask() was\r\ninstantiated).\r\n\r\nThe following config settings are searched for in the Flask\r\napplication\u2019s configuration dictionary:\r\n\r\n- ``JIRA_SERVER`` \u2013 URL to JIRA server.\r\n- ``JIRA_USER`` \u2013 HTTP Basic authentication user name.\r\n- ``JIRA_PASSWORD`` \u2013 HTTP Basic authentication password.\r\n- ``JIRA_TOKEN`` \u2013 OAuth authentication access token.\r\n- ``JIRA_SECRET`` \u2013 OAuth authentication access token secret.\r\n- ``JIRA_CONSUMER`` \u2013 OAuth authentication consumer key.\r\n- ``JIRA_CERT`` \u2013 OAuth authentication key certificate data.\r\n- ``JIRA_IGNORE_INITIAL_CONNECTION_FAILURE`` \u2013 Ignore ConnectionError\r\n during init\\_app() for testing/development.\r\n\r\nChangelog\r\n---------\r\n\r\n0.2.0\r\n^^^^^\r\n\r\n- Added JIRA\\_IGNORE\\_INITIAL\\_CONNECTION\\_FAILURE option.\r\n- Added Python 2.6 and 3.x support.\r\n\r\n0.1.2\r\n^^^^^\r\n\r\n- Fixed AttributeError when JIRA is instantiated but init\\_app() isn\u2019t\r\n called.\r\n\r\n0.1.1\r\n^^^^^\r\n\r\n- Clearer error message when no credentials are specified.\r\n\r\n0.1.0\r\n^^^^^\r\n\r\n- Initial release.\r\n\r\n.. _Flask: http://flask.pocoo.org/\r\n.. _JIRA: http://jira-python.readthedocs.org/en/latest/\r\n.. |Build Status| image:: https://travis-ci.org/Robpol86/Flask-JIRA-Helper.svg?branch=master\r\n :target: https://travis-ci.org/Robpol86/Flask-JIRA-Helper\r\n.. |Coverage Status| image:: https://img.shields.io/coveralls/Robpol86/Flask-JIRA-Helper.svg\r\n :target: https://coveralls.io/r/Robpol86/Flask-JIRA-Helper\r\n.. |Latest Version| image:: https://pypip.in/version/Flask-JIRA-Helper/badge.png\r\n :target: https://pypi.python.org/pypi/Flask-JIRA-Helper/\r\n.. |Downloads| image:: https://pypip.in/download/Flask-JIRA-Helper/badge.png\r\n :target: https://pypi.python.org/pypi/Flask-JIRA-Helper/\r\n.. |Download format| image:: https://pypip.in/format/Flask-JIRA-Helper/badge.png\r\n :target: https://pypi.python.org/pypi/Flask-JIRA-Helper/\r\n.. |License| image:: https://pypip.in/license/Flask-JIRA-Helper/badge.png\r\n :target: https://pypi.python.org/pypi/Flask-JIRA-Helper/", "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/Robpol86/Flask-JIRA-Helper", "keywords": "flask jira", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "Flask-JIRA-Helper", "package_url": "https://pypi.org/project/Flask-JIRA-Helper/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Flask-JIRA-Helper/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/Robpol86/Flask-JIRA-Helper" }, "release_url": "https://pypi.org/project/Flask-JIRA-Helper/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "JIRA support for Flask without breaking PyCharm inspections.", "version": "0.2.0" }, "last_serial": 1186139, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "3c7dcdb048c30c30af5e9a7dd56915ae", "sha256": "56395bc05fce6a35a2d9a19666ebfe160c46f1d54cb9cd968d0fb6e133c8d38b" }, "downloads": -1, "filename": "Flask-JIRA-Helper-0.1.0.tar.gz", "has_sig": false, "md5_digest": "3c7dcdb048c30c30af5e9a7dd56915ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4321, "upload_time": "2014-06-08T22:16:42", "url": "https://files.pythonhosted.org/packages/f7/c4/6cdb7c3901953aa8f14febce08b74b0da0b33446a9fe38833b2175d9a628/Flask-JIRA-Helper-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "48b10cf08c3422324c4c485589f3ebe7", "sha256": "467c7814e09359420c037d5b27ebc073d798df0c266fc143d8e27b43abc1184f" }, "downloads": -1, "filename": "Flask-JIRA-Helper-0.1.1.tar.gz", "has_sig": false, "md5_digest": "48b10cf08c3422324c4c485589f3ebe7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4445, "upload_time": "2014-06-13T05:02:49", "url": "https://files.pythonhosted.org/packages/7d/c8/0c902547569e10f645c8db98a011a8a26e3d7f5d6886924c0f2e20ae8601/Flask-JIRA-Helper-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "1e889e13ba1051f9ca7b3c5f39bc29a4", "sha256": "02f886005048cd3181a51dc7bb097177653e13003beb08a42bdff5e1a449dd87" }, "downloads": -1, "filename": "Flask-JIRA-Helper-0.1.2.tar.gz", "has_sig": false, "md5_digest": "1e889e13ba1051f9ca7b3c5f39bc29a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4582, "upload_time": "2014-07-06T01:57:10", "url": "https://files.pythonhosted.org/packages/5a/6d/82121de7ecdbd5d5ff0af4075477777f0655a4a220e2cf42dd4528a8b870/Flask-JIRA-Helper-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "2d892cb224353c6f0715ba34076a8daa", "sha256": "5867ec3857ce653161873a506b6f61b23f9be66ea5571743d1cd4d0c18023bf5" }, "downloads": -1, "filename": "Flask-JIRA-Helper-0.2.0.tar.gz", "has_sig": false, "md5_digest": "2d892cb224353c6f0715ba34076a8daa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5716, "upload_time": "2014-08-10T03:31:51", "url": "https://files.pythonhosted.org/packages/3a/9f/a911483035187abce807fbcbd6758228660aae33b689b539fc74dbc37918/Flask-JIRA-Helper-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2d892cb224353c6f0715ba34076a8daa", "sha256": "5867ec3857ce653161873a506b6f61b23f9be66ea5571743d1cd4d0c18023bf5" }, "downloads": -1, "filename": "Flask-JIRA-Helper-0.2.0.tar.gz", "has_sig": false, "md5_digest": "2d892cb224353c6f0715ba34076a8daa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5716, "upload_time": "2014-08-10T03:31:51", "url": "https://files.pythonhosted.org/packages/3a/9f/a911483035187abce807fbcbd6758228660aae33b689b539fc74dbc37918/Flask-JIRA-Helper-0.2.0.tar.gz" } ] }