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.1.1

  • replaced datetime.utcnow() with datetime.now(timezone.utc)

  • reduced method complexity

2.1.0

  • added deleters to files properties

  • added support for Python 3.11 and 3.12

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.1.1.tar.gz (43.8 kB view details)

Uploaded Source

Built Distribution

pyams_layer-2.1.1-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

Details for the file pyams_layer-2.1.1.tar.gz.

File metadata

  • Download URL: pyams_layer-2.1.1.tar.gz
  • Upload date:
  • Size: 43.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for pyams_layer-2.1.1.tar.gz
Algorithm Hash digest
SHA256 29c24c2a6a929f86427a88689c077d417035b9efc62c56218643ad28842c1ed5
MD5 30924aa75136df71f4c098e4eb9bdb6a
BLAKE2b-256 438d94dfd3a38f68221e90b45a4229bec7abc7ff07c95a7fb352ccf167df7f48

See more details on using hashes here.

File details

Details for the file pyams_layer-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyams_layer-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 22.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for pyams_layer-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2b54a6d13b918372f61ecf2758b62bba5d5e5f8c2f36c9488bc92f97f17b9047
MD5 31a635f4debca4b1ac5c793aec8806e3
BLAKE2b-256 e6a25424d420fcdea1aa3786f7e4f11e578130f7a05e0c844796912b92699f77

See more details on using hashes here.

Supported by

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