{ "info": { "author": "Jeff Kerr", "author_email": "jeff@casefleet.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7" ], "description": "[![CircleCI](https://circleci.com/gh/gojefferson/dumbdown.svg?style=svg)](https://circleci.com/gh/gojefferson/dumbdown)\n\n\n# dumbdown\nExtremely simplified quasi-markdown to HTML parsing, available in both Javascript and Python.\n\n## Installation\n\nTo install the python package:\n\n```\npip install dumbdown\n```\n\nTo install the npm package:\n\n```\nnpm install dumbdown\n```\n\n# Demo\n\nTo see the demo: clone this repo, install node modules from `package.json` and open `demo.html` in your favorite browser. Try typing some text with * and _ characters.\n\n\n## Usage\nIt allows 3 kinds of formatting marks, **bold**, *italic*, and > blockquotes but it uses Slack's syntax for these and not Markdown syntax.\n\nBold text must have `*` surrounding it:\n\n```\nFor example, *this would be bold*.\n```\n\nItalicized text has `_` surrounding it:\n```\nAnd _this would be in italics_.\n```\n\nBold and italics can be nested within each other:\n```\n*bold _bold-italics_*, _italics with some *bold* inside_. *_Nice!_*.\n```\n\nA blockquote is a line starting with `>`:\n```\n> this is a blockquote\n> woo\n```\n\n## Python API\n\nThe Python version provides two functions: `to_html` and `to_plain`.\n\n```py\n>>> from dumbdown import to_html, to_plain\n\n>>> to_html(\"*This is bold _this is bold ital._*\\nThis is on a new line\")\n'

This is bold this is bold ital.

This is on a new line

'\n\n>>> to_plain(\"*This is bold _this is bold ital._*\\nThis is on a new line\")\n'This is bold this is bold ital. This is on a new line'\n```\n\n## Javascript API\n\nThe Javascript version provides two functions: `toHtml` and `toPlain`.\n\n```js\n>>> import { toHtml, toPlain } from \"dumbdown\";\n\n>>> toHtml(\"*This is bold _this is bold ital._*\\nThis is on a new line\");\n'

This is bold this is bold ital.

This is on a new line

'\n\n>>> toPlain(\"*This is bold _this is bold ital._*\\nThis is on a new line\")\n'This is bold this is bold ital. This is on a new line'\n```\n\n## Testing\nTo test:\n\n### Python\n```\npytest\n```\n\n### Javascript\n\n```\nyarn run test\n```\n\n# Releasing\n\n## Python / PyPi\n\n### Build\n```\npython setup.py sdist bdist_wheel\n```\n\n### Release\n\n```\ntwine upload dist/*\n```\n\n## Javascript / NPM\n\n### Build\n\n```\nyarn run build\n```\n\n### Release\n\n```\nnpm publish\n```\n\n\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/gojefferson/dumbdown", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "dumbdown", "package_url": "https://pypi.org/project/dumbdown/", "platform": "", "project_url": "https://pypi.org/project/dumbdown/", "project_urls": { "Homepage": "https://github.com/gojefferson/dumbdown" }, "release_url": "https://pypi.org/project/dumbdown/1.0.5/", "requires_dist": null, "requires_python": ">= 3.7", "summary": "*Extremely* _simple_ markdown-ish format", "version": "1.0.5" }, "last_serial": 5309994, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "a1db726639faf9a72ab2bd0c54cacbdb", "sha256": "ff2ba0836936a6cd66d0e547811c3d32d8d104189da79b6b3392ff9b6c501c37" }, "downloads": -1, "filename": "dumbdown-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "a1db726639faf9a72ab2bd0c54cacbdb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4282, "upload_time": "2019-02-18T01:52:43", "url": "https://files.pythonhosted.org/packages/c7/c4/d90e1ec38db16d795f3503857663ea6c35fe6152f5e521e9ad8be8aeed87/dumbdown-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "34e0018e520c2cd774d5f8ea2a4ad5a6", "sha256": "aec7be8129331b76f17c137c11e9ec9ff72c76c235d5cc8102bcdaa06595e880" }, "downloads": -1, "filename": "dumbdown-0.0.2.tar.gz", "has_sig": false, "md5_digest": "34e0018e520c2cd774d5f8ea2a4ad5a6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3668, "upload_time": "2019-02-18T01:52:47", "url": "https://files.pythonhosted.org/packages/16/47/fb90f2ef115ab8b67d24ce3dcdeff94b302b0c88aa9411cc9dc21b932ef3/dumbdown-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "f6d50cd3bdc06a130b8bb771e682efcd", "sha256": "7903ddac6e23b1c76bccd253c9212fb3e3a1ef5e982f2dcad1f5d0e5cd341dc5" }, "downloads": -1, "filename": "dumbdown-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "f6d50cd3bdc06a130b8bb771e682efcd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">= 3.7", "size": 6883, "upload_time": "2019-02-18T01:52:45", "url": "https://files.pythonhosted.org/packages/58/07/f75bccbb079c95c7a22f1f94aeac149614f5de273cf451afef98d92b6710/dumbdown-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2d9469d48642741e301d34308069c5dd", "sha256": "6c78ba4f0480951da71655c14bd7d7c0e8ff39acabd6f8c38308d182e3000df3" }, "downloads": -1, "filename": "dumbdown-0.0.3.tar.gz", "has_sig": false, "md5_digest": "2d9469d48642741e301d34308069c5dd", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.7", "size": 3681, "upload_time": "2019-02-18T01:52:48", "url": "https://files.pythonhosted.org/packages/0b/fd/21136eb0816477e7fa8adbec93d209f4ccde28555442a208c6ce1016eae1/dumbdown-0.0.3.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "4a497a9c2a9cae8e5000674a811ab532", "sha256": "b17ae486ed225be5bb0af051e2d3e5dd4d1f37388f989d86d98337b1dd5182bc" }, "downloads": -1, "filename": "dumbdown-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4a497a9c2a9cae8e5000674a811ab532", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">= 3.7", "size": 7801, "upload_time": "2019-02-18T19:34:54", "url": "https://files.pythonhosted.org/packages/94/89/88c693b5a085ad8bc5c46b698dbc1e6a899827b2a8a4bc985651fb7b0adf/dumbdown-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8c65d194cf600f9a0d6039fcd1810450", "sha256": "7efde80639785a3688a756710ea5da0a9a81d82a10098bf0a9615195a42d6ff1" }, "downloads": -1, "filename": "dumbdown-1.0.0.tar.gz", "has_sig": false, "md5_digest": "8c65d194cf600f9a0d6039fcd1810450", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.7", "size": 3789, "upload_time": "2019-02-18T19:34:56", "url": "https://files.pythonhosted.org/packages/14/8e/a3678cf2f73c101d21e853bb8b726d20c69458e8f7c0e14d169a9847af22/dumbdown-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "c4f4feddf593c4302882d8847ee7881f", "sha256": "cedff5c0ce3e409b6baad3f466cb4bbfeec0e2f51f50ae71ea956b3c64af2a09" }, "downloads": -1, "filename": "dumbdown-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c4f4feddf593c4302882d8847ee7881f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">= 3.7", "size": 7802, "upload_time": "2019-02-18T20:45:48", "url": "https://files.pythonhosted.org/packages/e6/1d/168fca1650bc0e122a2e2915cf853f19b0b5602475dbc1d9037f5295cd02/dumbdown-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7b8a0354c59d34852059649bcf6e32cc", "sha256": "2d5f5bca5e0a39501800e17937dce7cbbb2aa7e40063eb3f6d67ca9c14e66565" }, "downloads": -1, "filename": "dumbdown-1.0.1.tar.gz", "has_sig": false, "md5_digest": "7b8a0354c59d34852059649bcf6e32cc", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.7", "size": 3793, "upload_time": "2019-02-18T20:45:50", "url": "https://files.pythonhosted.org/packages/5d/25/561c8987f2df94fbfa16ab6756678cb59401bc9d6c3c779f1104d42610de/dumbdown-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "d762cef55327df3943ad97de76ef8ff5", "sha256": "5e6fd59824417c4e45151cfd6acfbcaaf9881d38c8375b4743fbdd5d637d5bd5" }, "downloads": -1, "filename": "dumbdown-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "d762cef55327df3943ad97de76ef8ff5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">= 3.7", "size": 7872, "upload_time": "2019-02-19T17:00:17", "url": "https://files.pythonhosted.org/packages/18/cb/11a484f48e989466e485661b6b5ad0560533e086a56a469ba8eb03b700b8/dumbdown-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2d1f889c015f874ef6154eef3055320e", "sha256": "ed6c3703dc1746085e996c1a903221d2b38a1fbf0ae7260e70c72e4f64536aab" }, "downloads": -1, "filename": "dumbdown-1.0.2.tar.gz", "has_sig": false, "md5_digest": "2d1f889c015f874ef6154eef3055320e", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.7", "size": 3655, "upload_time": "2019-02-19T17:00:19", "url": "https://files.pythonhosted.org/packages/61/0c/3b101bc59ebd8859c0380c9fde8a237db379144f3eb481050023a0542bc7/dumbdown-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "cefbf0a43ed9fdae13040d1494f00176", "sha256": "fd16a377e4db0ac0a64a8622b7d134e1870299cf6f97e63a87be0311de323509" }, "downloads": -1, "filename": "dumbdown-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "cefbf0a43ed9fdae13040d1494f00176", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">= 3.7", "size": 9700, "upload_time": "2019-02-19T18:45:59", "url": "https://files.pythonhosted.org/packages/5d/dd/c109532c2f0b97c06e8240e7e70b8b2f438f36590925ae307ed6d947b3c7/dumbdown-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "77b9b4e5819084bd635648db9036f5ff", "sha256": "1bc5c03ea2f81f733a8130d8542632b03524a50a29e787ea38bf633ae2a49625" }, "downloads": -1, "filename": "dumbdown-1.0.3.tar.gz", "has_sig": false, "md5_digest": "77b9b4e5819084bd635648db9036f5ff", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.7", "size": 4087, "upload_time": "2019-02-19T18:46:01", "url": "https://files.pythonhosted.org/packages/75/fe/6143fbb594d7ddc893ec4e0c7ded8440b18b51c30a84d30a232ffea3d561/dumbdown-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "8943d88420564e68cf8c3d0e23f5171d", "sha256": "434c68308bc8073278ae0fc5c1c5ba63a0f520003dd42eab878067e8ebf2a242" }, "downloads": -1, "filename": "dumbdown-1.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "8943d88420564e68cf8c3d0e23f5171d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">= 3.7", "size": 4519, "upload_time": "2019-02-20T21:40:20", "url": "https://files.pythonhosted.org/packages/0b/14/9da9f3d4bcf2c003d9be64d2ce79e6a0b021dc4d624ac9abec171818657e/dumbdown-1.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fd3f32105682d9d6b5d0303cd12d2763", "sha256": "d02c908fc9d5e4a4ea66075ab2ada7bcf82550b235d7c9bd3ea74a3cbcf21dbd" }, "downloads": -1, "filename": "dumbdown-1.0.4.tar.gz", "has_sig": false, "md5_digest": "fd3f32105682d9d6b5d0303cd12d2763", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.7", "size": 4104, "upload_time": "2019-02-20T21:40:21", "url": "https://files.pythonhosted.org/packages/f8/49/8e681efa5767fd78a401f90206cd3ff5f90b10335f0638cd45af78d5186d/dumbdown-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "e0be1c08d27c0b94a9a75405b361c859", "sha256": "ae72279d22a48271a2fc68212c8e5cd09bb3898f93135235c8c16c96dd1d98c7" }, "downloads": -1, "filename": "dumbdown-1.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "e0be1c08d27c0b94a9a75405b361c859", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">= 3.7", "size": 4668, "upload_time": "2019-05-23T23:53:48", "url": "https://files.pythonhosted.org/packages/24/70/832f7e1fd5d7540aa07058d188bb473fc459402d77f9575da6d80f4eedeb/dumbdown-1.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "998e5f26472a6be0d9d60648b961face", "sha256": "33b755e3d3fa3df25db1cffaa13b94c6f08b41312ee78eee2d91dc13ab1c86f1" }, "downloads": -1, "filename": "dumbdown-1.0.5.tar.gz", "has_sig": false, "md5_digest": "998e5f26472a6be0d9d60648b961face", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.7", "size": 4268, "upload_time": "2019-05-23T23:54:00", "url": "https://files.pythonhosted.org/packages/7b/0c/872278715d51306057df1429c50fd4e1913520931ee374e563dfcc8b9741/dumbdown-1.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e0be1c08d27c0b94a9a75405b361c859", "sha256": "ae72279d22a48271a2fc68212c8e5cd09bb3898f93135235c8c16c96dd1d98c7" }, "downloads": -1, "filename": "dumbdown-1.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "e0be1c08d27c0b94a9a75405b361c859", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">= 3.7", "size": 4668, "upload_time": "2019-05-23T23:53:48", "url": "https://files.pythonhosted.org/packages/24/70/832f7e1fd5d7540aa07058d188bb473fc459402d77f9575da6d80f4eedeb/dumbdown-1.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "998e5f26472a6be0d9d60648b961face", "sha256": "33b755e3d3fa3df25db1cffaa13b94c6f08b41312ee78eee2d91dc13ab1c86f1" }, "downloads": -1, "filename": "dumbdown-1.0.5.tar.gz", "has_sig": false, "md5_digest": "998e5f26472a6be0d9d60648b961face", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.7", "size": 4268, "upload_time": "2019-05-23T23:54:00", "url": "https://files.pythonhosted.org/packages/7b/0c/872278715d51306057df1429c50fd4e1913520931ee374e563dfcc8b9741/dumbdown-1.0.5.tar.gz" } ] }