Skip to main content

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

2.0.0

  • migrated to Pyramid 2.0

1.3.1

  • small updates in resources management

  • PyAMS_security package interfaces refactoring

  • added support for Python 3.10

1.3.0

  • renamed “container_class” TALES extension to “skin_container_extension”

  • removed default ‘container’ class on custom skin container CSS class (default value should be handled by layout template)

1.2.2

  • updated translation

1.2.1

  • check base classes before patching BaseSiteRoot

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyams_layer-2.0.0.tar.gz (43.6 kB view hashes)

Uploaded Source

Built Distribution

pyams_layer-2.0.0-py3-none-any.whl (22.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page