Tuesday, December 31, 2024
Show HN: dorm: Django wrapper that lets you use its ORM in standalone manner https://ift.tt/2WeKkfY
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://ift.tt/KZGkUCl Source: https://ift.tt/lTqk86S 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://ift.tt/KZGkUCl January 1, 2025 at 02:21AM
Labels:
Hacker News
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment