pyams-layer


Namepyams-layer JSON
Version 2.0.0 PyPI version JSON
download
home_pagehttps://pyams.readthedocs.io
SummaryPyAMS base layers management
upload_time2023-11-26 10:20:05
maintainer
docs_urlNone
authorThierry Florac
requires_python>=3.5
licenseZPL
keywords pyramid pyams
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ===================
PyAMS_layer package
===================

.. contents::


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 <https://pyams.readthedocs.io>`_; source code
is available on `Gitlab <https://gitlab.com/pyams>`_ and pushed to `Github
<https://github.com/py-ams>`_.


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

            

Raw data

            {
    "_id": null,
    "home_page": "https://pyams.readthedocs.io",
    "name": "pyams-layer",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.5",
    "maintainer_email": "",
    "keywords": "Pyramid PyAMS",
    "author": "Thierry Florac",
    "author_email": "tflorac@ulthar.net",
    "download_url": "https://files.pythonhosted.org/packages/07/3c/d684b7cbf4adcff97c0194a0baa6c2310657ddba6cedce106517edb4d77f/pyams_layer-2.0.0.tar.gz",
    "platform": null,
    "description": "===================\nPyAMS_layer package\n===================\n\n.. contents::\n\n\nWhat is PyAMS?\n==============\n\nPyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications\nand content management with the Pyramid framework.\n\n**PyAMS** is actually mainly used to manage web sites through content management applications (CMS,\nsee PyAMS_content package), but many features are generic and can be used inside any kind of web\napplication.\n\nAll PyAMS documentation is available on `ReadTheDocs <https://pyams.readthedocs.io>`_; source code\nis available on `Gitlab <https://gitlab.com/pyams>`_ and pushed to `Github\n<https://github.com/py-ams>`_.\n\n\nWhat is PyAMS_layer?\n====================\n\nPyAMS_layer is adding the concept of 'skin layers' to Pyramid.\n\nA layer is a marker interface which will be used to tag a Request object; this tagging will allow\nyou to register templates, views or pagelets for only specific layers.\n\nSkins are global utilities which have a \"layer\" attribute; when a skin is associated with a\ncontext, the request is marked during traversal with this layer (removing all other layers\ninterfaces).\n\n\nChangelog\n=========\n\n2.0.0\n-----\n - migrated to Pyramid 2.0\n\n1.3.1\n-----\n - small updates in resources management\n - *PyAMS_security* package interfaces refactoring\n - added support for Python 3.10\n\n1.3.0\n-----\n - renamed \"container_class\" TALES extension to \"skin_container_extension\"\n - removed default 'container' class on custom skin container CSS class (default value should\n   be handled by layout template)\n\n1.2.2\n-----\n - updated translation\n\n1.2.1\n-----\n - check base classes before patching BaseSiteRoot\n\n1.2.0\n-----\n - added skin management permission\n - added container class to skin properties\n - added default resources adapter\n\n1.1.1\n-----\n - packaging mismatch\n\n1.1.0\n-----\n - removed support for Python < 3.5\n\n1.0.5\n-----\n - updated Gitlab-CI configuration\n\n1.0.4\n-----\n - updated Gitlab-CI configuration\n - removed Travis-CI configuration\n\n1.0.3\n-----\n - updated \"adapter_config\" decorator arguments names\n\n1.0.2\n-----\n - updated doctests\n\n1.0.1\n-----\n - small update in code used to apply a skin\n\n1.0.0\n-----\n - initial release\n",
    "bugtrack_url": null,
    "license": "ZPL",
    "summary": "PyAMS base layers management",
    "version": "2.0.0",
    "project_urls": {
        "Homepage": "https://pyams.readthedocs.io"
    },
    "split_keywords": [
        "pyramid",
        "pyams"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "14e3951b0f664a3a416c32cb2796d94b5ac6dadb08d309cf8ade5f53169d16ec",
                "md5": "fe27fa044775d1d2cf540afd06c20096",
                "sha256": "8e3e58589a63d34fccf8a158bda77f4722d1ac9d2de541d246a51eedaa25a4f3"
            },
            "downloads": -1,
            "filename": "pyams_layer-2.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fe27fa044775d1d2cf540afd06c20096",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.5",
            "size": 22285,
            "upload_time": "2023-11-26T10:20:03",
            "upload_time_iso_8601": "2023-11-26T10:20:03.060358Z",
            "url": "https://files.pythonhosted.org/packages/14/e3/951b0f664a3a416c32cb2796d94b5ac6dadb08d309cf8ade5f53169d16ec/pyams_layer-2.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "073cd684b7cbf4adcff97c0194a0baa6c2310657ddba6cedce106517edb4d77f",
                "md5": "41990a3fe2917effb8c8672010b7e31b",
                "sha256": "16ca1e28d4e6e29ebb63a789bedfec18136cef10b8915329ccc853efe29ad38a"
            },
            "downloads": -1,
            "filename": "pyams_layer-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "41990a3fe2917effb8c8672010b7e31b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.5",
            "size": 43612,
            "upload_time": "2023-11-26T10:20:05",
            "upload_time_iso_8601": "2023-11-26T10:20:05.222166Z",
            "url": "https://files.pythonhosted.org/packages/07/3c/d684b7cbf4adcff97c0194a0baa6c2310657ddba6cedce106517edb4d77f/pyams_layer-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-26 10:20:05",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pyams-layer"
}
        
Elapsed time: 0.38331s