TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: dorm: Django wrapper that lets you use its ORM in standalone manner

5 pointsby Harsh1825 months ago
dorm is a lightweight wrapper around Django that provides a minimal interface to its ORM. This package allows you to quickly integrate Django&#x27;s powerful ORM into your project with minimal configuration—simply add a settings.py file to the project root and you&#x27;re ready to start using it.<p>PyPI: <a href="https:&#x2F;&#x2F;pypi.org&#x2F;project&#x2F;dorm-project&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pypi.org&#x2F;project&#x2F;dorm-project&#x2F;</a> Source: <a href="https:&#x2F;&#x2F;github.com&#x2F;daadu&#x2F;dorm">https:&#x2F;&#x2F;github.com&#x2F;daadu&#x2F;dorm</a><p>Give me feedback, if you do give it a try.<p>## 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.<p>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?<p>That’s how the idea for this project was born.

2 comments

dhruvkb5 months ago
I had been looking for something like this in the past. I have previously set up a full-fledged Django application only to use its ORM, but then I realised that it&#x27;s quite helpful to have the possibility to expand the project into a proper web app or an API, if needed. The Django admin interface is also great!
评论 #42564543 未加载
yodon5 months ago
Excited to look into this in the new year - I&#x27;d been wondering if something like this existed
评论 #42564549 未加载