Friday, April 8, 2011

Python ORM that auto-generates/updates tables and uses SQLite?

I am doing some prototyping for a new desktop app i am writing in Python, and i want to use SQLite and an ORM to store data.

My question is, are there any ORM libraries that support auto-generating/updating the database schema and work with SQLite?

From stackoverflow
  • SQLAlchemy is a great choice in the Python ORM space that supports SQLite.

    Matthew Schinckel : And you can migrate to another DBMS easily.
  • SQLAlchemy, when used with the sqlalchemy-migrate library.

  • For a related approach, take a look at the y_serial Python module for schemaless data persistance: http://yserial.sourceforge.net

    Hope this helps your project... it should be simple enough to implement in 10 minutes.

0 comments:

Post a Comment