{ "info": { "author": "Martin Mahner", "author_email": "martin@mahner.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": ".. image:: https://travis-ci.org/bartTC/django-markup.svg?branch=master\n :target: https://travis-ci.org/bartTC/django-markup\n\n.. image:: https://codecov.io/github/bartTC/django-markup/coverage.svg?branch=master\n :target: https://codecov.io/github/bartTC/django-markup?branch=master\n\n=============\ndjango-markup\n=============\n\nThis app is a generic way to provide filters that convert text into html.\n\nThe documentation is available at https://docs.elephant.house/django-markup/\n\nQuickstart\n==========\n\nDownload and install the package from the python package index (pypi)::\n\n $ pip install django-markup\n\nNote that `django-markup` ships with some filters ready to use, but the more\ncomplex packages such as Markdown or ReStructuredText are not part of the code.\nPlease refer the docs which packages are used for the built-in filter.\n\nAn alternative is to install django-markup with all filter dependencies\nright away. Do so with::\n\n $ pip install django-markup[all_filter_dependencies]\n\nThen add it to the ``INSTALLED_APPS`` list::\n\n INSTALLED_APPS = (\n ...\n 'django_markup',\n )\n\nUse it in the template::\n\n {% load markup_tags %}\n {{ the_text|apply_markup:\"markdown\" }}\n\nOr in Python code::\n\n from django_markup.markup import formatter\n formatter('Some *Markdown* text.', filter_name='markdown')\n\nTestsuite\n=========\n\nTo run the testsuite install the project with pipenv and run it::\n\n % pipenv install\n $ pipenv run ./runtests.py\n\nYou can also test against a variation of Django and Python versions\nusing tox::\n\n $ tox\n\nChangelog\n=========\n\nv1.4 (2019-03-15):\n------------------\n\n- Markdown's safe_mode was deprecated and no longer functional, it's behavior\n was replaced with bleach_.\n- Pipfile support for local development and general code cleanup.\n\n.. _bleach: https://github.com/mozilla/bleach\n\nv1.3 (2018-09-07):\n------------------\n\n- Python 3.6 and 3.7 compatibility and tests.\n- Django 2.0 and 2.1 compatibility and tests.\n- The package setup script now provides the ability to install all filter\n dependencies automatically. See the installation Readme for details.\n\nv1.2 (2017-03-18):\n------------------\n\n- Django 1.10 compatibility and tests.\n- Updated all filter dependencies. most notably SmartyPants to v2.0\n which changed it's API, so your project dependencies need to update it\n as well.\n\nv1.1 (2016-05-02):\n------------------\n\n- The Markdown filter has the ``safe_mode`` option enabled by default.\n- The RestructuredText filter has the file and raw content inclusion\n disabled by default.\n\nv1.0 (2016-01-02):\n------------------\n\n- Removed some 5 year old dust\n- Django 1.8+ compatible\n- Tests\n\nBackwards incompatible changes:\n\n- Removed Pygments highlighting in the Markdown and RestructuredText filter.\n- Removed CreoleParser library in favor of a pypi package.\n- Removed Lightbox filter.\n- The RestructuredText filter now renders level 1 and 2 headers.\n See Github `Issue 14`_ for details and a backwards compatible workaround.\n\nv0.4 (2011-06-01):\n------------------\n\n- Added a widont filter\n- MarkupField is South compatible.\n- Tested with Django 1.3\n\nv0.3 (2009-07-29):\n------------------\n\ndjango-markup now ships with a builtin creole parser. Advantage is, that\nthe recently used Creoleparser library needs the Genshi lib, which needs\na c-compiler and so on. The builtin creole parser is a pure python library\nwithout any dependencies and follows the wikicreole.org specifications.\ndjango-markup uses the `WikiCreole library`_.\n\n.. _WikiCreole library: http://devel.sheep.art.pl/creole/\n.. _Issue 14: https://github.com/bartTC/django-markup/issues/14\n\n\n", "description_content_type": "", "docs_url": "https://pythonhosted.org/django-markup/", "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bartTC/django-markup", "keywords": "django,markup,markdown,restructuredtext,format,text", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-markup", "package_url": "https://pypi.org/project/django-markup/", "platform": "", "project_url": "https://pypi.org/project/django-markup/", "project_urls": { "Homepage": "https://github.com/bartTC/django-markup" }, "release_url": "https://pypi.org/project/django-markup/1.4.1/", "requires_dist": [ "django (>=1.11)", "six", "textile (>=2.3.16); extra == 'all_filter_dependencies'", "smartypants (>=2.0.0); extra == 'all_filter_dependencies'", "docutils (>=0.14); extra == 'all_filter_dependencies'", "pygments (>=2.2.0); extra == 'all_filter_dependencies'", "markdown (>=2.6.9); extra == 'all_filter_dependencies'", "bleach (>=3.0); extra == 'all_filter_dependencies'", "bleach-whitelist (>=0.0.9); extra == 'all_filter_dependencies'", "python-creole (>=1.3.1); extra == 'all_filter_dependencies'", "pygments (>=2.2.0); extra == 'all_filter_dependencies'" ], "requires_python": "", "summary": "A generic Django application to convert text with specific markup to html.", "version": "1.4.1" }, "last_serial": 4944215, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "198cfd12a8908eec10b50b35681ddab7", "sha256": "d031af2dc1c81ef192b8dde2225daf0882ebd74b422803271f7ed83b8e7394e3" }, "downloads": -1, "filename": "django-markup-0.1.tar.gz", "has_sig": true, "md5_digest": "198cfd12a8908eec10b50b35681ddab7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19451, "upload_time": "2009-06-17T13:06:16", "url": "https://files.pythonhosted.org/packages/c8/1e/8b364c100819458227defdcff034b8343f2d6f29952cc740bddc21193094/django-markup-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "d9174a79c541f5036d8e4cffbf5e1e9d", "sha256": "457bf8794cb53929677309083db95c981abb49f9ae1e5c9b7ac715c332df54f8" }, "downloads": -1, "filename": "django-markup-0.2.tar.gz", "has_sig": true, "md5_digest": "d9174a79c541f5036d8e4cffbf5e1e9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19890, "upload_time": "2009-07-12T10:36:11", "url": "https://files.pythonhosted.org/packages/74/21/304380d8a46238e3cd9269b7d274d916f1b786ff8ce641589dc2b32186b1/django-markup-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "5ccf0359b2855c92f9a164887def712f", "sha256": "8e8dff8989fe245785023a85057366eea39ae5c45cd21b6b57eea83b95feddd6" }, "downloads": -1, "filename": "django-markup-0.3.tar.gz", "has_sig": true, "md5_digest": "5ccf0359b2855c92f9a164887def712f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 92641, "upload_time": "2009-07-29T20:33:12", "url": "https://files.pythonhosted.org/packages/2a/b3/b1a04bd882af46d5ff3987afff68dc1aea66728fa54555f0c0bc8fcd8ec5/django-markup-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "99f8422f7b1ab6653de6bc0a6f41ab80", "sha256": "94897eaee14909af80b38a1ffe400774762c100a04f3d0ca0205afb7d2fd3f90" }, "downloads": -1, "filename": "django-markup-0.4.tar.gz", "has_sig": false, "md5_digest": "99f8422f7b1ab6653de6bc0a6f41ab80", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 90273, "upload_time": "2011-06-02T17:57:41", "url": "https://files.pythonhosted.org/packages/5d/8e/490665da1209779cc3adc5b3e4223e6c0a8c8a3bff35c8bd913b12072048/django-markup-0.4.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "7043d689b8b92db6658b2597261a2772", "sha256": "da6b66e4b1c5e8f56ccecb2818bafbb7fa1037ce9817cec252fd3df5913bfe95" }, "downloads": -1, "filename": "django-markup-1.0.tar.gz", "has_sig": true, "md5_digest": "7043d689b8b92db6658b2597261a2772", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20365, "upload_time": "2016-02-02T13:19:52", "url": "https://files.pythonhosted.org/packages/a9/c3/90924f5236724215d7277e43fc84f70b4bce05614bf2b1877f1d5ec9730e/django-markup-1.0.tar.gz" } ], "1.0a1": [ { "comment_text": "", "digests": { "md5": "72effb55cfa4666de3cda30cf3be6fd2", "sha256": "724c0017635cbab266ea202511df110aea69e45751e77756a82a996da7214473" }, "downloads": -1, "filename": "django-markup-1.0a1.tar.gz", "has_sig": true, "md5_digest": "72effb55cfa4666de3cda30cf3be6fd2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20017, "upload_time": "2016-02-02T09:43:47", "url": "https://files.pythonhosted.org/packages/9e/dd/1eab49ee07f6ec6d7c2bb34ffee118a5e1748f2be17896e5ac4482ab6957/django-markup-1.0a1.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "ccec6072254e9f5e2cb48893cc33b40b", "sha256": "546b79eaa1e991ab5e7a08e1f307a1757f2bcac5c3b39056053c44f4f9cffafb" }, "downloads": -1, "filename": "django-markup-1.1.tar.gz", "has_sig": true, "md5_digest": "ccec6072254e9f5e2cb48893cc33b40b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21140, "upload_time": "2016-05-02T05:45:22", "url": "https://files.pythonhosted.org/packages/53/9c/dac96edcf04f02854fe876662ae513fcde802db9f930c12a66afbb1adb7e/django-markup-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "3c92609b5bbc3da855ab5392a8b16fbd", "sha256": "4ef5d268d9376253513f3a7897ac15da48795412b34c8c9c4b9ef0a472ff21b7" }, "downloads": -1, "filename": "django-markup-1.2.tar.gz", "has_sig": true, "md5_digest": "3c92609b5bbc3da855ab5392a8b16fbd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21986, "upload_time": "2017-03-18T12:05:07", "url": "https://files.pythonhosted.org/packages/2b/ab/c8d200bcb66dc82bd0e8c4c38078fb68256aa072502a9882dd5bd250d5b2/django-markup-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "6db42d5ae0a0f026c9c76f8762637936", "sha256": "825e6a64c2fd016485bc8fe8c288cd4e08022af8e01b3cd0f8871d89daf9a465" }, "downloads": -1, "filename": "django_markup-1.3-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "6db42d5ae0a0f026c9c76f8762637936", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15133, "upload_time": "2018-09-07T09:58:07", "url": "https://files.pythonhosted.org/packages/2e/66/8cc980bac5156c229e0b78b7393853fda6661e779f5bec7de303503c6fc6/django_markup-1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ed7a051e1aee76cd34770569eae111d6", "sha256": "3c8d5ba7edbaa214e9985ccee2bb593fa9cb4f749a476220b8c404c4ec935be5" }, "downloads": -1, "filename": "django-markup-1.3.tar.gz", "has_sig": true, "md5_digest": "ed7a051e1aee76cd34770569eae111d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23058, "upload_time": "2018-09-07T09:58:09", "url": "https://files.pythonhosted.org/packages/05/b6/17096be81dd2b2e4a0cdd1fed8c8d78ebd21b28f741daace6a132e5b072a/django-markup-1.3.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "56d04726aa37c229077e3104be562d17", "sha256": "4c960bbe46b0242d32b0dc3bae3aaa4a6d1808ce0b01910a190ea94262377049" }, "downloads": -1, "filename": "django_markup-1.4-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "56d04726aa37c229077e3104be562d17", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15384, "upload_time": "2019-03-15T12:09:03", "url": "https://files.pythonhosted.org/packages/de/c0/cd1b4bdff72fb866724ff9d8442634b21d691be43cf1ab7b838a60aa9502/django_markup-1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3ed050321a1ecfed2f8a9794aabd9c12", "sha256": "7c4519c8c4fd5be21798c29bbf21081ad4b86cbab391fab12c3650e8e5a72f01" }, "downloads": -1, "filename": "django-markup-1.4.tar.gz", "has_sig": true, "md5_digest": "3ed050321a1ecfed2f8a9794aabd9c12", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22915, "upload_time": "2019-03-15T12:09:05", "url": "https://files.pythonhosted.org/packages/03/86/2dbe77e816d57d3256c83b0c39840bd79cc899b07ff9e66dc6ac6cb92b1c/django-markup-1.4.tar.gz" } ], "1.4.1": [ { "comment_text": "", "digests": { "md5": "7cab73f769caaeafa0a9dec67d7a60ce", "sha256": "6edfadaa56d139f8dab3496a99f3bb54972057317a53099ecaefa76f9264bfa1" }, "downloads": -1, "filename": "django_markup-1.4.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "7cab73f769caaeafa0a9dec67d7a60ce", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15395, "upload_time": "2019-03-15T13:42:27", "url": "https://files.pythonhosted.org/packages/46/32/1c382d295fb45c34116e3705c7eb1d52533b08eee505d5c2ae35280e0615/django_markup-1.4.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "39e91081db1e9d10e8bc99e78191fdce", "sha256": "bd2ca1c61555d92d329bd5e8c237c938ffe8eabea02fe0ebbba093d4ec524f67" }, "downloads": -1, "filename": "django-markup-1.4.1.tar.gz", "has_sig": true, "md5_digest": "39e91081db1e9d10e8bc99e78191fdce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22900, "upload_time": "2019-03-15T13:42:29", "url": "https://files.pythonhosted.org/packages/7b/b6/9a306aa5ce38ea37afa3d63fd82c506ca3a3b44f46867d84781e2ec6aacc/django-markup-1.4.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7cab73f769caaeafa0a9dec67d7a60ce", "sha256": "6edfadaa56d139f8dab3496a99f3bb54972057317a53099ecaefa76f9264bfa1" }, "downloads": -1, "filename": "django_markup-1.4.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "7cab73f769caaeafa0a9dec67d7a60ce", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15395, "upload_time": "2019-03-15T13:42:27", "url": "https://files.pythonhosted.org/packages/46/32/1c382d295fb45c34116e3705c7eb1d52533b08eee505d5c2ae35280e0615/django_markup-1.4.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "39e91081db1e9d10e8bc99e78191fdce", "sha256": "bd2ca1c61555d92d329bd5e8c237c938ffe8eabea02fe0ebbba093d4ec524f67" }, "downloads": -1, "filename": "django-markup-1.4.1.tar.gz", "has_sig": true, "md5_digest": "39e91081db1e9d10e8bc99e78191fdce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22900, "upload_time": "2019-03-15T13:42:29", "url": "https://files.pythonhosted.org/packages/7b/b6/9a306aa5ce38ea37afa3d63fd82c506ca3a3b44f46867d84781e2ec6aacc/django-markup-1.4.1.tar.gz" } ] }