{ "info": { "author": "Matt Lenc", "author_email": "matt.lenc@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "django-pygmy\n============\n\ndjango-pygmy is a little app that colorizes source codez in your `Django `_ templates.\n\nIt uses `pygments `_ for prettify the codez.\n\n.. image:: https://travis-ci.org/mattack108/django-pygmy.png\n :target: https://travis-ci.org/mattack108/django-pygmy\n\nInstallation\n------------\n\nTo install ``django-pygmy``, simply run: ::\n\n pip install django-pygmy\n\nThen add the app to your ``INSTALLED_APPS``: ::\n\n INSTALLED_APPS = (\n ...,\n 'django_pygmy',\n )\n\nUsage\n-----\n\nRender the awesomeness in your template: ::\n\n {% load pygmy %}\n\n {% pygmy object.code %}\n\nIt also takes the same options as `HtmlFormatter `_ class: ::\n\n {% pygmy object.code nowrap='True' linenos='table' %}\n\nLexers\n------\n\nBy default ``django-pygmy`` tries to guess which lexer to use based on the provided code.\n\nIf you wish you can define any lexer of `Pygments lexers `_ like so: ::\n\n {% pygmy object.code lexer='python' %}\n\n\nDependencies\n^^^^^^^^^^^^\n\n- Python 2.6 - 3.3\n- Django 1.3 - 1.5\n- pygments >= 1.6", "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/mattack108/django-pygmy/", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-pygmy", "package_url": "https://pypi.org/project/django-pygmy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-pygmy/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mattack108/django-pygmy/" }, "release_url": "https://pypi.org/project/django-pygmy/0.1.5/", "requires_dist": null, "requires_python": null, "summary": "UNKNOWN", "version": "0.1.5" }, "last_serial": 774552, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "2b058cebe77e44f994e310003192651c", "sha256": "74745144431367032248926dee09ce032fb555049c97b8889af801ac3b2dffd4" }, "downloads": -1, "filename": "django-pygmy-0.1.tar.gz", "has_sig": false, "md5_digest": "2b058cebe77e44f994e310003192651c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2157, "upload_time": "2013-05-29T21:14:40", "url": "https://files.pythonhosted.org/packages/a2/e3/2618a50db10e3fd310fc92f1b9effee762ef10fdb8427ad50a0e8e0ef3b7/django-pygmy-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "c6c8f4c21c56921c7c39b7fd9fbc3454", "sha256": "3fee802550b357c1512b2113c518f91b002f7681ebd348655e1d8a35518897af" }, "downloads": -1, "filename": "django-pygmy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c6c8f4c21c56921c7c39b7fd9fbc3454", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2449, "upload_time": "2013-05-29T22:34:27", "url": "https://files.pythonhosted.org/packages/07/b9/3fe09e57398e06dc735cfcdcd8af9ab9f157771fa1863308648792ba1050/django-pygmy-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "32463984aacda611072c844a982ad1e6", "sha256": "53930d82ae5e907b0ff247cb92c7de55a6db45b4fc3b7ff8ab27a7e64e3a9b1e" }, "downloads": -1, "filename": "django-pygmy-0.1.2.tar.gz", "has_sig": false, "md5_digest": "32463984aacda611072c844a982ad1e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3115, "upload_time": "2013-06-05T22:34:59", "url": "https://files.pythonhosted.org/packages/41/70/07b1e06405fd892d94edaad0e71b61efe1f059600d3e3bde3fecb9ab81fb/django-pygmy-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "eceef70fe5270afe1990dbccdb26cc35", "sha256": "50881bdefed33ca3d38a4df9060a11bb83cc05e6072fa9eab956d774d09e0bd2" }, "downloads": -1, "filename": "django-pygmy-0.1.3.tar.gz", "has_sig": false, "md5_digest": "eceef70fe5270afe1990dbccdb26cc35", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3026, "upload_time": "2013-06-13T13:06:14", "url": "https://files.pythonhosted.org/packages/81/d1/54a06c5207426e3128b191f645a374193e42d81af65f51c4aca2fcf8af36/django-pygmy-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "1088521d4f0c98695929da01f381c7de", "sha256": "544fff5c7ffc2f6481c19dbb68f0326256fe658e57dd4b5dc1993b04f57e648f" }, "downloads": -1, "filename": "django-pygmy-0.1.4.tar.gz", "has_sig": false, "md5_digest": "1088521d4f0c98695929da01f381c7de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3071, "upload_time": "2013-06-13T13:18:39", "url": "https://files.pythonhosted.org/packages/6d/c0/b44f4baa3a68284d326c9918b8418e7ed433bb14e7c1d1b064d6308c416d/django-pygmy-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "9f78844d44a8c355dd9ed8f9d83d162c", "sha256": "d32a39cb80cf377d89e7a17e49b98f3daa3b8d443ccfa06946bb6bf333841ad1" }, "downloads": -1, "filename": "django-pygmy-0.1.5.tar.gz", "has_sig": false, "md5_digest": "9f78844d44a8c355dd9ed8f9d83d162c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3602, "upload_time": "2013-06-19T12:39:25", "url": "https://files.pythonhosted.org/packages/b8/80/efcf3a44c55d3afe3df6af9bc77050a7327ded21546f41517c77213b6f6c/django-pygmy-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9f78844d44a8c355dd9ed8f9d83d162c", "sha256": "d32a39cb80cf377d89e7a17e49b98f3daa3b8d443ccfa06946bb6bf333841ad1" }, "downloads": -1, "filename": "django-pygmy-0.1.5.tar.gz", "has_sig": false, "md5_digest": "9f78844d44a8c355dd9ed8f9d83d162c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3602, "upload_time": "2013-06-19T12:39:25", "url": "https://files.pythonhosted.org/packages/b8/80/efcf3a44c55d3afe3df6af9bc77050a7327ded21546f41517c77213b6f6c/django-pygmy-0.1.5.tar.gz" } ] }