{ "info": { "author": "Masashi Shibata", "author_email": "contact@c-bata.link", "bugtrack_url": null, "classifiers": [], "description": "django-pygments-renderer\n========================\n\nProvides functionality for syntax highlighting using `Pygments `_ .\n\n.. figure:: ./example.png\n\n\nInstallation\n------------\n\ndjango-pygments-renderer requires python 3.6 or later and Django 2.0 or later.\n\n.. code-block:: console\n\n $ python3 -m pip install django-pygments-renderer\n\n\nhttps://pypi.org/project/django-pygments-renderer/\n\nUsage\n-----\n\n.. code-block:: python\n\n INSTALLED_APPS += [\n 'pygments_renderer',\n ]\n\n\n.. code-block:: html\n\n {% load i18n %}\n {% load pygmentize %}\n \n \n {{ snippet.title}} - djangosnippets\n \n \n \n\n \n
\n

{{ snippet.title }} by {{ snippet.created_by.username }}

\n\n
\n {{ snippet.code|pygmentize:\"python3\" }}\n
\n\n
\n {{ snippet.description }}\n
\n
\n \n \n\n\nSimilar projects\n----------------\n\n* https://github.com/richardcornish/django-pygmentify\n* https://github.com/odeoncg/django-pygments\n* https://github.com/sniku/django-pygments\n\nDevelopment\n-----------\n\n* lint: ``tox -e flake8`` or ``flake8``\n* test: ``tox -e py37`` or ``DJANGO_SETTINGS_MODULE=test_settings python -m django test``\n\nLicense\n-------\n\nThis software is licensed under the MIT License (See `LICENSE <./LICENSE>`_ ).\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/c-bata/django-pygments-renderer", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-pygments-renderer", "package_url": "https://pypi.org/project/django-pygments-renderer/", "platform": "", "project_url": "https://pypi.org/project/django-pygments-renderer/", "project_urls": { "Homepage": "https://github.com/c-bata/django-pygments-renderer" }, "release_url": "https://pypi.org/project/django-pygments-renderer/0.0.1/", "requires_dist": [ "Django", "pygments" ], "requires_python": "", "summary": "Provides functionality for syntax highlighting using Pygments.", "version": "0.0.1" }, "last_serial": 5227572, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "deff8067984627276571f370ebd8bed6", "sha256": "de503a87162e6bd0241fe164018108c484ff7a904ecb5759087c31f91541c3b6" }, "downloads": -1, "filename": "django_pygments_renderer-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "deff8067984627276571f370ebd8bed6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3934, "upload_time": "2019-05-05T05:39:22", "url": "https://files.pythonhosted.org/packages/f5/bc/8de080c5094143ce2ecb06b6fa9886bdec49c166ca68607510c775a1f35d/django_pygments_renderer-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f8ed9aaf18958d4d0b82973b88f6c621", "sha256": "b5548e94ea13271b87d2425768ec76f8062ea62032191999dbbe227a72cc1259" }, "downloads": -1, "filename": "django-pygments-renderer-0.0.1.tar.gz", "has_sig": false, "md5_digest": "f8ed9aaf18958d4d0b82973b88f6c621", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3090, "upload_time": "2019-05-05T05:39:24", "url": "https://files.pythonhosted.org/packages/64/91/84a73b7f112af7ba11dcd24e14aa4e4ff02d3bedcd0b1a2b4c36a84b9c1e/django-pygments-renderer-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "deff8067984627276571f370ebd8bed6", "sha256": "de503a87162e6bd0241fe164018108c484ff7a904ecb5759087c31f91541c3b6" }, "downloads": -1, "filename": "django_pygments_renderer-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "deff8067984627276571f370ebd8bed6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3934, "upload_time": "2019-05-05T05:39:22", "url": "https://files.pythonhosted.org/packages/f5/bc/8de080c5094143ce2ecb06b6fa9886bdec49c166ca68607510c775a1f35d/django_pygments_renderer-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f8ed9aaf18958d4d0b82973b88f6c621", "sha256": "b5548e94ea13271b87d2425768ec76f8062ea62032191999dbbe227a72cc1259" }, "downloads": -1, "filename": "django-pygments-renderer-0.0.1.tar.gz", "has_sig": false, "md5_digest": "f8ed9aaf18958d4d0b82973b88f6c621", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3090, "upload_time": "2019-05-05T05:39:24", "url": "https://files.pythonhosted.org/packages/64/91/84a73b7f112af7ba11dcd24e14aa4e4ff02d3bedcd0b1a2b4c36a84b9c1e/django-pygments-renderer-0.0.1.tar.gz" } ] }