Python Publishing Accessories (original) (raw)
PPA (Python [Object] Publishing Accessories) is a library of python modules useful to build web publication systems. API reference
Download
Project's CVS repository can be checked out (see instruction) or browsed online.
Other packages
ip2cc
Lookup country by IP address. Download ip2cc-0.4
Download old bsddb-based ip2cc-0.2.Note: this version doesn't work with Python 2.3 due to bug in bsddb module (SF bug #788421, fixed in Python 2.3.4)
QPS
Engine for custom content management systems. Uses PPA templating system and PPA.HTTP adapters. Download qps-2.8 source
There are some experimental scripts/modules in CVS:
Adopting Python DB API 2 modules to have single style for parameters definition.
Defines class that will be useful for iterating sequences in templates.
Simple script to run cron jobs and alert if it fails
Real-time log parser
Installs web codecs 'url', 'url-path', 'form-field', 'html' and 'xml'. After importing this module you can execute some_untrusted_string.encode('html') etc. The idea is from Ian Bicking. Note: 'html' and 'xml' codecs don't work for unicode due to over-restricted implementation of codecs in Python.
Why not Zope?
- Why-not-Zope by A.M.K.
- Why-not-Zope by Chuck Esterbrook
- Why-not-Zope by Titus Brown and additional points
PPA is not publishing system, it's just a set of accessories. You can use it as library when implementing your own publishing system, as it's used in QPS.
How to contribute
Patches, ideas, feature requests can be submited via SourceForge tracker or feel free to write to author.
I'm available for consulting and freelance telecommute job. Here is my CV.