These days, I have been dabbling into Database Management using Python. Today’s post is a short discussion on a ORM I discovered, and some resources which I found very useful for Peewee.
An ORM (Object Relational Mapper) is a library that automates the transfer of data stored in relational database tables into objects that are more commonly used in application code.
ORMs are very useful since they provide high level abstraction of a database, and allows us to write Python code to do CRUD operations on a database instead of writing SQL.The ability to write Python code to manipulate the database instead of writing SQL speeds up the development process significantly. There are many ORMs for Python, like SQLAlchemy, Storm, SQLObject, etc
Well, the learning curve for Peewee is easier, especially when one is new to database management using Python in general. Peewee can be learned easily than SQLAlchemy and other ORMs. Peewee also works with many web frameworks. Also, it supports all the common relational database backends, that is PostgreSQL, MySQL or SQLite for that matter.
Here are some resources that I recommend and are absolutely worth a read if you are interested in learning more about Peewee.
That’s it for this post, see you in the next one!