Pylets
Project
Lists
CVS
This is an alpha product. Use CVS if you want to check it
out. All disclaimers apply. Subscribe to the mailing list!
Pylets is an object- and aspect-oriented framework for
making mod_python applications. It consists of two parts:
- The PyletHandler, which handles global configuration and
dispatches Apache request to pylets, and
- Pylets: a framework for making objects which service
requests. It is aspect oriented so you can mix in things
like boilerplate headers / footers; programmer-
controllable caching; sessions and authentication.
Goals: "Don't reinvent the wheel."
- Uses Apache, for process management/scalability,
robustness. No extra servers to maintain. Uses Apache
logs (and in the future, more Apache configuration.)
- Uses Python / mod_python: no toy languages, no compilers
or preprocessors. Use the features of Python, so no
component framework: use Python objects, packages and
modules, or whatever the programmer wants. Pylets are
also template-agnostic. (mod_python comes with PSP, if
you want that.)
- Be fast. With the debug switches off, and caching turned
on, Pylets are less than 2x slower than serving static
pages.
Read INSTALL for installation, docs for information.
ORMit
ORMit is a super-light object-relational mapper that comes with
Pylets.
ORMit is designed to be lightweight, transparent, and
connection-free. Transparency was it's main goal: it will
never hold onto a connection, and it will tell you exactly
what SQL it is using. It resembles PyDO and SQLObject, for
sure. It plugs into any DB-API 2.0 compatible connector that
support pyformat, like psycopg.
If Pylet's motto is "Don't reinvent the wheel", ORMit's
motto is "No magic!"
Errata
Pylets and ORMit are released under the Apache Software License.
Contact frobenius at users sourceforge net for questions, or join the
mailing list.