Metadata-Version: 2.1
Name: pyams-layer
Version: 1.2.0
Summary: PyAMS base layers management
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: pyams-file
Requires-Dist: pyams-security
Requires-Dist: pyams-site
Requires-Dist: pyams-utils
Requires-Dist: pyramid
Requires-Dist: zope.componentvocabulary
Requires-Dist: zope.configuration
Requires-Dist: zope.dublincore
Requires-Dist: zope.interface
Requires-Dist: zope.schema
Requires-Dist: zope.traversing
Provides-Extra: test
Requires-Dist: pyramid-zcml ; extra == 'test'
Requires-Dist: zope.exceptions ; extra == 'test'

===================
PyAMS_layer 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>`_.


What is PyAMS_layer?
====================

PyAMS_layer is adding the concept of 'skin layers' to Pyramid.

A layer is a marker interface which will be used to tag a Request object; this tagging will allow
you to register templates, views or pagelets for only specific layers.

Skins are global utilities which have a "layer" attribute; when a skin is associated with a
context, the request is marked during traversal with this layer (removing all other layers
interfaces).


Changelog
=========

1.2.0
-----
 - added skin management permission
 - added container class to skin properties
 - added default resources adapter

1.1.1
-----
 - packaging mismatch

1.1.0
-----
 - removed support for Python < 3.5

1.0.5
-----
 - updated Gitlab-CI configuration

1.0.4
-----
 - updated Gitlab-CI configuration
 - removed Travis-CI configuration

1.0.3
-----
 - updated "adapter_config" decorator arguments names

1.0.2
-----
 - updated doctests

1.0.1
-----
 - small update in code used to apply a skin

1.0.0
-----
 - initial release


