nanodjango
tortoise-orm
nanodjango | tortoise-orm | |
---|---|---|
5 | 11 | |
738 | 4,922 | |
7.7% | 1.7% | |
8.2 | 9.2 | |
about 1 month ago | 2 days ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nanodjango
-
This Week In Python
nanodjango – Full Django in a single file - views, models, API, with async support.
- Nanodjango: Full Django in a Single File
- Nanodjango
-
Building a full Django project, starting with a single file
The app-based model is really baked into Django. As we've seen from a bunch of examples, especially recently, it's not too hard to build out a single-file project that serves a simple home page with a brief message. As soon as you want to support a full actual page, and a set of pages, you really have to figure out a well-thought-out plan for how people will expand the project.
If you're still interested in this work, I suggest checking out nanodjango, which was mentioned earlier in this thread. That project is new, but there's a plan from the outset for how people can transition from the single-file based version to a standard Django project. You might also want to check out Andrew Godwin's django-singlefile project. It's meant to support small flask-like projects, where you don't have any intention of expanding out into a standard Django project.
Both of these projects have their own code that takes what's included in the small file and tells Django how to make sense of it. That's much different than the projects that are only trying to make use of what's included in Django itself.
(I'm the author of the Django from first principles series that was submitted here, but I didn't see it on HN until this morning.)
nanodjango: https://github.com/radiac/nanodjango
django-singlefile: https://github.com/andrewgodwin/django-singlefile
tortoise-orm
-
Django and Postgres for the Busy Rails Developer
Wouldn't know. However, some standalone projects are attempting to replicate the same experience, check Tortoise ORM - https://github.com/tortoise/tortoise-orm.
-
FastAPI, Pydantic, Psycopg3: the holy trinity for Python web APIs
TortoiseORM: I personally really like this Django-inspired async ORM; it's clean and nice to use.
- Building a full Django project, starting with a single file
-
How to Connect a FastAPI Server to PostgreSQL and Deploy on GCP Cloud Run
To do this, we can use the Tortoise-ORM. Begin by installing the package:
-
Example typescript project repos?
If I was answering this question but for python, I'd recommend something like prefect, boto3, or tortoise-orm -- not extremely complex and with a pretty comprehensible featureset.
-
What DB and Hosting Site should I use for my Python Bot?
If you're just starting with relational databases i suggest you use an ORM an object relational mapper. Which allows you to use simple python to make all database interactions. And i recommend using tortoise ORM.
- Which ORM framework are you using with Python, and why?
-
Using Django ORM in asyncio project without Django?
Does anybody have any experience with that? Can I use Django in my asyncio application without *actually using Django? Or should sth like Tortoise ORM be preferred?
-
FastAPI with Django ORM
Tortoise ORM looks a lot like the django ORM https://tortoise.github.io
-
Show HN: Django Async ORM
Thanks, it's great to see Django adding slowly but surely in all sorts of places.
By the way, have you looked at tortoise orm, which is a fully async python ORM with very Django-like syntax? [1]
[1] https://github.com/tortoise/tortoise-orm
What are some alternatives?
Local-File-Organizer - An AI-powered file management tool that ensures privacy by organizing local texts, images. Using Llama3.2 3B and Llava v1.6 models with the Nexa SDK, it intuitively scans, restructures, and organizes files for quick, seamless access and easy retrieval.
SQLAlchemy - The Database Toolkit for Python
tinylangs - Real programming languages in 50 lines of code
Peewee - a small, expressive orm -- supports postgresql, mysql, sqlite and cockroachdb
django-first-principles - A Django project, developed from a single file.
PonyORM - Pony Object Relational Mapper