X-Original-To: pgsql-interfaces-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id E28B89FAD5A for ; Fri, 15 Sep 2006 15:30:47 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 15599-10 for ; Fri, 15 Sep 2006 15:30:40 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from lists.commandprompt.com (host-130.commandprompt.net [207.173.203.130]) by postgresql.org (Postfix) with ESMTP id 6904D9FA2E2 for ; Fri, 15 Sep 2006 15:30:40 -0300 (ADT) Received: from [192.168.1.50] (or-67-76-146-141.sta.embarqhsd.net [67.76.146.141]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id k8FIUc2G006533 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Sep 2006 11:30:39 -0700 Message-ID: <450AF14D.2030903@commandprompt.com> Date: Fri, 15 Sep 2006 11:30:37 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Thunderbird 1.5.0.5 (X11/20060728) MIME-Version: 1.0 To: sdavis2@mail.nih.gov CC: pgsql-interfaces@postgresql.org Subject: Re: Python interfaces References: <200609151352.20668.sdavis2@mail.nih.gov> In-Reply-To: <200609151352.20668.sdavis2@mail.nih.gov> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.3, clamav-milter version 0.88.3 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Fri, 15 Sep 2006 11:30:39 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.197 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200609/11 X-Sequence-Number: 6256 Sean Davis wrote: > I am in the process of moving development from perl to python. Under perl, > there was DBI, the be-all-end-all of database interfaces. Under python, > there is a plethora of options. Actually that isn't correct. The python drivers all adhere to DB API, the drives themselves are just a tad different. You can see the spec on DB API here: http://www.python.org/dev/peps/pep-0249/ > Is there a recommended one for postgres? It > will be mainly used in a web environment, so the ability to work > asynchronously is not that important. We use psycopg2 for all python work. Sincerely, Joshua D. Drake I am interested in maintaining > database introspection (which the DB-API 2.0 is conspicuously short on) > tools, as well as niceties such as automatic escape-quoting, etc, that are > pretty standard in perl. Any suggestions? > > Thanks, > Sean > > ---------------------------(end of broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match > -- === The PostgreSQL Company: Command Prompt, Inc. === Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240 Providing the most comprehensive PostgreSQL solutions since 1997 http://www.commandprompt.com/