Skip to main content

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 files for collective.portlet.pythonscript 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collective.portlet.pythonscript 1.2.1
File Size Uploaded
collective.portlet.pythonscript-1.2.1.tar.gz 25.0 kB Details

Release files / collective.portlet.pythonscript-1.2.1.tar.gz

Download URL collective.portlet.pythonscript-1.2.1.tar.gz
Size 25.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0e5807f4a8ef933069de5f0d9c5fee41e382b2696faca4625f4a5f43af1ea2b7
BLAKE2b-256 checksum
How to use checksums
4bafcd10e78af4ae4d973e5b7809c7f63c817275bb2aefce9bc01f93c5bc6727
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.2.1 This release

1 release file

1.2

1 release file

1.1

1 release file

1.0.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page