-
python2-plone-stringinterp-1.3.3-1.lbn25.noarch
Introduction Provides ${id} style string interpolation using named adapters to
look up variables. This is meant to provide a trivially simple template system
for clients like plone.app.contentrules.To interpolate a string in context,
just follow the pattern:: from plone.stringinterp.interfaces import
IStringInterpolator IStringInterpolator(context)("Here is the title:
${title}")Substitution of...
Located in
LBN
/
…
/
Plone 5
/
BastionLinux 25
-
python2-plone-subrequest-1.9.3-1.lbn25.noarch
plone.subrequest provides a mechanism for issuing subrequests under
Zope2.Installation Plone 4 An entry point is provided so no special
installation is required past adding plone.subrequest to your instance's
eggs.Zope 2.12 without Plone --Load this package's ZCML in the usual
manner.Zope 2.10 You must install ZPublisherEventsBackport_ to use this package
with Zope 2.10 and load both package's...
Located in
LBN
/
…
/
Plone 5
/
BastionLinux 25
-
python2-plone-supermodel-1.6.3-1.lbn25.noarch
Introduction plone.supermodel provides XML import and export for schema
interfaces based on zope.schema fields. The principal use cases are: 1. Define
a schema interface in code based on an XML file. This can be done with syntax
like:: >>> from plone.supermodel import xmlSchema >>> IMySchema
xmlSchema("myschema.xml") 2. Save and load interface definitions via an XML
format. To turn a schema...
Located in
LBN
/
…
/
Plone 5
/
BastionLinux 25
-
python2-plone-supermodel-1.6.5-1.lbn25.noarch
Introduction plone.supermodel provides XML import and export for schema
interfaces based on zope.schema fields. The principal use cases are: 1. Define
a schema interface in code based on an XML file. This can be done with syntax
like:: >>> from plone.supermodel import xmlSchema >>> IMySchema
xmlSchema("myschema.xml") 2. Save and load interface definitions via an XML
format. To turn a schema...
Located in
LBN
/
…
/
Plone 5
/
BastionLinux 25
-
python2-plone-synchronize-1.0.4-1.lbn25.noarch
Introduction This package provides a simple decorator to help synchronize
methods across threads, to avoid problems of concurrent access.It can be used
like this:: from threading import Lock from plone.synchronize import
synchronized class StupidStack(object): _elements [] not thread safe _lock
Lock() @synchronized(_lock) def push(self, item): self._elements.append(item)
@synchronized(_lock)...
Located in
LBN
/
…
/
Plone 5
/
BastionLinux 25
-
python2-plone-testing-8.0.3-1.lbn25.noarch
Introduction .. contents:: Table of contentsplone.testing provides tools for
writing unit and integration tests in a Zope and Plone environment. It is not
tied to Plone, and it does not depend on Zope (although it has some optional
Zope-only features).plone.testing builds on zope.testing_, in particular its
layers concept. This package also aims to promote some "good practice" for
writing...
Located in
LBN
/
…
/
Plone 5
/
BastionLinux 25
-
python2-plone-theme-3.0.7-1.lbn25.noarch
Tools for managing themes in CMF and Plone sites.plone.theme This package lets
you mark the request with a "layer" interface conditional on the currently
selected skin (theme) in the portal_skins tool.Most Zope 3 "visual" directives,
like <browser:page /> or <browser:viewlet /> accept a 'layer' attribute, which
should point to an interface. Recall that a view is a multi-adapter on
(context,...
Located in
LBN
/
…
/
Plone 5
/
BastionLinux 25
-
python2-plone-tiles-2.3.1-1.lbn25.noarch
plone.tiles plone.tiles implements a low-level, non-Plone/Zope2-specific
support for creating "tiles"... contents:: Introduction For the purposes of
this package, a tile is a browser view and an associated utility providing some
metadata about that view. The metadata includes a title and description,
Located in
LBN
/
…
/
Plone 5
/
BastionLinux 25
-
python2-plone-transformchain-2.0.2-1.lbn25.noarch
Introduction plone.transformchain provides methods to modify the response from
a page published with repoze.zope2 or the "classic" ZPublisher before it is
returned to the browser.Register a uniquely named adapter from (published,
request) providing the ITransform interface. published is the published object,
e.g. a view; request is the current request.The order of the transforms can
be...
Located in
LBN
/
…
/
Plone 5
/
BastionLinux 25
-
python2-plone-uuid-1.0.6-1.lbn25.noarch
plone.uuid This is a minimal package that can be used to obtain a universally
unique identifier (UUID) for an object.The default implementation uses the
Python standard library uuid module to generate an RFC 4122-compliant UUID,
using the uuid4() function. It will assign a UUID upon object creation (by
subscribing to IObjectCreatedEvent from zope.lifecycleevent) and store it in an
attribute on...
Located in
LBN
/
…
/
Plone 5
/
BastionLinux 25