{ "info": { "author": "CTPUG", "author_email": "ctpug@googlegroups.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "mdx_variables\n=============\n\n|variables-ci-badge|\n\n.. |variables-ci-badge| image:: https://travis-ci.org/CTPUG/mdx_variables.png?branch=master\n :alt: Travis CI build status\n :scale: 100%\n :target: https://travis-ci.org/CTPUG/mdx_variables\n\nA Markdown extension to add support for variables.\n\nLicensed under the `ISC License`_.\n\n.. _ISC License: https://github.com/CTPUG/mdx_variables/blob/master/LICENSE\n\n\nRequirements\n============\n\nThe mdx_variables plugin requires only the base `markdown`_ library.\n\n.. _markdown: http://pythonhosted.org/Markdown/\n\n\nInstallation\n============\n\nInstall with ``pip install mdx_variables``.\n\n\nDocumentation\n=============\n\nAllows inserting variables into Markdown.\n\nThe following Markdown example:\n\n.. code:: markdown\n\n This paragraph contains ${chickens} chickens.\n\n This paragraph contains no chickens but ${foxes} foxes.\n\n Are there ninjas here? ${ninjas}.\n\nMight result in:\n\n.. code:: markdown\n\n This paragraph contains 5 chickens.\n\n This paragraph contains no chickens but 3 foxes.\n\n Are there ninjas here? ninjas not found.\n\n\nPython usage:\n\n.. code:: python\n\n md = markdown.Markdown(\n extensions=[\n 'variables',\n ],\n extension_configs={\n 'variables': {\n 'vars': {\n 'chickens': '5',\n 'foxes': (lambda: 3),\n '__getattr__': (lambda name: \"{} not found\".format(name)),\n },\n }\n })\n\nConfiguration options:\n\n* ``vars``: A dictionary mapping variable names to variable values.\n\n If a value is a function, that function will be called without arguments and\n the result will be used as the variable value.\n\n The special variable ``__getattr__`` may specify a function\n ``f(name) -> value`` to call when no matching variable is found.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/CTPUG/mdx_variables", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "mdx-variables", "package_url": "https://pypi.org/project/mdx-variables/", "platform": "", "project_url": "https://pypi.org/project/mdx-variables/", "project_urls": { "Homepage": "http://github.com/CTPUG/mdx_variables" }, "release_url": "https://pypi.org/project/mdx-variables/0.2/", "requires_dist": null, "requires_python": "", "summary": "A variables extension for Markdown", "version": "0.2" }, "last_serial": 4324839, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "08a049cdda62359ef2e6e6a8db001f17", "sha256": "20c6ccb1fe14c5a48dcb72a31b81627687d695e9918d1e9b03675ff4676c584a" }, "downloads": -1, "filename": "mdx_variables-0.1.0.tar.gz", "has_sig": false, "md5_digest": "08a049cdda62359ef2e6e6a8db001f17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4724, "upload_time": "2017-07-23T22:02:10", "url": "https://files.pythonhosted.org/packages/d1/c4/5e90d7583a20e0930a504dd5b3542e0a138d976c07ed3f8898c46251ca21/mdx_variables-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "376d745a5526596a5f6d0f087fa78aac", "sha256": "e5b2d214a692d7fc1b2bbc9e9598882fcda96e89e10bea3464a9acb7e2f7599c" }, "downloads": -1, "filename": "mdx_variables-0.1.1.tar.gz", "has_sig": false, "md5_digest": "376d745a5526596a5f6d0f087fa78aac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4726, "upload_time": "2017-07-23T22:18:24", "url": "https://files.pythonhosted.org/packages/27/d9/24293b4818b3580bfd07c5e78e39cf8e5f817668f78de25f338fbf1a9043/mdx_variables-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "6bb99c3ea0344ef820e03c8d887e59c6", "sha256": "f5e5c7da976c7509645fe282bceea724a52672248b5eb7c9702e665415d06238" }, "downloads": -1, "filename": "mdx-variables-0.1.2.tar.gz", "has_sig": false, "md5_digest": "6bb99c3ea0344ef820e03c8d887e59c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4735, "upload_time": "2017-07-23T22:42:35", "url": "https://files.pythonhosted.org/packages/24/60/d40a37ad5af971c461919894a5fde2a1ed28f6a92702ab378c9c1b9b4c1a/mdx-variables-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "5df2cc449c5118529a53e1c5fcba4bda", "sha256": "53a2d008487b151f825a5f1072c58cf6ffb9ca7106218374e3775f134030082b" }, "downloads": -1, "filename": "mdx-variables-0.1.3.tar.gz", "has_sig": false, "md5_digest": "5df2cc449c5118529a53e1c5fcba4bda", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4746, "upload_time": "2017-07-24T16:55:23", "url": "https://files.pythonhosted.org/packages/e4/a3/50de2f8fb65a70c9211de5343c4db49819e6531f2538e8dcb93a6e3da87b/mdx-variables-0.1.3.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "fb0d4bf2b503f37c42bac61eafa38ba2", "sha256": "2cc60b3f4a25a37994e253f57f10d1323e32a28f3eebe0ae06da2c10d8f6c56c" }, "downloads": -1, "filename": "mdx-variables-0.2.tar.gz", "has_sig": false, "md5_digest": "fb0d4bf2b503f37c42bac61eafa38ba2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4688, "upload_time": "2018-09-30T11:55:33", "url": "https://files.pythonhosted.org/packages/bc/d8/e87dfdd2b83694886566bf584d8859f87e4c8b108cf6d922979713ea55cd/mdx-variables-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fb0d4bf2b503f37c42bac61eafa38ba2", "sha256": "2cc60b3f4a25a37994e253f57f10d1323e32a28f3eebe0ae06da2c10d8f6c56c" }, "downloads": -1, "filename": "mdx-variables-0.2.tar.gz", "has_sig": false, "md5_digest": "fb0d4bf2b503f37c42bac61eafa38ba2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4688, "upload_time": "2018-09-30T11:55:33", "url": "https://files.pythonhosted.org/packages/bc/d8/e87dfdd2b83694886566bf584d8859f87e4c8b108cf6d922979713ea55cd/mdx-variables-0.2.tar.gz" } ] }