Can I use Django for non-web applications?

I noticed in the Django main introductory entry that they show a function that maps python objects to a database. This does not affect me as mutually beneficial with the development, is there a reason why it is impossible to use for non-web applications? Is it easy to stand out?

+6
python django django-models
source share
1 answer

The part you mention is ORM, and yes, ORMs are useful other than web development. Theoretically, you can use Django ORM for non-web content. However, this can be a little more complicated because it is not released separately, so you have to extract the code yourself (or you must include the entire django package).

There are many other ORMs in Python that you can use autonomously. My favorite is SQLAlchemy ( http://www.sqlalchemy.org/ ), but there are ones like storm and SQLObject.

+8
source share

All Articles