Project

General

Profile

WikiStart » History » Revision 6

Revision 5 (bford -, 10/22/2009 10:41 AM) → Revision 6/7 (Aurynn Shaw, 07/23/2010 01:54 PM)


 h1. Exceptable 


 


 Exceptable is a Python + PL/PGSQL library specifically built to handle propagation of exceptions from [[PostgreSQL]] and stored procedures in a more consistent fashion. 
 By utilizing a standardized exception text format, standard ProgrammingErrors as raised by the Python DB-API can be caught, analyzed, and re-raised as exceptions that are more useful in the application layer. 


 


 h2. Definable Exceptions 


 


 By providing a simple, configurable decorator for wrapping DB functionality, Exceptable allows for customizable exception APIs to be created simply and efficiently. 

 h2. Get the Code 

 You can get Exceptable in one of several ways. First, the easy installation via Python's "PyPI":http://pypi.python.org/ index, via: 
 <pre> 
 $ easy_install Exceptable 
 </pre> 

 which will install the library in your standard path. 

 Secondly, you can get the source code from our SVN repository, via: 

 <pre> 
 $ svn co https://projects.commandprompt.com/public/exceptable/repo/ ./exceptable 
 </pre> 

 And last but not least, Exceptable's can now be forked and cloned on "GitHub":http://github.com, via 
 <pre> 
 $ git clone git://github.com/commandprompt/Exceptable.git ./exceptable 
 </pre> 

 All pull requests are examined and taken seriously. :) 

 Finally, if you're contributing to the Exceptable project, why not sign up for our mailing list, available at 

 * "exceptable@lists.commandprompt.com":https://lists.commandprompt.com/mailman/listinfo/exceptable