WikiStart » History » Version 6
Aurynn Shaw, 07/23/2010 01:54 PM
1 | 5 | bford - | h1. Exceptable |
---|---|---|---|
2 | 1 | ||
3 | 5 | bford - | |
4 | Exceptable is a Python + PL/PGSQL library specifically built to handle propagation of exceptions from [[PostgreSQL]] and stored procedures in a more consistent fashion. |
||
5 | 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. |
||
6 | |||
7 | |||
8 | h2. Definable Exceptions |
||
9 | |||
10 | 3 | Aurynn Shaw | |
11 | 1 | By providing a simple, configurable decorator for wrapping DB functionality, Exceptable allows for customizable exception APIs to be created simply and efficiently. |
|
12 | 6 | Aurynn Shaw | |
13 | h2. Get the Code |
||
14 | |||
15 | You can get Exceptable in one of several ways. First, the easy installation via Python's "PyPI":http://pypi.python.org/ index, via: |
||
16 | <pre> |
||
17 | $ easy_install Exceptable |
||
18 | </pre> |
||
19 | |||
20 | which will install the library in your standard path. |
||
21 | |||
22 | Secondly, you can get the source code from our SVN repository, via: |
||
23 | |||
24 | <pre> |
||
25 | $ svn co https://projects.commandprompt.com/public/exceptable/repo/ ./exceptable |
||
26 | </pre> |
||
27 | |||
28 | And last but not least, Exceptable's can now be forked and cloned on "GitHub":http://github.com, via |
||
29 | <pre> |
||
30 | $ git clone git://github.com/commandprompt/Exceptable.git ./exceptable |
||
31 | </pre> |
||
32 | |||
33 | All pull requests are examined and taken seriously. :) |
||
34 | |||
35 | Finally, if you're contributing to the Exceptable project, why not sign up for our mailing list, available at |
||
36 | |||
37 | * "exceptable@lists.commandprompt.com":https://lists.commandprompt.com/mailman/listinfo/exceptable |