{ "info": { "author": "Jason Madden", "author_email": "jason@nextthought.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "======================\n nti.nikola_chameleon\n======================\n\n.. image:: https://img.shields.io/pypi/v/nti.nikola_chameleon.svg\n :target: https://pypi.python.org/pypi/nti.nikola_chameleon/\n :alt: Latest release\n\n.. image:: https://img.shields.io/pypi/pyversions/nti.nikola_chameleon.svg\n :target: https://pypi.org/project/nti.nikola_chameleon/\n :alt: Supported Python versions\n\n.. image:: https://travis-ci.org/NextThought/nti.nikola_chameleon.svg?branch=master\n :target: https://travis-ci.org/NextThought/nti.nikola_chameleon\n\n.. image:: https://coveralls.io/repos/github/NextThought/nti.nikola_chameleon/badge.svg?branch=master\n :target: https://coveralls.io/github/NextThought/nti.nikola_chameleon?branch=master\n\n.. image:: https://readthedocs.org/projects/ntinikola_chameleon/badge/?version=latest\n :target: https://ntinikola_chameleon.readthedocs.io/en/latest/\n :alt: Documentation Status\n\nAn extremely flexible template system for the `Nikola\n`_ static blog system using\n`Chameleon `_, `z3c.pt\n`_ and `z3c.macro\n`_\n\nA basic template using this system is available in `base-chameleon\n`_,\nand an extension of that using bootstrap3 is available in\n`bootstrap3-chameleon\n`_.\n\nDocumentation is hosted at https://ntinikola_chameleon.readthedocs.io/\n\nInstallation\n============\n\nNikola uses a `custom mechanism `_\nto find plugins instead of using the usual ``pkg_resources`` system.\nThat makes it *incredibly* difficult to install plugins; it's not enough\njust to ``pip install`` a package from PyPI. Instead, you must *also*\ncopy a ``.plugin`` file to a particular location on disk. This can be:\n\n- ~/.nikola/plugins/\n- The ``plugins`` directory of your Nikola site.\n\nBeside that '.plugin' file there must also be a '.py' file of the same\nname that the plugin lists as a module (yes, even though the plugin file\nspecifically requests a Python module, yapsy requires that it be a\nfile or directory beside the plugin file---so not really a module).\n\nIt's ridiculous to require everyone to copy plugins into their plugin\nfolder (they're not even correctly on ``sys.path``, meaning that\nzope.configuration and many other tools won't work) and we don't plan\nto let Nikola do that automatically (we're not on the Nikola plugin\nindex and won't be until they let us do standard installs), so the\nbest we can do is attempt to workaround yapsy's limitations.\n\nInto your site's plugin directory, place the following .py file::\n\n # nti_nikola_chameleon.py\n from nti.nikola_chameleon import *\n\n\nBeside that, you'll need a ``nti.nikola_chameleon.plugin`` file::\n\n # -*- mode: conf; -*-\n [Core]\n Name = nti.nikola_chameleon\n Module = nti_nikola_chameleon\n\n [Documentation]\n Author = NextThought\n Version = 1.0\n Website = https://github.com/NextThought/nti.nikola_chameleon\n Description = Support for Chameleon ZPT templates.\n\n [Nikola]\n PluginCategory = Template\n\n\n=========\n Changes\n=========\n\n1.0.0 (2018-05-26)\n==================\n\n- Posts that have a true value for ``has_math`` will now implement\n the ``IMathJaxPost`` interface when used as the context.\n- Index pages that have any posts using MathJax will now have a\n context object that implements ``IMathJaxPostList``.\n- Add a view for getting CSS data. Currently it has\n ``context/@@post_css/pagekind_class``.\n- Update to Nikola 8; drop support for Python 2.7.\n- Add ``interfaces.IRootPage`` which is added to pages for which the\n metadata field ``nti-extra-page-kind`` is set to ``root``.\n- Make the ``featured`` list available to all pages, not just index\n pages. Together with the IRootPage this can be used to promote blog\n posts to the root index.html.\n- Add ``embedded_content`` to the ``@@post_text`` view.\n- Initial support for template-based shortcodes. See\n https://github.com/NextThought/nti.nikola_chameleon/issues/5\n\n0.0.1a2 (2017-10-14)\n====================\n\n- Map the Nikola ``messages`` function onto the native ``i18n``\n functionality of Chamleon. Attributes like ``i18n:translate`` are\n now preferred to explicit calls to ``options/messages`` when\n possible.\n\n- Add support for viewlets. Several default viewlet managers are\n supplied, and a ZCML directive ```` is\n provided so themes can create new viewlet managers::\n\n \n \n\n- Add a path adapter to easily get formatted dates from a post, either\n a static format (``post/formatted_date:webiso``) or dynamically from\n a variable (``post/formatted_date:?date_format``).\n\n- Add a view to get the text of a post, respecting teaser settings:\n ``post/@@post_text/content``.\n\n- Move feed support to a ``@@feeds`` view for headers, and a viewlet\n for body::\n\n \n\n- Add a view interface (``ICommentKind``) for comment systems. Only Disqus is\n currently supported. Note that this may move in the future to be a layer.\n\n0.0.1a1 (2017-10-09)\n====================\n\n- Preliminary PyPI release. While this package is functional, it is\n not yet documented sufficiently to be of general use. It is also not\n expected to be fully stable.\n\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/NextThought/nti.nikola_chameleon", "keywords": "nikola chameleon template blog static", "license": "Apache", "maintainer": "", "maintainer_email": "", "name": "nti.nikola-chameleon", "package_url": "https://pypi.org/project/nti.nikola-chameleon/", "platform": "", "project_url": "https://pypi.org/project/nti.nikola-chameleon/", "project_urls": { "Homepage": "https://github.com/NextThought/nti.nikola_chameleon" }, "release_url": "https://pypi.org/project/nti.nikola-chameleon/1.0.0/", "requires_dist": [ "setuptools", "Chameleon", "z3c.pt", "z3c.macro", "z3c.template", "z3c.ptcompat", "zope.browserpage", "zope.interface", "zope.dottedname", "zope.viewlet", "nikola (>=8.0.0b2)", "Sphinx; extra == 'docs'", "repoze.sphinx.autointerface; extra == 'docs'", "sphinx-rtd-theme; extra == 'docs'", "nti.testing; extra == 'test'", "zope.testrunner; extra == 'test'" ], "requires_python": ">=3.5", "summary": "NTI Nikola Chameleon", "version": "1.0.0" }, "last_serial": 4419420, "releases": { "0.0.1a1": [ { "comment_text": "", "digests": { "md5": "1af42576cdc0322eb25b9a14e2ef0b33", "sha256": "dd209442173163a2525a6c8d6ac7e794d1a8dfe63c26d7613c5396879af3aa5f" }, "downloads": -1, "filename": "nti.nikola_chameleon-0.0.1a1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1af42576cdc0322eb25b9a14e2ef0b33", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16951, "upload_time": "2017-10-09T13:06:50", "url": "https://files.pythonhosted.org/packages/2c/0b/4967751804925703359ed90c13fbffb0f71d81eaaf429aa1392338671f58/nti.nikola_chameleon-0.0.1a1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "14f6f653dfbc942bb64098000591047d", "sha256": "b28a10beaedb07ea2c8af158e0cc2918496979257d348d70a57aa6331e4419c9" }, "downloads": -1, "filename": "nti.nikola_chameleon-0.0.1a1.tar.gz", "has_sig": false, "md5_digest": "14f6f653dfbc942bb64098000591047d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16046, "upload_time": "2017-10-09T13:06:52", "url": "https://files.pythonhosted.org/packages/e4/f3/e6c364c0edce4bb576b1c5bbf19969c5b1ea76995d12c4aab482d6c75eeb/nti.nikola_chameleon-0.0.1a1.tar.gz" } ], "0.0.1a2": [ { "comment_text": "", "digests": { "md5": "8a4b03f637e98733be5364d246ec87ec", "sha256": "13e4f7d1170ed1b872561fd093859e7a9d8da25621c4a838efdf46a8c0f02afd" }, "downloads": -1, "filename": "nti.nikola_chameleon-0.0.1a2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8a4b03f637e98733be5364d246ec87ec", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 698242, "upload_time": "2017-10-14T12:27:15", "url": "https://files.pythonhosted.org/packages/96/28/38a494538c683dd2ea5e5a105bd71054b998662c00249eca77cb5f85c235/nti.nikola_chameleon-0.0.1a2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4d9ab7ecb06c5097f91cd17c499657f2", "sha256": "5c9523465425c87e0f6d81d460b6b466426f433e711288927be25200918ba253" }, "downloads": -1, "filename": "nti.nikola_chameleon-0.0.1a2.tar.gz", "has_sig": false, "md5_digest": "4d9ab7ecb06c5097f91cd17c499657f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 679778, "upload_time": "2017-10-14T12:27:18", "url": "https://files.pythonhosted.org/packages/3a/35/47dc69c049c3e565617147ef17d61a62ec029663469676e97cdc3c399e0c/nti.nikola_chameleon-0.0.1a2.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "937ae94c91cf75daefbb69428dddfd4e", "sha256": "af6799eb5cf4fea785d7f932a1fa8b0d11821eee3b041af75379c338dfad5641" }, "downloads": -1, "filename": "nti.nikola_chameleon-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "937ae94c91cf75daefbb69428dddfd4e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 700268, "upload_time": "2018-05-26T12:21:58", "url": "https://files.pythonhosted.org/packages/56/9e/048529510de8c54b7dcfdc4259fe13d09a9e589af51400594fe00b403d29/nti.nikola_chameleon-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "124017e4f3594e50baa713eff0cb5f8b", "sha256": "38be101a6c5b5f9d810c54be44fc338903595da691e3bfbe152bab65d5b26736" }, "downloads": -1, "filename": "nti.nikola_chameleon-1.0.0.tar.gz", "has_sig": false, "md5_digest": "124017e4f3594e50baa713eff0cb5f8b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 685563, "upload_time": "2018-05-26T12:22:00", "url": "https://files.pythonhosted.org/packages/88/32/e2e34a25a68439e62ce7073fedfceb0696642682cca74606a266ed053161/nti.nikola_chameleon-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "937ae94c91cf75daefbb69428dddfd4e", "sha256": "af6799eb5cf4fea785d7f932a1fa8b0d11821eee3b041af75379c338dfad5641" }, "downloads": -1, "filename": "nti.nikola_chameleon-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "937ae94c91cf75daefbb69428dddfd4e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 700268, "upload_time": "2018-05-26T12:21:58", "url": "https://files.pythonhosted.org/packages/56/9e/048529510de8c54b7dcfdc4259fe13d09a9e589af51400594fe00b403d29/nti.nikola_chameleon-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "124017e4f3594e50baa713eff0cb5f8b", "sha256": "38be101a6c5b5f9d810c54be44fc338903595da691e3bfbe152bab65d5b26736" }, "downloads": -1, "filename": "nti.nikola_chameleon-1.0.0.tar.gz", "has_sig": false, "md5_digest": "124017e4f3594e50baa713eff0cb5f8b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 685563, "upload_time": "2018-05-26T12:22:00", "url": "https://files.pythonhosted.org/packages/88/32/e2e34a25a68439e62ce7073fedfceb0696642682cca74606a266ed053161/nti.nikola_chameleon-1.0.0.tar.gz" } ] }