Personal tools
You are here: Home About Useful Libraries

Useful Libraries

Libraries that are useful to use with Grok

Grok Libraries


Authentication

ldapauth

Description
LDAP authentication for Zope Toolkit apps
License
ZPL
Distribution URL
http://svn.zope.org/ldapauth/trunk/
Comments
maybe should be ldapadapter http://pypi.python.org/pypi/ldapadapter/

ldappas

Description
LDAP authentication for Zope Toolkit apps
License
ZPL
Distribution URL
http://pypi.python.org/pypi/ldappas/

megrok.login

Description
making it easier to set up authentication for Grok
License
ZPL
Distribution URL
http://pypi.python.org/pypi/megrok.login/

megrok.strictrequire

Description
Enforce the presence of the "require" directive on views.
License
ZPL
Distribution URL
http://pypi.python.org/pypi/megrok.strictrequire/

Catalogs

dolmen.relations

Description
A thin layer above zc.relation, allowing a simple and straightforward implementation of standalone relationships between objects.
License
GPL
Distribution URL
http://pypi.python.org/pypi/dolmen.relations

hurry.query

Description
An easier way to compose catalog queries
License
BSD
Distribution URL
http://pypi.python.org/pypi/hurry.query
Comments
Grok How-to at: http://grok.zope.org/documentation/how-to/implementing-search

z3c.relationfield

Description
Schema fields that are indexed in a relation catalog (using zc.relation).
License
ZPL
Distribution URL
http://pypi.python.org/pypi/z3c.relationfield

Content Syncronization

z3c.vcsync

Description
Synchronize the ZODB with a version control system. Includes SVN implementation of this.
License
ZPL
Distribution URL
http://pypi.python.org/pypi/z3c.vcsync/

Data Import/Export

xlrd

Description
Read Excel spreadsheets
License
BSD
Distribution URL
http://pypi.python.org/pypi/xlrd

xlwt

Description
Write Excel spreadsheets
License
BSD
Distribution URL
http://pypi.python.org/pypi/xlwt

Form Widgets

hurry.file

Description
A file upload widget that allows the form to be reloaded if there are validation errors and the file is still there.
License
ZPL
Distribution URL
http://pypi.python.org/pypi/hurry.file

Forms

dolmen.widget.file

Description
File widget for z3c.form, using Grok. dolmen.widget.file is a package that walks hand-in-hand with dolmen.file. It provides a useable and pluggable way to render the dolmen.file.FileField in a z3c.form.Form, using Grok (through megrok.z3cform.base)
License
GPL
Distribution URL
http://pypi.python.org/pypi/dolmen.widget.file

dolmen.widget.image

Description
Image widget (with thumbnails) for z3c.form, using Grok dolmen.widget.image is a thin layer above dolmen.widget.file providing a widget suitable to fields implementing IImageField. It adds, thanks to dolmen.thumbnailer a preview of the uploaded image in both input and display mode.
License
GPL
Distribution URL
http://pypi.python.org/pypi/dolmen.widget.image

megrok.z3cform

Description
using z3c.form form library with Grok
License
ZPL
Distribution URL
http://pypi.python.org/pypi/megrok.z3cform.base/

z3c.relationfieldui

Description
Implements a zope.formlib compatible widget for relations as defined by z3c.relationfield .
License
ZPL
Distribution URL
http://pypi.python.org/pypi/z3c.relationfield

zc.sourcefactory

Description
easier way to construct sources for use in schemas (and forms)
License
ZPL
Distribution URL
http://pypi.python.org/pypi/zc.sourcefactory

zc.table

