[Biopython-dev] BioSQL drivers, was: Planning for Biopython 1.54
Peter
biopython at maubp.freeserve.co.uk
Thu Mar 18 11:19:03 UTC 2010
On Wed, Mar 17, 2010 at 10:14 PM, Kyle <kellrott at gmail.com> wrote:
>>
>>> I think the zxJDBC support (Jython MySQL for BioSQL) was almost
>>> done. I don't think it counts as a major addition. I think to finish it off,
>>> we just needed to finalize the driver names.
>>
>> Oh yeah - I confess I'd forgotten about that.
>
> I've posted a fork from the master branch on github (
> http://github.com/kellrott/biopython/tree/zxjdbc ) with only the changes
> related to zxjdbc. I've added two driver requests, "MySQL" and
> "PostgreSQL", that select the appropriate driver based on the platform.
> Kyle
Hmm. I think it might be cleaner to have a new optional argument like
batabase back end (MySQL, PostgreSQL, SQLite3). If the back end
is specified without the driver (which would be the encouraged usage)
then we will pick the driver at run time (based on if in Jython, or for
PostgreSQL which drivers are installed). Existing scripts can continue
to specify the driver directly (but we can eventually deprecated this?).
Peter
More information about the Biopython-dev
mailing list