I found things about a module called mysqldb, but I did not find documentation available at docs.python.org
Please disregard responding with frameworks such as Django.
I found things about a module called mysqldb, but I did not find documentation available at docs.python.org
Please disregard responding with frameworks such as Django.
Set native. If you are talking about the default library only SQLite is available .
If you are talking about extra modules available for direct access in the most crude API of the database there is a non-definitive list in the Wiki :
Note the existence of more than one option.
There are non-relational options and even what they call native which seems to me to be Python-developed banks exclusively for use with the language.
I am particularly like the AP, I prefer the most basic support, any extra abstraction, like the framework SQLAlchemy, I'd rather not use it unless the problem even asks for it, which is rare technically, this is usually "political" decision.
In my opinion, in languages that support the OO paradigm, it is far more productive to use an ORM (when available) for relational database access. In the case of python, if I'm not using a framework that uses its own ORM, such as Django, for example (I even regret Django did not elect SQLAlchemy as official ORM), I always opt for sqlalchemy .
SQLAlchemy , is, to me, the "native support" of relational database access in python (of course I'm exaggerating to emphasize the importance of the toolkit).
See, on the project page, who uses SQLAlchemy: Yelp, The Open Stack Project, Reddit, Mozilla, Dropobx, Fedora, Freshbook, and ... by ai vai.
Dialects supported (not core):
Dialects supported by third parties: