Tuesday, 31 December 2024

Show HN: dorm: Django wrapper that lets you use its ORM in standalone manner https://bit.ly/423aLIm

Show HN: dorm: Django wrapper that lets you use its ORM in standalone manner dorm is a lightweight wrapper around Django that provides a minimal interface to its ORM. This package allows you to quickly integrate Django's powerful ORM into your project with minimal configuration—simply add a settings.py file to the project root and you're ready to start using it. PyPI: https://bit.ly/3PivlNr Source: https://bit.ly/4gF6Yps Give me feedback, if you do give it a try. ## Motivation I’ve always been a big fan of the Django ORM, especially its features like automatic schema migrations and the ability to perform joins without writing raw SQL. Over time, I’ve used it outside of full Django projects whenever I needed to interact with a database. Given the richness of Django’s ORM, I found other standalone ORMs (like SQLAlchemy) to be lacking in comparison. During these experiences, I kept wondering: what if I could use just the ORM, without the need for manage.py, views.py, urls.py, or any unnecessary entries in settings.py? That’s how the idea for this project was born. https://bit.ly/3PivlNr December 31, 2024 at 11:21PM

No comments:

Post a Comment