pyams-viewlet


Namepyams-viewlet JSON
Version 2.0.1 PyPI version JSON
download
home_pagehttps://pyams.readthedocs.io
SummaryPyAMS viewlets management package
upload_time2023-11-26 02:32:12
maintainer
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_viewlet 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>`_. Complete doctests are available in *doctests* source folder.


What is PyAMS_viewlet?
======================

PyAMS_viewlet is a package which defines components called "content providers"; these content
providers are named adapters which can be used inside Chameleon templates throught a custom
*provider:* TALES expression.

PyAMS_viewlet is an adaptation of zope.viewlet package to be used inside Pyramid, with a few
additional features.


Changelog
=========

2.0.1
-----
 - updated Buildout configuration

2.0.0
-----
 - upgrade to Pyramid 2.0

1.7.1
-----
 - packaging issue

1.7.0
-----
 - added support for undefined content providers
 - added support for boolean provider arguments
 - added support for Python 3.10 and 3.11

1.6.3
-----
 - updated Gitlab-CI configuration file

1.6.2
-----
 - added method to base content provider to load required Fanstatic resources

1.6.1
-----
 - don't load content provider resources when rendered content is empty

1.6.0
-----
 - added RawContentProvider class, to provide a component rendering raw HTML code but with the
   content provider API

1.5.0
-----
 - added "template_name" argument to content provider "render" method, to be able to
   specify name of a custom registered template on rendering

1.4.0
-----
 - removed support for Python < 3.7

1.3.5
-----
 - removed Travis-CI configuration

1.3.4
-----
 - doctest update to handle viewlets uniform sorting

1.3.3
-----
 - packaging version mismatch!

1.3.2
-----
 - refactored viewlet registration code

1.3.1
-----
 - packaging update

1.3.0
-----
 - updated viewletmanager_config to be able to declare a viewlet manager as a viewlet in a
   single step
 - updated "provider" TALES extension to be able to provide arguments to extension
 - small updates in registry access

1.2.1
-----
 - updated TALES *provider* expression to also support a mapping of provider factories into
   request annotations

1.2.0
-----
 - updated TALES *provider* expression to be able to define a custom content provider during
   traversal using request a "provider:{provider-name}:factory" annotation, instead of using a
   classical adapter lookup

1.1.0
-----
 - updated doctests
 - removed ZCML directives

1.0.2
-----
 - updated Travis-CI configuration

1.0.1
-----
 - updated doctests

1.0.0
-----
 - initial release

            

Raw data

            {
    "_id": null,
    "home_page": "https://pyams.readthedocs.io",
    "name": "pyams-viewlet",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "Pyramid PyAMS",
    "author": "Thierry Florac",
    "author_email": "tflorac@ulthar.net",
    "download_url": "https://files.pythonhosted.org/packages/cf/f9/0e3ac7e9f47ee4718a8ab92a44f2fd0f22e318000560082c3142b23027fd/pyams_viewlet-2.0.1.tar.gz",
    "platform": null,
    "description": "=====================\nPyAMS_viewlet 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>`_. Complete doctests are available in *doctests* source folder.\n\n\nWhat is PyAMS_viewlet?\n======================\n\nPyAMS_viewlet is a package which defines components called \"content providers\"; these content\nproviders are named adapters which can be used inside Chameleon templates throught a custom\n*provider:* TALES expression.\n\nPyAMS_viewlet is an adaptation of zope.viewlet package to be used inside Pyramid, with a few\nadditional features.\n\n\nChangelog\n=========\n\n2.0.1\n-----\n - updated Buildout configuration\n\n2.0.0\n-----\n - upgrade to Pyramid 2.0\n\n1.7.1\n-----\n - packaging issue\n\n1.7.0\n-----\n - added support for undefined content providers\n - added support for boolean provider arguments\n - added support for Python 3.10 and 3.11\n\n1.6.3\n-----\n - updated Gitlab-CI configuration file\n\n1.6.2\n-----\n - added method to base content provider to load required Fanstatic resources\n\n1.6.1\n-----\n - don't load content provider resources when rendered content is empty\n\n1.6.0\n-----\n - added RawContentProvider class, to provide a component rendering raw HTML code but with the\n   content provider API\n\n1.5.0\n-----\n - added \"template_name\" argument to content provider \"render\" method, to be able to\n   specify name of a custom registered template on rendering\n\n1.4.0\n-----\n - removed support for Python < 3.7\n\n1.3.5\n-----\n - removed Travis-CI configuration\n\n1.3.4\n-----\n - doctest update to handle viewlets uniform sorting\n\n1.3.3\n-----\n - packaging version mismatch!\n\n1.3.2\n-----\n - refactored viewlet registration code\n\n1.3.1\n-----\n - packaging update\n\n1.3.0\n-----\n - updated viewletmanager_config to be able to declare a viewlet manager as a viewlet in a\n   single step\n - updated \"provider\" TALES extension to be able to provide arguments to extension\n - small updates in registry access\n\n1.2.1\n-----\n - updated TALES *provider* expression to also support a mapping of provider factories into\n   request annotations\n\n1.2.0\n-----\n - updated TALES *provider* expression to be able to define a custom content provider during\n   traversal using request a \"provider:{provider-name}:factory\" annotation, instead of using a\n   classical adapter lookup\n\n1.1.0\n-----\n - updated doctests\n - removed ZCML directives\n\n1.0.2\n-----\n - updated Travis-CI configuration\n\n1.0.1\n-----\n - updated doctests\n\n1.0.0\n-----\n - initial release\n",
    "bugtrack_url": null,
    "license": "ZPL",
    "summary": "PyAMS viewlets management package",
    "version": "2.0.1",
    "project_urls": {
        "Homepage": "https://pyams.readthedocs.io"
    },
    "split_keywords": [
        "pyramid",
        "pyams"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "575410ee7cb295ccbfd2f7e03682b37f1b782594842ce09f86bf780b926fc79a",
                "md5": "27c0148fe4c875179431cb9f27984f57",
                "sha256": "588ac5fc0ae47625b896f8fa54f1c5667d81fdb409d7235753055b5881fc5b35"
            },
            "downloads": -1,
            "filename": "pyams_viewlet-2.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "27c0148fe4c875179431cb9f27984f57",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 24226,
            "upload_time": "2023-11-26T02:32:10",
            "upload_time_iso_8601": "2023-11-26T02:32:10.062610Z",
            "url": "https://files.pythonhosted.org/packages/57/54/10ee7cb295ccbfd2f7e03682b37f1b782594842ce09f86bf780b926fc79a/pyams_viewlet-2.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cff90e3ac7e9f47ee4718a8ab92a44f2fd0f22e318000560082c3142b23027fd",
                "md5": "05f32a859c39ec3ec60e252ba041d5f9",
                "sha256": "22e5dcef33269a848951ab41ffe5fbe24da83fc7335c4c0ccc8760f6361febf8"
            },
            "downloads": -1,
            "filename": "pyams_viewlet-2.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "05f32a859c39ec3ec60e252ba041d5f9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 17244,
            "upload_time": "2023-11-26T02:32:12",
            "upload_time_iso_8601": "2023-11-26T02:32:12.077754Z",
            "url": "https://files.pythonhosted.org/packages/cf/f9/0e3ac7e9f47ee4718a8ab92a44f2fd0f22e318000560082c3142b23027fd/pyams_viewlet-2.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-26 02:32:12",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pyams-viewlet"
}
        
Elapsed time: 0.41556s