What are the viable database abstraction layers for Python

后端 未结 8 828
遇见更好的自我
遇见更好的自我 2020-12-28 17:51

I\'m starting to get involved in an open source project Gramps which is exploring switching their backend from BSDDB to a relational database. Either SQLite or MySQL we have

相关标签:
8条回答
  • 2020-12-28 18:31

    If your project will ever have any real complexity, stay away from ORMs.

    http://blogs.tedneward.com/2006/06/26/The+Vietnam+Of+Computer+Science.aspx

    0 讨论(0)
  • 2020-12-28 18:34

    I really like Storm:

    Storm is an object-relational mapper (ORM) for Python developed at Canonical. The project has been in development for more than a year for use in Canonical projects such as Launchpad, and has recently been released as an open-source product.

    In my opinion, Storm is much easier to learn than SQLAlchemy. Is similar to Django's ORM.

    0 讨论(0)
提交回复
热议问题