{ "info": { "author": "Malthe Borch", "author_email": "mborch@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: BFG", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP" ], "description": "Overview\n========\n\n.. role:: mod(emphasis)\n.. role:: term(emphasis)\n\nThis package provides a simple framework to integrate code with\ntemplates and resources.\n\nSee full documentation at:\nhttp://packages.python.org/pyramid_skins/.\n\nAbout\n-----\n\nThe package is written and maintained by `Malthe Borch\n`_ and `Stefan Eletzhofer\n`_. Available *as is* under the BSD\nlicense.\n\nTo contribute or get support for this package, please visit the\n``#pyramid`` channel on Freenode IRC or write to the `pylons\nmailinglist `_.\n\n\nChangelog\n=========\n\n2.1 (2017-01-30)\n----------------\n\n- Fix packaging issues of 2.0 release.\n [fschulze]\n\n\n2.0 (2017-01-30)\n----------------\n\n- Fix compatibility with Pyramid 1.6 and newer. If you relied on using the\n descriptor feature of SkinObject, you now have to use BindableSkinObject\n instead.\n [fschulze]\n\n- Support Python 3.\n [fschulze]\n\n\n1.2 (2014-09-23)\n----------------\n\n- We are compatible with Pyramid 1.3 and up.\n [fschulze]\n\n- Make pyramid_zcml optional.\n [fschulze]\n\n- Fix skin reloading.\n [fschulze]\n\n\n1.1 (2013-05-15)\n----------------\n\n- Fixed Pyramid 1.4 compatibility.\n [malthe]\n\n- Chameleon's ``ProxyExpr`` is now a TALES-expression, and supports\n the pipe operator. We'll use it if it's available.\n\n1.0 (2012-01-04)\n----------------\n\n- Fixed issue where an incorrect component registry was used to look\n up skin components.\n\n- Fix Pyramid 1.2/1.3 compatibility.\n [amleczko]\n\n- Ported to Pyramid framework.\n\n0.22 (2011-04-07)\n-----------------\n\n- Fix skin reloading for request-specific skins.\n\n0.21 (2011-04-01)\n-----------------\n\n- Allow request-specific skin registration (using the ``request_type``\n parameter to the skins directive). The request is retrieved from the\n thread-local manager at lookup-time.\n\n- Add imperative configuration utility method.\n\n0.20 (2009-12-14)\n-----------------\n\n- Compatibility fixes for BFG 1.2.\n\n0.19 (2009-11-27)\n-----------------\n\n- Use the ``MacFSEvents`` module instead of ``pyfsevents``.\n\n0.18 (2009-11-26)\n-----------------\n\n- Added discovery support (Mac OS X and Linux).\n\n- Allow hyphens in the skin expression translator.\n\n- Do not set charset on binary responses.\n\n- Add content length to static responses.\n\n0.17 (2009-11-16)\n-----------------\n\n- Skin objects used as descriptors now pass on the class instance\n dict as the keyword argument dictionary.\n\n- Skin templates may now be used as macros.\n\n- Make sure expression syntax is correct.\n\n0.16 (2009-11-14)\n-----------------\n\n- Acquisition-like skin object lookup from within templates,\n e.g. ``skin: main_template`` will try to acquire the object from\n the current skin object path (if applicable), while ``skin:\n /main_template`` will always use an absolute (direct) lookup.\n\n0.15 (2009-11-12)\n-----------------\n\n- Make ``name`` attribute public.\n\n- Normalize path (ZCML does this, but we might be used\n imperatively).\n\n- Raise runtime-error if view is attempted registered for unknown\n skin object (should never happen, but did because of an internal\n bug).\n\n0.14 (2009-11-09)\n-----------------\n\n- Look up skin object on call if object has not been resolved.\n\n- Added index view registration option.\n\n- Use ``Chameleon`` egg.\n\n- Pin package versions for testing.\n\n0.13 (2009-10-30)\n-----------------\n\n- Rewrite. Backwards-compatibility broken.\n\n Migration path:\n\n Skins registration directive renamed to .\n\n To register views for skin objects, the directive\n should be used inside a declaration. See\n documentation.\n\n Previous users should consult documentation for more information.\n\n- Made compatible with repoze.bfg 1.1a4.\n\n- Disuse ``component.adapts`` (unuseable in any BFG app), to make\n compatible with repoze.bfg 1.1a6+.\n\n0.12 (2009-02-12)\n-----------------\n\n- Added convenience method ``get_skin_template_view``. [malthe]\n\n- The ``get_skin_template`` method now accepts an optional\n ``request_type`` parameter, which takes priority in\n adaptation. [malthe]\n\n- The ``provides`` parameter has been retired; instead, a ``class``\n parameter may be provided. By default this is set to the\n ``SkinTemplate`` class; to register a view, simply set it to\n ``SkinTemplateView`` (full module path required). [malthe]\n\n0.11 (2009-02-09)\n-----------------\n\n- View permission is now only registered if a view must be\n provided. [malthe]\n\n- Multiple interfaces may be specified as ``provides``. [malthe]\n\n0.10 (2009-01-28)\n-----------------\n\n- Added parameter ``content_type`` which will set the content type\n of the view response. [malthe]\n\n- Added ``macros`` attribute to the template object. [malthe]\n\n0.9 (2008-12-05)\n----------------\n\n- Updated signatures for skin template factory lookup\n functions. [malthe]\n\n- Added support for skin api methods. [malthe]\n\n0.8 (2008-12-05)\n----------------\n\n- Provide ``ISkinMacro`` unless ``provides`` is set; however, always\n provide ``ISkinTemplate``. Meanwhile, the macro accessor looks\n only for skin templates registered for the ``ISkinMacro``\n interface. [malthe]\n\n0.7 (2008-12-04)\n----------------\n\n- If ``provides`` is set, do not automatically provide the\n ``ISkinTemplate`` interface as well; this behavior made it\n difficult to program cascading rendering schemes. [malthe]\n\n- Keyword-arguments are now accepted by the utility methods for\n rendering skin templates using Python. [malthe]\n\n- Added security assertions to macro rendering function to prevent\n infinite loop if a template tries to render itself. [malthe]\n\n0.6 (2008-12-03)\n----------------\n\n- Do not register macro components separately, but make them\n available from the ``macro`` attribute of a skin\n template. [malthe]\n\n0.5 (2008-12-03)\n----------------\n\n- Added component lookup scheme for the bound skin template object\n which makes skin API components available using ``get_``\n where is the component name. [malthe]\n\n- Restructured package and changed look up scheme for skin APIs and\n macros. A symbol ``template`` is now available to skin templates;\n from this object, methods ``get_api`` and ``get_macro`` can be\n used to look up skin APIs and macros, respectively. [malthe]\n\n- Added render_skin_template_to_response and render_skin_template\n methods for general template rendering. [fairwinds]\n\n0.4 (2008-11-13)\n----------------\n\n- Added ``name`` attribute to skin template interface. [malthe]\n\n- No longer provide ``repoze.bfg.interfaces.IView`` by default; the\n ``provides`` attribute may now be used to specify an additional\n interface which the skin templates will provide. [malthe]\n\n0.3 (2008-10-29)\n----------------\n\n- Fix performance issue where template objects would be instantiated\n at every call. [malthe]\n\n- Pass keyword arguments to skin template callable. [malthe]\n\n- Instantiate page template directly. [malthe]\n\n0.2 (2008-10-03)\n----------------\n\n- Templates located in subdirectories are now named by replacing the\n operating system path separator with a forward slash symbol (often\n this will be the same character); before a dot '.' was\n used. [malthe]\n\n- Added Template API base class. [malthe]\n\n- Renamed ``IApi`` to ``ITemplateAPI``. [malthe]\n\n- Template API components should adapt (context, request, template),\n where ``template`` is the skin template object (such an API might\n need to provide access to the template file itself, in order to\n get a path to resources local to the template). [malthe]\n\n- Added ``render`` method to skin template class to allow rendering\n to a string instead of to a WebOb response. [malthe]\n\n- Renamed package to ``repoze.bfg.skins`` [seletz]\n\n- Added logic to allow registering and acquiring template API\n components from templates. [malthe]\n\n- Changed the Skin Template View to be a class, and added a minimal\n interface ISkinTemplate to access the template path [seletz]\n\n- Fixed a bug where we did not tear down the tests correctly\n [seletz]\n\n- Fixed bug where the INewRequest event handler would call templates\n when checking for their existence [seletz]\n\n0.1 (2008-09-25)\n----------------\n\n- Initial release [malthe]\n\n- Added support to dynamically register templates if they are added\n to a registered template directory [seletz]", "description_content_type": null, "docs_url": "https://pythonhosted.org/pyramid_skins/", "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://packages.python.org/pyramid_skins/", "keywords": "pyramid templates", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "pyramid_skins", "package_url": "https://pypi.org/project/pyramid_skins/", "platform": "", "project_url": "https://pypi.org/project/pyramid_skins/", "project_urls": { "Homepage": "http://packages.python.org/pyramid_skins/" }, "release_url": "https://pypi.org/project/pyramid_skins/2.1/", "requires_dist": null, "requires_python": "", "summary": "Templating framework for Pyramid.", "version": "2.1" }, "last_serial": 2607191, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "6c8563375dd10458227b1564729c9618", "sha256": "2e571d27c1d98f603634f8f248af5acc9e4d1e1d4f1f3bdfe6001ef2f57ee2b9" }, "downloads": -1, "filename": "pyramid_skins-1.0.tar.gz", "has_sig": false, "md5_digest": "6c8563375dd10458227b1564729c9618", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31195, "upload_time": "2012-01-04T14:43:54", "url": "https://files.pythonhosted.org/packages/a5/ef/f3436bee7dc82b049ef5e60b52428ee58cd75d545179b03ce42f35404df5/pyramid_skins-1.0.tar.gz" } ], "1.0-preview": [ { "comment_text": "", "digests": { "md5": "6579d50a6819048b832e652f769dc344", "sha256": "07f73aaeff8e9cbda0768076a01e3344c4cb32f2afba820214a3db8864e0f388" }, "downloads": -1, "filename": "pyramid_skins-1.0-preview.tar.gz", "has_sig": false, "md5_digest": "6579d50a6819048b832e652f769dc344", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30774, "upload_time": "2011-07-31T09:36:46", "url": "https://files.pythonhosted.org/packages/f7/94/dfb50716295d10170a315886ffe20d228f18c318f250e5ae7a221bae1518/pyramid_skins-1.0-preview.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "34e9bc00dfae49d6d824bd0e4a74c9ea", "sha256": "1c76a723455d6de5e3d10282e433851690bdd5626b8d714e2305fcae0df18185" }, "downloads": -1, "filename": "pyramid_skins-1.1.zip", "has_sig": false, "md5_digest": "34e9bc00dfae49d6d824bd0e4a74c9ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47215, "upload_time": "2014-08-25T08:13:48", "url": "https://files.pythonhosted.org/packages/c2/f1/7a9f949ca20d046b2def202bc04711842c4ec3a241f56e0d22415e4889d0/pyramid_skins-1.1.zip" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "4cc6596da28cc9d48a15d09d17af1199", "sha256": "7a9248e3561ea43841459e7be5a9a073015f71122f7419198af555da73410e7d" }, "downloads": -1, "filename": "pyramid_skins-1.2.zip", "has_sig": false, "md5_digest": "4cc6596da28cc9d48a15d09d17af1199", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 49261, "upload_time": "2014-09-23T11:42:08", "url": "https://files.pythonhosted.org/packages/0d/1a/ff5079c1cb240ed4f095730c9e48d52dab62a6a152d2ccf78181030127c8/pyramid_skins-1.2.zip" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "f8e41ddd1e44aa74ebcb663966575b8d", "sha256": "07099c1e82a70215223724734ad5937049d2401394782300bdd862fac94e8195" }, "downloads": -1, "filename": "pyramid_skins-2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f8e41ddd1e44aa74ebcb663966575b8d", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 19966, "upload_time": "2017-01-30T15:45:06", "url": "https://files.pythonhosted.org/packages/ce/74/706682f597e6c58912527ae2d9bdafc0f2b1bd03ede0a9f7f0ae3a12fab0/pyramid_skins-2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fc9ded1e50c59d75d528a0b01f997d83", "sha256": "02b99ebef4836d044e54b0ee4927676a31515d2fc1f626309855210ac4c708f1" }, "downloads": -1, "filename": "pyramid_skins-2.0.tar.gz", "has_sig": false, "md5_digest": "fc9ded1e50c59d75d528a0b01f997d83", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16761, "upload_time": "2017-01-30T15:45:03", "url": "https://files.pythonhosted.org/packages/2c/45/d3b6e1f78008915ba2b77628c6d3504d8dfc6fa7ea910152b43fd1fac84f/pyramid_skins-2.0.tar.gz" } ], "2.1": [ { "comment_text": "", "digests": { "md5": "43538e159a5f675ba5309eb3312eaed1", "sha256": "edd9f8c260879e56820fcca84cb6c4971971272763790557cc9de7b68b87bb9e" }, "downloads": -1, "filename": "pyramid_skins-2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "43538e159a5f675ba5309eb3312eaed1", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 39335, "upload_time": "2017-01-30T17:39:49", "url": "https://files.pythonhosted.org/packages/a2/56/162cd019e8c7ef1f78b196df0670e98ad4327832d24bf0ebb79e7ce25b7e/pyramid_skins-2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c0ccd52803e74a5288ee8fee102ff81f", "sha256": "40ba906272700646b837afa104483a9e53baf4c7b14bb91d372bb2b841a21c7c" }, "downloads": -1, "filename": "pyramid_skins-2.1.tar.gz", "has_sig": false, "md5_digest": "c0ccd52803e74a5288ee8fee102ff81f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29469, "upload_time": "2017-01-30T17:39:50", "url": "https://files.pythonhosted.org/packages/fa/fe/18a505e9791ce0dbbd1d7b0e98e831fda68a8e38fc0a64943315d310ee7b/pyramid_skins-2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "43538e159a5f675ba5309eb3312eaed1", "sha256": "edd9f8c260879e56820fcca84cb6c4971971272763790557cc9de7b68b87bb9e" }, "downloads": -1, "filename": "pyramid_skins-2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "43538e159a5f675ba5309eb3312eaed1", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 39335, "upload_time": "2017-01-30T17:39:49", "url": "https://files.pythonhosted.org/packages/a2/56/162cd019e8c7ef1f78b196df0670e98ad4327832d24bf0ebb79e7ce25b7e/pyramid_skins-2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c0ccd52803e74a5288ee8fee102ff81f", "sha256": "40ba906272700646b837afa104483a9e53baf4c7b14bb91d372bb2b841a21c7c" }, "downloads": -1, "filename": "pyramid_skins-2.1.tar.gz", "has_sig": false, "md5_digest": "c0ccd52803e74a5288ee8fee102ff81f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29469, "upload_time": "2017-01-30T17:39:50", "url": "https://files.pythonhosted.org/packages/fa/fe/18a505e9791ce0dbbd1d7b0e98e831fda68a8e38fc0a64943315d310ee7b/pyramid_skins-2.1.tar.gz" } ] }