PyAMS base layers management
Project description
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; source code is available on Gitlab and pushed to Github.
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.0.2
updated doctests
1.0.1
small update in code used to apply a skin
1.0.0
initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for pyams_layer-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5c40ae3975b2daf423cc2744eb3c4ca33bd3d61f07bb77627f3e07cecdaeb43 |
|
MD5 | 314a1e52c6041d26769f8c3e0b9060ed |
|
BLAKE2b-256 | 248de43c502e69e79f1aaf9a7256fd42ed0abb9066ae8b77996c0a40dde61b32 |