[Zope] Database abstraction layer

nitin@borwankar.com nitin@borwankar.com
Tue, 28 May 2002 13:18:26 -0700


--------------090401020303070806050803
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

You may want to look at the Python DB API which is a database 
abtrsaction layer in its second version
This has been around for a while.  haven't used it as I do most of my 
Python DB interfacing via ZSQL methods in Zope.

http://www.python.org/topics/database/

Nitin Borwankar.


Chris McDonough wrote:

>That's right.  There really is no canonical database abstraction layer
>for Python relational database adapters that I've seen.  I think the
>best you can do is either code to the lowest-common-denominator SQL
>dialect (probably impossible) or code for as many databases as you need.
>
>Sorry,
>
>- C
>
>
>On Sun, 2002-05-26 at 05:36, Oliver Marx wrote:
>
>>Greetz
>>
>>I'm looking for a DAL to use with Python but can't find any.
>>There seems to be adapters for a range of sql servers, but not one which
>>unifies the interfaces; sql syntax varies with each server (fx LIMIT and
>>TOP).
>>
>>\Oliver
>>
>>
>>
>>_______________________________________________
>>Zope maillist  -  Zope@zope.org
>>http://rd.mailshell.com/lists.zope.org/mailman/listinfo/zope
>>**   No cross posts or HTML encoding!  **
>>(Related lists - 
>> http://rd.mailshell.com/lists.zope.org/mailman/listinfo/zope-announce
>> http://rd.mailshell.com/lists.zope.org/mailman/listinfo/zope-dev )
>>
>
>
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://rd.mailshell.com/lists.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists - 
> http://rd.mailshell.com/lists.zope.org/mailman/listinfo/zope-announce
> http://rd.mailshell.com/lists.zope.org/mailman/listinfo/zope-dev )
>


--------------090401020303070806050803
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html>
<head>
</head>
<body>
You may want to look at the Python DB API which is a database abtrsaction
layer in its second version<br>
This has been around for a while. &nbsp;haven't used it as I do most of my Python
DB interfacing via ZSQL methods in Zope.<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.python.org/topics/database/">http://www.python.org/topics/database/</a><br>
<br>
Nitin Borwankar.<br>
<br>
<br>
Chris McDonough wrote:<br>
<blockquote type="cite" cite="mid:1022550800.1816.34.camel@james">
  <pre wrap="">That's right.  There really is no canonical database abstraction layer<br>for Python relational database adapters that I've seen.  I think the<br>best you can do is either code to the lowest-common-denominator SQL<br>dialect (probably impossible) or code for as many databases as you need.<br><br>Sorry,<br><br>- C<br><br><br>On Sun, 2002-05-26 at 05:36, Oliver Marx wrote:<br></pre>
  <blockquote type="cite">
    <pre wrap="">Greetz<br><br>I'm looking for a DAL to use with Python but can't find any.<br>There seems to be adapters for a range of sql servers, but not one which<br>unifies the interfaces; sql syntax varies with each server (fx LIMIT and<br>TOP).<br><br>\Oliver<br><br><br><br>_______________________________________________<br>Zope maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:Zope@zope.org">Zope@zope.org</a><br><a class="moz-txt-link-freetext" href="http://rd.mailshell.com/lists.zope.org/mailman/listinfo/zope">http://rd.mailshell.com/lists.zope.org/mailman/listinfo/zope</a><br>**   No cross posts or HTML encoding!  **<br>(Related lists - <br> <a class="moz-txt-link-freetext" href="http://rd.mailshell.com/lists.zope.org/mailman/listinfo/zope-announce">http://rd.mailshell.com/lists.zope.org/mailman/listinfo/zope-announce</a><br> <a class="moz-txt-link-freetext" href="http://rd.mailshell.com/lists.zope.org/mailman/listinfo/zope-dev">http://rd.mailshell.com
/lists.zope.org/mailman/listinfo/zope-dev</a> )<br></pre>
    </blockquote>
    <pre wrap=""><!----><br><br><br><br>_______________________________________________<br>Zope maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:Zope@zope.org">Zope@zope.org</a><br><a class="moz-txt-link-freetext" href="http://rd.mailshell.com/lists.zope.org/mailman/listinfo/zope">http://rd.mailshell.com/lists.zope.org/mailman/listinfo/zope</a><br>**   No cross posts or HTML encoding!  **<br>(Related lists - <br> <a class="moz-txt-link-freetext" href="http://rd.mailshell.com/lists.zope.org/mailman/listinfo/zope-announce">http://rd.mailshell.com/lists.zope.org/mailman/listinfo/zope-announce</a><br> <a class="moz-txt-link-freetext" href="http://rd.mailshell.com/lists.zope.org/mailman/listinfo/zope-dev">http://rd.mailshell.com/lists.zope.org/mailman/listinfo/zope-dev</a> )<br></pre>
    </blockquote>
    <br>
    </body>
    </html>

--------------090401020303070806050803--