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.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
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.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24e24c58c79db81c5b8342e58b27b14d56a3cd17f564aa8c98ba9f0f86343650 |
|
MD5 | e0a522074cd588bf67d3049c5a78ca58 |
|
BLAKE2b-256 | 94d6cb9abd7d174945f6afef75ba5a67ca0feccd026704d6686e2b1db663e86e |