Apply functions to objects in the ZODB
Project description
Introduction
This package allows developers to define functions and apply them to sets of objects through a zope3 view. The sets of objects can be subtrees of the ZODB, or can be defined by a query to portal_catalog.
To use it, you just have to add two lines to your buildout, one to add yaco.applyfun to the eggs section of the main part ([buildout]), and one in the zcml section of the instance part that has to have the view.
Then, you have de @@applyfun view available on any content.
To add functions, you can define them in the walker_funcs.py module of the product, or you can define them in any other module with the same structure (functions plus a “functions” dict) and plug it in through the config.py module of the product. The docstring of the functions will be available as help in the view.
Changelog
1.0 - Unreleased
Initial release
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
Built Distribution
File details
Details for the file yaco.applyfun-1.0dev.tar.gz
.
File metadata
- Download URL: yaco.applyfun-1.0dev.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5d3a2507e26d469cbcbef19a398b38dcba8d22ee306e3b4aebc019a1dad6325 |
|
MD5 | cbb8f6b03d1840191e99f3ca08e0214e |
|
BLAKE2b-256 | 386c9b9a3ea8d6918ce6639db6172db38d3d2666e711c5ca27eebf77487e2bfb |
File details
Details for the file yaco.applyfun-1.0dev-py2.4.egg
.
File metadata
- Download URL: yaco.applyfun-1.0dev-py2.4.egg
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 283e9d64f1cb0318c25e914680d69023aaf41158e6c1b5d733ee890215fa2d87 |
|
MD5 | 6400e480011da514c8bfd867984cc6e4 |
|
BLAKE2b-256 | cdef60f1640cd49691ac9962eb9c9a75efbb398b10060c432d5569987583903d |