General tools for Plone sites
Project description
General tools modules for Plone.
We don’t claim ultimate Plone wisdom (yet); the main purpose of this package is to factor out functionality from a big monolithic product into packages.
Thus, the purpose of this package (for now) is not to provide new functionality; it is more likely to loose functionality during further development (as parts of it will be forked out into their own packages, or some functionality may even become obsolete because there are better alternatives in standard Plone components).
Features
This add-on can be seen in action at the following sites:
Modules in version 1.1:
attools module
several tools for Archetypes-based content
brains module
currently one make_collector function, e.g. for address fields
cfg module
Read “product” configuration, and detect development mode
context module
Several tools for processing the request. Some need some modernization …
forms module
Several tools for forms
functions module
Some functions, e.g. is_uid_shaped
log module
Automatically named loggers
mock module
a few small classes for use in doctests
the same module as visaplan.tools.mock
mock_cfg module
A rudimentary mock module for cfg
search module
A few functions to support creation of ZODB catalog search queries (quite proprietary, I’m afraid; might go away in future versions)
setup module (since v1.1)
Functions for use in migration scripts
Documentation
The modules are documented by doctests. Full documentation for end users can be found in the “docs” folder.
Translations
This product has been translated into
Klingon (thanks, K’Plai)
Installation
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
Contribute
Issue Tracker: https://github.com/visaplan/visaplan.plone.tools/issues
Source Code: https://github.com/visaplan/visaplan.plone.tools
Support
If you are having issues, please let us know; please use the issue tracker mentioned above.
License
The project is licensed under the GPLv2.
Contributors
Tobias Herp, tobias.herp@visaplan.com
Changelog
1.1.dev4 (unreleased)
brains module added:
make_collector, e.g. for address fields
context module:
new function decorated_tool
1.1.dev3 (unreleased)
attools module added:
a brown bag of tools for Archetypes
forms module added:
a brown bag of modules to support forms in a Zope/Plone system
mock module added:
a few small classes for use in doctests
the same module as visaplan.tools.mock
mock_cfg module added:
accompanies cfg, for testing only
search module added:
tools for creation of catalog queries
functions module:
new function looksLikeAUID (for historical reasons)
1.1.dev1 (unreleased)
setup module added: functions for use in migration scripts
1.0.dev1 (unreleased)
Initial release. [tobiasherp]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for visaplan.plone.tools-1.1.dev4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4848085545d09137dcab8a0457fb629b00c055332cf0650abaad60c62c4c03fd |
|
MD5 | 6763fcc9360443a11b8cb188486aef38 |
|
BLAKE2b-256 | 0205f34faa7f99ca7498c6d8a863893992e9e62c220e472f1cf1519229467a82 |