Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Portlet rendering collection of items returned by customizable Python scripts

Project Description

collective.portlet.pythonscript

This add-on product adds ability to use ‘Script (Python)’ objects as source of items to display in a ‘Python Script Portlet’.

Usage

Manager adds ‘Script (Python)’ objects to the Plone site. The scripts need to return an iterable of portal catalog brains (or objects adaptable to IPythonScriptPortletItem).

Manager goes into control panel and in ‘Scriptable Portlets’ selects option to rescan site for ‘Script (Python)’ objects. Now the control panel section should list the added scripts.

Manager enables scripts for use in portlets.

User edits portlets assigned in any place in the site. He can add new ‘Python Script’ portlet. Each portlet has a title and script used to render results. User can limit number of shown results.

Site displays results of the query inside the portlet.

Contributors

  • Tomasz Maćkowiak, Original Author
  • radekj

Changelog

1.2.1 (September 11, 2013)

  • Added possibility of scanning filesysem scripts [radekj]

1.2 (August 02, 2013)

  • Added possibility to pass additional properties to be rendered in the portlet [radekj]

1.1 (June 28, 2013)

  • Possibility to register custom templates for rendering the python script’s results [kurazu]

1.0.1 (June 25, 2013)

  • Not displaying the portlet at all when there’s no results items returned [radekj]
Release History

Release History

This version
History Node

1.2.1

History Node

1.2

History Node

1.1

History Node

1.0.1

History Node

1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.portlet.pythonscript-1.2.1.tar.gz (25.0 kB) Copy SHA256 Checksum SHA256 Source Sep 11, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting