General tools modules for Plone.
We don't claim ultimate Plone wisdom (yet); this package is one of the parts a big monolithic classic Zope product was split into.
It is part of the footing of the "Unitracc family" of Plone sites which are maintained by visaplan GmbH, Bochum, Germany.
Some modules of this package might still contain some resources (e.g. type names) which are specific to our "Unitracc family" of sites; this is likely to change in future releases.
This add-on can be seen in action at the following sites:
Modules in version 1.1.4+:
attoolsmoduleseveral tools for Archetypes-based content
brainsmodulecurrently one
make_collectorfunction, e.g. for address fieldscfgmoduleRead "product" configuration, and detect development mode
contextmoduleSeveral tools for processing the request. Some need some modernization ...
formsmoduleSeveral tools for forms
functionsmoduleSome functions, e.g.
is_uid_shapedindexesmodule (new in v1.1.4)Function
getSortableTitlefor title conversion.This converts umlauts etc. to sort them as equal to their corresponding base vocals, according to German lexical usage.
logmoduleAutomatically named loggers
mockmodule- a few small classes for use in doctests
- the same module as
visaplan.tools.mock
mock_cfgmoduleA rudimentary mock module for
cfgsearchmoduleA few functions to support creation of ZODB catalog search queries (quite proprietary, I'm afraid; might go away in future versions)
setupmodule (since v1.1)Functions for use in migration scripts
zcmlgenmodule (since v1.1.1)- Generates
configure.zcmlfiles, if- changes are detected, and
- development mode is active, and
- the source is in an development package.
- Generates
decoratorsmodule (since v1.1.6)@returns_json:Wraps the function call and returns the JSON-encoded result, including HTTP headers.
Uses simplejson if available.
Sorry, we don't have real user documentation yet.
Most functions are documented by doctests, anyway; it helps to understand some German.
Since visaplan.plone.tools is a package for Plone instances,
it is not normally installed using pip;
instead, install it by adding it to your buildout:
[buildout]
...
eggs =
visaplan.plone.tools
and then running bin/buildout
- Issue Tracker: https://github.com/visaplan/plone.tools/issues
- Source Code: https://github.com/visaplan/plone.tools
If you are having issues, please let us know; please use the issue tracker mentioned above.
The project is licensed under the GPLv2.