pyams-pagelet


Namepyams-pagelet JSON
Version 2.0.2 PyPI version JSON
download
home_pagehttps://pyams.readthedocs.io
SummaryPyAMS pagelets management package
upload_time2024-06-27 13:31:54
maintainerNone
docs_urlNone
authorThierry Florac
requires_python>=3.7
licenseZPL
keywords pyramid pyams
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            =====================
PyAMS_pagelet 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_pagelet?
======================

This package is a small rewrite of z3c.pagelet package for use with Pyramid and PyAMS.

PyAMS_template allows to separate a view's Python code from it's template implementation, so that
this template can be easily overriden for a given context, layer or view; it also allows to
separate a "content" template from a "layout" template which is handling all common elements in
a web page.

PyAMS_pagelet is an implementation of this pattern: a pagelet is a Pyramid view registered with
the name of the pagelet; the layout template can then just use a "${structure:provider:pagelet}"
directive to automatically insert the pagelet matching the current browser URL.


Changelog
=========

2.0.2
-----
 - added context argument to request permission checker

2.0.1
-----
 - updated Buildout configuration

2.0.0
-----
 - migrated to Pyramid 2.0

1.3.0
-----
 - added pagelet creation and update events

1.2.0
-----
 - remove support for Python < 3.7
 - added optional arguments to Pagelet constructor (which can be required when Pagelet is
   used as a mixin parent class)
 - doctests updates

1.1.2
-----
 - updated Gitlab-CI configuration
 - removed Travis-CI configuration

1.1.1
-----
 - updated pagelet creation event notification

1.1.0
-----
 - removed ZCML declarations
 - updated doctests

1.0.1
-----
 - updated pagelet templates registration to use standard (context, request, view)
   multi-adapters
 - updated doctests

1.0.0
-----
 - initial release

            

Raw data

            {
    "_id": null,
    "home_page": "https://pyams.readthedocs.io",
    "name": "pyams-pagelet",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "Pyramid PyAMS",
    "author": "Thierry Florac",
    "author_email": "tflorac@ulthar.net",
    "download_url": "https://files.pythonhosted.org/packages/43/a3/cb7a0f5b0ec4756c70581ff193ba6057dbdb5f59b5734b749163ebd54c50/pyams_pagelet-2.0.2.tar.gz",
    "platform": null,
    "description": "=====================\nPyAMS_pagelet 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_pagelet?\n======================\n\nThis package is a small rewrite of z3c.pagelet package for use with Pyramid and PyAMS.\n\nPyAMS_template allows to separate a view's Python code from it's template implementation, so that\nthis template can be easily overriden for a given context, layer or view; it also allows to\nseparate a \"content\" template from a \"layout\" template which is handling all common elements in\na web page.\n\nPyAMS_pagelet is an implementation of this pattern: a pagelet is a Pyramid view registered with\nthe name of the pagelet; the layout template can then just use a \"${structure:provider:pagelet}\"\ndirective to automatically insert the pagelet matching the current browser URL.\n\n\nChangelog\n=========\n\n2.0.2\n-----\n - added context argument to request permission checker\n\n2.0.1\n-----\n - updated Buildout configuration\n\n2.0.0\n-----\n - migrated to Pyramid 2.0\n\n1.3.0\n-----\n - added pagelet creation and update events\n\n1.2.0\n-----\n - remove support for Python < 3.7\n - added optional arguments to Pagelet constructor (which can be required when Pagelet is\n   used as a mixin parent class)\n - doctests updates\n\n1.1.2\n-----\n - updated Gitlab-CI configuration\n - removed Travis-CI configuration\n\n1.1.1\n-----\n - updated pagelet creation event notification\n\n1.1.0\n-----\n - removed ZCML declarations\n - updated doctests\n\n1.0.1\n-----\n - updated pagelet templates registration to use standard (context, request, view)\n   multi-adapters\n - updated doctests\n\n1.0.0\n-----\n - initial release\n",
    "bugtrack_url": null,
    "license": "ZPL",
    "summary": "PyAMS pagelets management package",
    "version": "2.0.2",
    "project_urls": {
        "Homepage": "https://pyams.readthedocs.io"
    },
    "split_keywords": [
        "pyramid",
        "pyams"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5b26ef6dc5769faa9b483b7b7dd313e6f29833b0df799cc92bd70e20fd3631b8",
                "md5": "1939f79af07f0eea07573173bcead128",
                "sha256": "b93de580bd39db5bb1358d411735777cccc7fbc0cfa0a9a7aa027f655b23b420"
            },
            "downloads": -1,
            "filename": "pyams_pagelet-2.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1939f79af07f0eea07573173bcead128",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 14583,
            "upload_time": "2024-06-27T13:31:53",
            "upload_time_iso_8601": "2024-06-27T13:31:53.362064Z",
            "url": "https://files.pythonhosted.org/packages/5b/26/ef6dc5769faa9b483b7b7dd313e6f29833b0df799cc92bd70e20fd3631b8/pyams_pagelet-2.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "43a3cb7a0f5b0ec4756c70581ff193ba6057dbdb5f59b5734b749163ebd54c50",
                "md5": "01c4ff28ae33e3c542d64d4e953c4b34",
                "sha256": "d780a45403cc164d11a24713fbbd84ec1abe3cb36600d620f1d3bfcea0d39213"
            },
            "downloads": -1,
            "filename": "pyams_pagelet-2.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "01c4ff28ae33e3c542d64d4e953c4b34",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 9855,
            "upload_time": "2024-06-27T13:31:54",
            "upload_time_iso_8601": "2024-06-27T13:31:54.586348Z",
            "url": "https://files.pythonhosted.org/packages/43/a3/cb7a0f5b0ec4756c70581ff193ba6057dbdb5f59b5734b749163ebd54c50/pyams_pagelet-2.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-27 13:31:54",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pyams-pagelet"
}
        
Elapsed time: 0.83965s