Skip to main content

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

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

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_pagelet-2.0.2.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

pyams_pagelet-2.0.2-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file pyams_pagelet-2.0.2.tar.gz.

File metadata

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

File hashes

Hashes for pyams_pagelet-2.0.2.tar.gz
Algorithm Hash digest
SHA256 d780a45403cc164d11a24713fbbd84ec1abe3cb36600d620f1d3bfcea0d39213
MD5 01c4ff28ae33e3c542d64d4e953c4b34
BLAKE2b-256 43a3cb7a0f5b0ec4756c70581ff193ba6057dbdb5f59b5734b749163ebd54c50

See more details on using hashes here.

File details

Details for the file pyams_pagelet-2.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pyams_pagelet-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b93de580bd39db5bb1358d411735777cccc7fbc0cfa0a9a7aa027f655b23b420
MD5 1939f79af07f0eea07573173bcead128
BLAKE2b-256 5b26ef6dc5769faa9b483b7b7dd313e6f29833b0df799cc92bd70e20fd3631b8

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