Reputation: 1531
I am in need of a lightweight way to store dictionaries of data into a database. What I need is something that:
I would prefer something that doesn't do a lot of magic. I just need an easy way to setup and get data into an SQL database.
What would you suggest? There seems to be a lot of ORM software around, but I find it hard to evaluate them.
Upvotes: 1
Views: 1274
Reputation: 1941
SQLAlchemy offers an ORM much like django, but does not require that you work within a web framework.
Upvotes: 3
Reputation: 54882
SQLAlchemy's SQL expression layer can easily cover the first two requirements. If you also want reference handling then you'll need to use the ORM, but this might fail your lightweight requirement depending on your definition of lightweight.
Upvotes: 4
Reputation:
Seeing as you have mentioned sql, python and orm in your tags, are you looking for Django? Of all the web frameworks I've tried, I like this one the best. You'd be looking at models, specifically. This could be too fancy for your needs, perhaps, but that shouldn't stop you looking at the code of Django itself and learning from it.
Upvotes: 0