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

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

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-2.0.1.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

pyams_viewlet-2.0.1-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file pyams_viewlet-2.0.1.tar.gz.

File metadata

  • Download URL: pyams_viewlet-2.0.1.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyams_viewlet-2.0.1.tar.gz
Algorithm Hash digest
SHA256 22e5dcef33269a848951ab41ffe5fbe24da83fc7335c4c0ccc8760f6361febf8
MD5 05f32a859c39ec3ec60e252ba041d5f9
BLAKE2b-256 cff90e3ac7e9f47ee4718a8ab92a44f2fd0f22e318000560082c3142b23027fd

See more details on using hashes here.

File details

Details for the file pyams_viewlet-2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyams_viewlet-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 588ac5fc0ae47625b896f8fa54f1c5667d81fdb409d7235753055b5881fc5b35
MD5 27c0148fe4c875179431cb9f27984f57
BLAKE2b-256 575410ee7cb295ccbfd2f7e03682b37f1b782594842ce09f86bf780b926fc79a

See more details on using hashes here.

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