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.

Changelog

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyams-viewlet, version 1.5.0
Filename, size File type Python version Upload date Hashes
Filename, size pyams_viewlet-1.5.0-py3.7.egg (38.6 kB) File type Egg Python version 1.5.0 Upload date Hashes View
Filename, size pyams_viewlet-1.5.0-py3.8.egg (38.7 kB) File type Egg Python version 1.5.0 Upload date Hashes View
Filename, size pyams_viewlet-1.5.0-py3.9.egg (38.7 kB) File type Egg Python version 1.5.0 Upload date Hashes View
Filename, size pyams_viewlet-1.5.0-py3-none-any.whl (23.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyams_viewlet-1.5.0.tar.gz (16.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page