Hamza
Hamza

Reputation: 1533

Django Projects as Desktop applications : how to?

How to make Django projects packaged as desktop applications? I found some tutorials, but is there any solution as DjangoKit , for Linux and Windows?

List of related tutorials :

Upvotes: 27

Views: 38147

Answers (3)

DaveJ
DaveJ

Reputation: 2427

(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.

Upvotes: 6

Massimo Fazzolari
Massimo Fazzolari

Reputation: 5202

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.

Upvotes: 10

Brian Gianforcaro
Brian Gianforcaro

Reputation: 27190

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.

Upvotes: 7

Related Questions