[Django]-Django Projects as Desktop applications : how to?

9👍

This project started when I needed to
distribute a self contained user
installable Windows demo of a Django
application

dbuilder.py

Edit: Another alternative is Super Zippy, it takes a Python package and its pure Python dependencies and transforms them all into a single executable file.

6👍

You might want to look into Appcelerator’s (link) Titanium Desktop for developing web apps on the desktop.

It’s fully cross platform, Linux, Mac OSX, Windows.

It’s supports running Python, Ruby, and JavaScript code in your application all concurrently interacting with one anther in one application. It’s pretty sweet.

5👍

(Full disclosure, I’m the founder of ToDesktop. I think this is a helpful answer though)

If your Django app is already deployed as a web app then you can wrap the web app in Electron.

If the web app does not need to be distributed to users (i.e.. you don’t need an installer or code signing) then Nativefier is great for that. It’s free and open-source. I made a Nativefier guide here.

If you’re distributing to users then you’ll probably want an installer and code signing and auto-updates for Electron. ToDesktop will do all that for you without any coding or configuration.
There’s a comparison of the two here.

👤DaveJ

Leave a comment