{ "info": { "author": "Vikram Arsid", "author_email": "vikramarsid@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Build Tools" ], "description": "\n[![Build Status](https://travis-ci.org/vikramarsid/html2jirawiki.svg?branch=master)](https://travis-ci.org/vikramarsid/html2jirawiki)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/2755acb84ec94bc1a992987e06a1c019)](https://www.codacy.com/app/vikram-arsid/html2jirawiki?utm_source=github.com&utm_medium=referral&utm_content=vikramarsid/html2jirawiki&utm_campaign=Badge_Grade)\n\nInstallation\n============\n\n``pip install html2jirawiki``\n\n\nUsage\n=====\n\nConvert some HTML to Markdown:\n```\n from html2jirawiki import html_to_jira_wiki\n html_to_jira_wiki('Yay GitHub') # > '**Yay** [GitHub](http://github.com)'\n```\nSpecify tags to exclude (blacklist):\n\n```\n\n from html2jirawiki import html_to_jira_wiki\n html_to_jira_wiki('Yay GitHub', strip=['a']) # > '*Yay* GitHub'\n\n```\n\nor specify the tags you want to include (whitelist):\n\n```\n\n from html2jirawiki import html_to_jira_wiki\n html_to_jira_wiki('Yay GitHub', convert=['b']) # > '*Yay* GitHub'\n```\n\nOptions\n=======\n\nhtml2jirawiki supports the following options:\n\nstrip\n A list of tags to strip (blacklist). This option can't be used with the\n ``convert`` option.\n\nconvert\n A list of tags to convert (whitelist). This option can't be used with the\n ``strip`` option.\n\nautolinks\n A boolean indicating whether the \"automatic link\" style should be used when\n a ``a`` tag's contents match its href. Defaults to ``True``\n\nheading_style\n Defines how headings should be converted. Accepted values are ``ATX``,\n ``ATX_CLOSED``, ``SETEXT``, and ``UNDERLINED`` (which is an alias for\n ``SETEXT``). Defaults to ``UNDERLINED``.\n\nbullets\n An iterable (string, list, or tuple) of bullet styles to be used. If the\n iterable only contains one item, it will be used regardless of how deeply\n lists are nested. Otherwise, the bullet will alternate based on nesting\n level. Defaults to ``'*+-'``.\n\nOptions may be specified as kwargs to the ``html2jirawiki`` function, or as a\nnested ``Options`` class in ``MarkdownConverter`` subclasses.\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/vikramarsid/html2jirawiki", "keywords": "HTML,JIRA Wiki", "license": "", "maintainer": "", "maintainer_email": "", "name": "html2jirawiki", "package_url": "https://pypi.org/project/html2jirawiki/", "platform": "", "project_url": "https://pypi.org/project/html2jirawiki/", "project_urls": { "Homepage": "https://github.com/vikramarsid/html2jirawiki" }, "release_url": "https://pypi.org/project/html2jirawiki/1.0.0/", "requires_dist": [ "beautifulsoup4", "six" ], "requires_python": "", "summary": "A sample Python project to convert HTML to JIRA Wiki", "version": "1.0.0" }, "last_serial": 4105030, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "34a89a7b7cd43312dc39d398c29d5ed1", "sha256": "97d441fcf7e74ea5a6042440c8f866a93697b01f5a6f630e6ed882e3f7bcd0aa" }, "downloads": -1, "filename": "html2jirawiki-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "34a89a7b7cd43312dc39d398c29d5ed1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5785, "upload_time": "2018-07-26T15:21:47", "url": "https://files.pythonhosted.org/packages/79/67/b01fa4c3e432c9ed347c77d67e678054f052ff87f0618e925128a1ac54b0/html2jirawiki-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1cce02cde7379fc1afdfeeef491b14a4", "sha256": "f40adf1973ec926eec2b77fb875d11f42317a50cd190df75c6e821345cbd2fbe" }, "downloads": -1, "filename": "html2jirawiki-1.0.0.tar.gz", "has_sig": false, "md5_digest": "1cce02cde7379fc1afdfeeef491b14a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5811, "upload_time": "2018-07-26T15:21:48", "url": "https://files.pythonhosted.org/packages/9d/91/1d8537cf411044559104e2428eade97a42d1505bec24d35bd761b9c7ab74/html2jirawiki-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "34a89a7b7cd43312dc39d398c29d5ed1", "sha256": "97d441fcf7e74ea5a6042440c8f866a93697b01f5a6f630e6ed882e3f7bcd0aa" }, "downloads": -1, "filename": "html2jirawiki-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "34a89a7b7cd43312dc39d398c29d5ed1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5785, "upload_time": "2018-07-26T15:21:47", "url": "https://files.pythonhosted.org/packages/79/67/b01fa4c3e432c9ed347c77d67e678054f052ff87f0618e925128a1ac54b0/html2jirawiki-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1cce02cde7379fc1afdfeeef491b14a4", "sha256": "f40adf1973ec926eec2b77fb875d11f42317a50cd190df75c6e821345cbd2fbe" }, "downloads": -1, "filename": "html2jirawiki-1.0.0.tar.gz", "has_sig": false, "md5_digest": "1cce02cde7379fc1afdfeeef491b14a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5811, "upload_time": "2018-07-26T15:21:48", "url": "https://files.pythonhosted.org/packages/9d/91/1d8537cf411044559104e2428eade97a42d1505bec24d35bd761b9c7ab74/html2jirawiki-1.0.0.tar.gz" } ] }