473,406 Members | 2,336 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Re: Is there no single/uniform RDBMS access API module for Python?

On 2008-05-12 07:43, Banibrata Dutta wrote:
Hi,

Again a noob question.

Based on this URL http://wiki.python.org/moin/DatabaseInterfaces , is it
correct to conclude that there is no RDBMS agnostic, single/uniform DB
access API for Python ?
Something in the lines of JDBC for Java, DBD for Perl etc. ?

How is the RDBMS change handled for solutions which need to work with
different RDBMSs ??
Most Python database modules adhere to the Python Database API specification
(DB-API). The current version 2 is available in the PEP format as:

http://www.python.org/dev/peps/pep-0249/

The spec was created and is maintained by the Python DB-SIG:

http://www.python.org/community/sigs/

If you are looking for a generic Python database interface, then I'd
suggest you have a look at our mxODBC:

http://www.egenix.com/products/python/mxODBC/

It works on all common Python platforms (e.g. Windows, Linux x86/x64,
Macs, Solaris, etc.) and provides the same API on these, so apart from
changing the ODBC driver configuration, you don't need to make any
major changes to your application if you want to switch from one
platform to another.

Note: mxODBC is a commercial add-on to our eGenix mx Base OSS
distribution. It's maintained by eGenix and has been around
since 1997.

--
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source (#1, May 13 2008)
>>Python/Zope Consulting and Support ... http://www.egenix.com/
mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
__________________________________________________ ______________________

:::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
Jun 27 '08 #1
0 1086

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

34
by: SeeBelow | last post by:
I see the value of a class when two or more instances will be created, but Python programmers regularly use a class when there will only be one instance. What is the benefit of this? It has a...
7
by: Brian van den Broek | last post by:
Hi all, I'm posting partly so my problem and solution might be more easily found by google, and partly out of mere curiosity. I've just spent a frustrating bit of time figuring out why pydoc...
43
by: sinister | last post by:
Is MS Access a true RDBMS?
28
by: H J van Rooyen | last post by:
Hi, I want to write a small system that is transaction based. I want to split the GUI front end data entry away from the file handling and record keeping. Now it seems almost trivially easy...
16
by: bobrik | last post by:
Hello, I am using the Python DB API for access to MySQL. But it is not platform-independent - I need a module not included in Python by default - python-mysql, and it uses a compiled binary...
7
by: Pradeep | last post by:
Hello, I need to take a set of input tables and create an XML output file. The format of the XML output must be user-definable and must be intuitive enough for non-techies to use. input...
8
by: Edward A. Falk | last post by:
IOW, is there a "linker" for python? I've written a program comprised of about five .py files. I'd like to find a way to combine them into a single executable. Obviously, I could hand-edit them...
0
by: Laszlo Nagy | last post by:
Banibrata Dutta írta: http://www.python.org/dev/peps/pep-0249/
0
by: Daniel Fetchinson | last post by:
Again a noob question. For sqlite: http://oss.itsystementwicklung.de/trac/pysqlite/ if you have python < 2.5 for 2.5 and up it is included in the stdlib For mysql:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.