Skip to main content

PyAMS viewlets management package

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



  • packaging issue


  • added support for undefined content providers

  • added support for boolean provider arguments

  • added support for Python 3.10 and 3.11


  • updated Gitlab-CI configuration file


  • added method to base content provider to load required Fanstatic resources


  • don’t load content provider resources when rendered content is empty


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


  • added “template_name” argument to content provider “render” method, to be able to specify name of a custom registered template on rendering


  • removed support for Python < 3.7


  • removed Travis-CI configuration


  • doctest update to handle viewlets uniform sorting


  • packaging version mismatch!


  • refactored viewlet registration code


  • packaging update


  • 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


  • updated TALES provider expression to also support a mapping of provider factories into request annotations


  • 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


  • updated doctests

  • removed ZCML directives


  • updated Travis-CI configuration


  • updated doctests


  • 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_viewlet-1.7.1.tar.gz (17.2 kB view hashes)

Uploaded source

Built Distributions

pyams_viewlet-1.7.1-py3.11.egg (46.9 kB view hashes)

Uploaded 1 7 1

pyams_viewlet-1.7.1-py3.10.egg (39.5 kB view hashes)

Uploaded 1 7 1

pyams_viewlet-1.7.1-py3.9.egg (39.4 kB view hashes)

Uploaded 1 7 1

pyams_viewlet-1.7.1-py3.8.egg (39.4 kB view hashes)

Uploaded 1 7 1

pyams_viewlet-1.7.1-py3.7.egg (39.4 kB view hashes)

Uploaded 1 7 1

pyams_viewlet-1.7.1-py3-none-any.whl (24.2 kB view hashes)

Uploaded py3

Supported by

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