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

  • removed skins with empty label from user’s skins vocabulary

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyams_layer-2.2.0-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyams_layer-2.2.0.tar.gz
  • Upload date:
  • Size: 43.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyams_layer-2.2.0.tar.gz
Algorithm Hash digest
SHA256 87650d49d90cb3b99512747b208af1a561cb15dfecfcacc68baf4975838a227c
MD5 ab0df85b4c948a06accee276bbfd5e66
BLAKE2b-256 6b509178b81c00735a013da4901b32c68eed49b69d0a5a417a744ebc4ed188c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyams_layer-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 22.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyams_layer-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b6d43a56a9e172429016ab8ddd875ed46de8947166afbd82d5b9815066e45acc
MD5 bbee514e29f96ec713b309e9d49ec501
BLAKE2b-256 9a79b9d23c495a37651d7883dd21a7d28c296e94ecc7509ed14cf862e93f9251

See more details on using hashes here.

Supported by

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