Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQLAlchemy Example Projects

Are there any good example projects which uses SQLAlchemy (with Python Classes) that I can look into? (which has at least some basic database operations - CRUD)

I believe that, it is a good way to learn any programming language by looking into someone's code.

Thanks!

like image 395
abhiomkar Avatar asked May 18 '12 16:05

abhiomkar


2 Answers

My Flask-Security-Admin-Example project might help. It uses SQLAlchemy ORM in a Python Flask web application that also integrates Flask-Security and Flask-Admin.

Also, although it's not a project, the SQLAlchemy ORM tutorial is quite good, and walks you through writing the code you would need in a SQLAlchemy project.

Note that both of the above examples use SQLAlchemy ORM. If you don't want an object relational mapper, you can use SQLAlchemy Core. I don't have a project that illustrates that, though.

like image 80
Steve Saporta Avatar answered Sep 22 '22 17:09

Steve Saporta


What kind of environment are you looking to work with on top of SQLAlchemy?

Most likely, if you are using a popular web framework like django, Flask or Pylons, you can find many examples and tutorials specific to that framework that include SQLAlchemy.

This will boost your knowledge both with SQLAlchemy and whatever else it is you are working with.

Chances are, you won't find any good project examples in 'just' SQLAlchemy as it essentially a tool.

like image 43
user1094786 Avatar answered Sep 19 '22 17:09

user1094786