Skip to main content

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

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

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


Download files

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

Source Distribution

visaplan.plone.tools-1.1.dev4.tar.gz (56.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page