Metadata-Version: 2.1
Name: pyams-viewlet
Version: 1.2.1
Summary: PyAMS viewlets management package
Home-page: https://pyams.readthedocs.io
Author: Thierry Florac
Author-email: tflorac@ulthar.net
License: ZPL
Keywords: Pyramid PyAMS
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Framework :: Pyramid
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.5
Requires-Dist: setuptools
Requires-Dist: chameleon
Requires-Dist: pyams-template
Requires-Dist: pyams-utils
Requires-Dist: pyramid
Requires-Dist: venusian
Requires-Dist: zope.contentprovider
Requires-Dist: zope.interface
Requires-Dist: zope.location
Provides-Extra: test

=====================
PyAMS_viewlet package
=====================

.. contents::


What is PyAMS?
==============

PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications
and content management with the Pyramid framework.

**PyAMS** is actually mainly used to manage web sites through content management applications (CMS,
see PyAMS_content package), but many features are generic and can be used inside any kind of web
application.

All PyAMS documentation is available on `ReadTheDocs <https://pyams.readthedocs.io>`_; source code
is available on `Gitlab <https://gitlab.com/pyams>`_ and pushed to `Github
<https://github.com/py-ams>`_. Complete doctests are available in *doctests* source folder.


What is PyAMS_viewlet?
======================

PyAMS_viewlet is a package which defines components called "content providers"; these content
providers are named adapters which can be used inside Chameleon templates throught a custom
*provider:* TALES expression.

PyAMS_viewlet is an adaptation of zope.viewlet package to be used inside Pyramid, with a few
additional features.


Changelog
=========

1.2.1
-----
 - updated TALES *provider* expression to also support a mapping of provider factories into
   request annotations

1.2.0
-----
 - updated TALES *provider* expression to be able to define a custom content provider during
   traversal using request a "provider:{provider-name}:factory" annotation, instead of using a
   classical adapter lookup

1.1.0
-----
 - updated doctests
 - removed ZCML directives

1.0.2
-----
 - updated Travis-CI configuration

1.0.1
-----
 - updated doctests

1.0.0
-----
 - initial release