Description
Generate tables. I don't use this much anymore, as I've moved to more javascript-driven tables (such as YUI's datatable), but used it a lot in the past. (note that it depends on zc.resourcelibrary which conflicts with hurry.resource, you can trick your away around it.)
License
ZPL
Distribution URL
http://pypi.python.org/pypi/zc.table

Packaged JavaScript Libraries

hurry.extjs

Description
Packaged ExtJS JavaScript libraries for hurry.resource
License
ZPL
Distribution URL
http://pypi.python.org/pypi/hurry.extjs/

hurry.jquery

Description
Packaged jQuery JavaScript libraries for hurry.resource
License
ZPL
Distribution URL
http://pypi.python.org/pypi/hurry.jquery

hurry.jqueryui

Description
Packaged JQuery JavaScript libraries for hurry.resource.
License
ZPL
Distribution URL
http://pypi.python.org/pypi/hurry.jqueryui/

hurry.js.wforms

Description
Packaged wForms JavaScript libraries for hurry.resource.
License
LGPL
Distribution URL
http://code.google.com/p/wforms/

hurry.tinymce

Description
Packaged TinyMCE JavaScript libraries for hurry.resource
License
ZPL
Distribution URL
http://pypi.python.org/pypi/hurry.tinymce

hurry.yui

Description
Packaged YUI (Yahoo User Interface) JavaScript libraries for hurry.resource
License
ZPL
Distribution URL
http://pypi.python.org/pypi/hurry.yui

Relational Database Access

megrok.rdb

Description
A way to create SQLAlchemy-based applications with Grok. Builds on z3c.saconfig
License
ZPL
Distribution URL
http://pypi.python.org/pypi/megrok.rdb

z3c.saconfig

Description
Integrates SQLAlchemy with the Zope component architecture. Builds on zope.sqlalchemy for transaction integration.
License
ZPL
Distribution URL
http://pypi.python.org/pypi/z3c.saconfig

Site Navigation

megrok.menu

Description
menus for Grok
License
ZPL
Distribution URL
http://pypi.python.org/pypi/megrok.menu/

Static Content Storage

dolmen.blob

Description
Dolmen zodb blob handlers (using ZODB >= 3.9.2). dolmen.blob is a layer above dolmen.file, using the ZODB blobs as a storage facility. It respects the zope.app.file IFile and the dolmen.file INamedFile interfaces.
License
GPL
Distribution URL
http://pypi.python.org/pypi/dolmen.blob

dolmen.file

Description
A Zope3/Grok File Representation package. dolmen.file is a layer above zope.app.file.file.File, adding a notion of filename, missing in the original implementation.
License
GPL
Distribution URL
http://pypi.python.org/pypi/dolmen.file

dolmen.storage

Description
Dolmen pluggable and delegated storage. dolmen.storage defines a clear high-level API to deal with pluggable storage components.
License
GPL
Distribution URL
http://pypi.python.org/pypi/dolmen.storage

dolmen.thumbnailer

Description
Specialized in Thumbnail generation. Using the dolmen.storage mechanisms, it allows a pluggable and flexible thumbnail storage.
License
GPL
Distribution URL
http://pypi.python.org/pypi/dolmen.thumbnailer

hurry.filesize

Description
A simple Python library that helps one determine a displayable size of a file in bytes, kilobytes, etc.
License
ZPL
Distribution URL
http://pypi.python.org/pypi/hurry.filesize/

z3c.blobfile

Description
Store a File object using the ZODB blob storage.
License
ZPL
Distribution URL
http://pypi.python.org/pypi/z3c.blobfile

Static Resource Handling

hurry.resource

Description
Automatic declarative inclusion of JavaScript and CSS resources into web pages.
License
ZPL
Distribution URL
http://pypi.python.org/pypi/hurry.resource Grok

hurry.zoperesource

Description
z3c.hashedresource's hashed URL generation
License
ZPL
Distribution URL
http://pypi.python.org/pypi/hurry.zoperesource

megrok.resource

Description
integrate hurry.resource's Library with both Grok's ResourceDirectory support and z3c.hashedresource's hashed URL generation
License
ZPL
Distribution URL
http://pypi.python.org/pypi/megrok.resource

megrok.resourcelibrary

Description
hurry.resource's Library with both Grok's ResourceDirectory support and
License
ZPL
Distribution URL
http://pypi.python.org/pypi/megrok.resourcelibrary/0.9.2

Templating

hurry.custom

Description
A system for defining customized overrides stored in a database (such as the ZODB) of things like templates.
License
ZPL
Distribution URL
http://pypi.python.org/pypi/hurry.custom/

megrok.chameleon

Description
Chameleon template engine integration into Grok
License
ZPL
Distribution URL
http://pypi.python.org/pypi/megrok.chameleon

megrok.cheetah

Description
cheetah template engine integration
License
ZPL
Distribution URL
http://svn.zope.org/megrok.cheetah/trunk/
Comments
Needs release on PyPI

megrok.genshi

Description
Genshi template engine integration
License
ZPL
Distribution URL
http://pypi.python.org/pypi/megrok.genshi/

megrok.jinja

Description
jinja template engine integration
License
ZPL
Distribution URL
http://pypi.python.org/pypi/megrok.jinja/

URL Dispatch

megrok.traject

Description
Integrates the traject routing framework with the Grok web framework
License
ZPL
Distribution URL
http://pypi.python.org/pypi/megrok.traject

traject

Description
Routing for Grok (as opposed to traversal)
License
ZPL
Distribution URL
http://pypi.python.org/pypi/traject

Workflow

hurry.workflow

Description
A workflow system
License
BSD
Distribution URL
http://pypi.python.org/pypi/hurry.workflow

XML Utilities

lxml

Description
For working with XML and HTML in the Python language
License
BSD
Distribution URL
http://codespeak.net/lxml/

z3c.schema2xml

Description
Convert schema-defined objects to XML and back again.
License
ZPL
Distribution URL
http://pypi.python.org/pypi/z3c.schema2xml