Discussion:
Converting Django app into a Desktop app
Loai Ghoraba
2012-12-18 16:06:19 UTC
Permalink
Hi

I am very comfortable with Django, and I was wondering about whether there
is some way to convert a Django web app into a Desktop app (may be not
100%), so that I can distribute it to users. May be wrapping it in a light
web server "if there is something like this".

Thanks
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/-kBVrtdpjo4J.
To post to this group, send email to django-***@googlegroups.com.
To unsubscribe from this group, send email to django-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Jonas Geiregat
2012-12-18 18:43:27 UTC
Permalink
Hi
I am very comfortable with Django, and I was wondering about whether there is some way to convert a Django web app into a Desktop app (may be not 100%), so that I can distribute it to users. May be wrapping it in a light web server "if there is something like this".
You might try http://www.python-camelot.com/
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-***@googlegroups.com.
To unsubscribe from this group, send email to django-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
a***@gmail.com
2012-12-18 18:50:44 UTC
Permalink
Use a module like tastiepy develop your desktop client in your preferred language and have it communicate to django via REST.

Sent from my iPhone
Post by Jonas Geiregat
Hi
I am very comfortable with Django, and I was wondering about whether there is some way to convert a Django web app into a Desktop app (may be not 100%), so that I can distribute it to users. May be wrapping it in a light web server "if there is something like this".
You might try http://www.python-camelot.com/
--
You received this message because you are subscribed to the Google Groups "Django users" group.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-***@googlegroups.com.
To unsubscribe from this group, send email to django-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Chris Cogdon
2012-12-18 19:23:46 UTC
Permalink
I think what Loai is asking for is a way to "wrap up" the python/django
application, along with a light-weight webserver (not as light-weight as
"runserver" though), so it looks like a stand-alone application... apart
from needing to run a web browser to connect to it.

I, too, am very interested in this.

Just doing some cursory poking around, here's some starting points:

Python Freeze: http://wiki.python.org/moin/Freeze

cx_Freeze: http://cx-freeze.sourceforge.net

Py2Exe: http://wiki.python.org/moin/Py2Exe

py2app: http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html


These handle turning the python program into a stand-alone executable. It
doesn't solve the web-server issue, though. There are a ton of choices
there (eg: gunicorn, twisted, tornado, web.py) but I have no opinion on
which one is going to both "freeze" well, serve static files well, and work
well with Django
Post by Loai Ghoraba
Hi
I am very comfortable with Django, and I was wondering about whether there
is some way to convert a Django web app into a Desktop app (may be not
100%), so that I can distribute it to users. May be wrapping it in a light
web server "if there is something like this".
Thanks
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/ruJ-QX6bLO8J.
To post to this group, send email to django-***@googlegroups.com.
To unsubscribe from this group, send email to django-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Loai Ghoraba
2012-12-18 19:27:54 UTC
Permalink
@ all thanks for your responses, I will try to investigate them

@Chris: you got me right :) I can use runserver, but it would be too light,
or make the client install and configure apache (which is not a good idea
if the client is a normal user, not a programmer).
Post by Chris Cogdon
I think what Loai is asking for is a way to "wrap up" the python/django
application, along with a light-weight webserver (not as light-weight as
"runserver" though), so it looks like a stand-alone application... apart
from needing to run a web browser to connect to it.
eNo module named _tkinter, please install the python-tk package
I, too, am very interested in this.
Python Freeze: http://wiki.python.org/moin/Freeze
cx_Freeze: http://cx-freeze.sourceforge.net
Py2Exe: http://wiki.python.org/moin/Py2Exe
py2app: http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html
These handle turning the python program into a stand-alone executable. It
doesn't solve the web-server issue, though. There are a ton of choices
there (eg: gunicorn, twisted, tornado, web.py) but I have no opinion on
which one is going to both "freeze" well, serve static files well, and work
well with Django
Post by Loai Ghoraba
Hi
I am very comfortable with Django, and I was wondering about whether
there is some way to convert a Django web app into a Desktop app (may be
not 100%), so that I can distribute it to users. May be wrapping it in a
light web server "if there is something like this".
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/ruJ-QX6bLO8J.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-***@googlegroups.com.
To unsubscribe from this group, send email to django-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
peter
2012-12-18 19:43:56 UTC
Permalink
Post by Loai Ghoraba
@ all thanks for your responses, I will try to investigate them
@Chris: you got me right :) I can use runserver, but it would be too
light, or make the client install and configure apache (which is not a
good idea if the client is a normal user, not a programmer).
I think what Loai is asking for is a way to "wrap up" the
python/django application, along with a light-weight webserver
(not as light-weight as "runserver" though), so it looks like a
stand-alone application... apart from needing to run a web browser
to connect to it.
eNo module named _tkinter, please install the python-tk package
I, too, am very interested in this.
Python Freeze: http://wiki.python.org/moin/Freeze
cx_Freeze: http://cx-freeze.sourceforge.net
Py2Exe: http://wiki.python.org/moin/Py2Exe
py2app: http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html
These handle turning the python program into a stand-alone
executable. It doesn't solve the web-server issue, though. There
are a ton of choices there (eg: gunicorn, twisted, tornado,
web.py) but I have no opinion on which one is going to both
"freeze" well, serve static files well, and work well with Django
Hi
I am very comfortable with Django, and I was wondering about
whether there is some way to convert a Django web app into a
Desktop app (may be not 100%), so that I can distribute it to
users. May be wrapping it in a light web server "if there is
something like this".
Thanks
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/ruJ-QX6bLO8J.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.
You can use xampp. Create a automatic installer that install xampp and
django with your app.
Just like Kordi EDMS. http://www.kordil.net/.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-***@googlegroups.com.
To unsubscribe from this group, send email to django-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Chris Cogdon
2012-12-18 20:18:07 UTC
Permalink
No Python included with xampp... this makes me sad ;_;
Post by peter
You can use xampp. Create a automatic installer that install xampp and
django with your app.
Just like Kordi EDMS. http://www.kordil.net/.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/KmUdBqv7KZoJ.
To post to this group, send email to django-***@googlegroups.com.
To unsubscribe from this group, send email to django-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
peter
2012-12-18 20:14:59 UTC
Permalink
Post by Chris Cogdon
No Python included with xampp... this makes me sad ;_;
You can use xampp. Create a automatic installer that install xampp
and django with your app.
Just like Kordi EDMS. http://www.kordil.net/.
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/KmUdBqv7KZoJ.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.
Don't realy mathers is xampp comes or not with python, you just need to
add wsgi module to xampp. and then configure your app to run from
xampp.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-***@googlegroups.com.
To unsubscribe from this group, send email to django-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Chris Cogdon
2012-12-18 21:39:21 UTC
Permalink
Personally, I'd prefer something that didn't require packaging up
additional programs (xampp and python, in this example).

It should be _perfectly possible_ to find a native-python moderate
performance webserver, then wrap up that, django, the application and the
python interpreter into a single package.
Post by peter
Don't realy mathers is xampp comes or not with python, you just need to
add wsgi module to xampp. and then configure your app to run from
xampp.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/pRN_aCJPT8sJ.
To post to this group, send email to django-***@googlegroups.com.
To unsubscribe from this group, send email to django-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Loai Ghoraba
2012-12-19 20:31:27 UTC
Permalink
@all thanks a lot, I will try your suggestions, may be mixing them :)
Post by Chris Cogdon
Personally, I'd prefer something that didn't require packaging up
additional programs (xampp and python, in this example).
It should be _perfectly possible_ to find a native-python moderate
performance webserver, then wrap up that, django, the application and the
python interpreter into a single package.
Post by peter
Don't realy mathers is xampp comes or not with python, you just need to
add wsgi module to xampp. and then configure your app to run from
xampp.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/pRN_aCJPT8sJ.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-***@googlegroups.com.
To unsubscribe from this group, send email to django-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Gladson SimplĂ­cio Brito
2012-12-19 05:48:09 UTC
Permalink
http://portablepython.com/
Post by Chris Cogdon
Personally, I'd prefer something that didn't require packaging up
additional programs (xampp and python, in this example).
It should be _perfectly possible_ to find a native-python moderate
performance webserver, then wrap up that, django, the application and the
python interpreter into a single package.
Post by peter
Don't realy mathers is xampp comes or not with python, you just need to
add wsgi module to xampp. and then configure your app to run from
xampp.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/pRN_aCJPT8sJ.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-***@googlegroups.com.
To unsubscribe from this group, send email to django-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
o***@gmail.com
2017-04-08 06:40:51 UTC
Permalink
Hello,

It can be helped by see.

A lot of apps.

www.apparelexportgr.com
Post by Chris Cogdon
Personally, I'd prefer something that didn't require packaging up
additional programs (xampp and python, in this example).
It should be _perfectly possible_ to find a native-python moderate
performance webserver, then wrap up that, django, the application and the
python interpreter into a single package.
Post by peter
Don't realy mathers is xampp comes or not with python, you just need to
add wsgi module to xampp. and then configure your app to run from
xampp.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4c1a849a-2370-4098-ab05-9b4b553a69d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
peter
2012-12-18 20:24:35 UTC
Permalink
Post by Chris Cogdon
No Python included with xampp... this makes me sad ;_;
You can use xampp. Create a automatic installer that install xampp
and django with your app.
Just like Kordi EDMS. http://www.kordil.net/.
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/KmUdBqv7KZoJ.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.
I'm not read the hole article, but the author say 'It works'.

http://www.leonardaustin.com/technical/install-python-and-django-with-xampp-on-windows-7

Is run in windows definitely is going to run on unix :)
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-***@googlegroups.com.
To unsubscribe from this group, send email to django-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Filip Wasilewski
2012-12-20 22:55:54 UTC
Permalink
Hi,
Post by Loai Ghoraba
Hi
I am very comfortable with Django, and I was wondering about whether there
is some way to convert a Django web app into a Desktop app (may be not
100%), so that I can distribute it to users. May be wrapping it in a light
web server "if there is something like this".
I've been recently going through the process of distributing Django web
application with binary dependencies (NumPy/SciPy) as an one-click
executable. I have evaluated several solutions and the most effective was
creating a single-file binary package using PyInstaller
(pyinstaller.org, development version with some modifications for proper
dependency discovery). As for the web server I went with the pure-Python
CherryPy server (cherrypy.org). See https://gist.github.com/4349257 for
sample server script.


Filip
en.ig.ma
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/7umVeAxLLBAJ.
To post to this group, send email to django-***@googlegroups.com.
To unsubscribe from this group, send email to django-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Mike Dewhirst
2012-12-20 23:37:19 UTC
Permalink
See also https://us.pycon.org/2012/schedule/presentation/393/ by Ryan
Kelly and his 'esky' package for safely updating distributed apps. There
is a link to that and other items in the above pycon talk.

Mike
Post by Loai Ghoraba
Hi,
Hi
I am very comfortable with Django, and I was wondering about whether
there is some way to convert a Django web app into a Desktop app
(may be not 100%), so that I can distribute it to users. May be
wrapping it in a light web server "if there is something like this".
I've been recently going through the process of distributing Django web
application with binary dependencies (NumPy/SciPy) as an one-click
executable. I have evaluated several solutions and the most effective
was creating a single-file binary package using PyInstaller
(pyinstaller.org, development version with some modifications for proper
dependency discovery). As for the web server I went with the pure-Python
CherryPy server (cherrypy.org). See https://gist.github.com/4349257 for
sample server script.
Filip
en.ig.ma
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/7umVeAxLLBAJ.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-***@googlegroups.com.
To unsubscribe from this group, send email to django-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Loai Ghoraba
2012-12-21 06:20:31 UTC
Permalink
@Filib: thanks a lot, seems that is what I will need exactly :)
See also https://us.pycon.org/2012/**schedule/presentation/393/<https://us.pycon.org/2012/schedule/presentation/393/>by Ryan Kelly and his 'esky' package for safely updating distributed apps.
There is a link to that and other items in the above pycon talk.
Mike
Post by Loai Ghoraba
Hi,
Hi
I am very comfortable with Django, and I was wondering about whether
there is some way to convert a Django web app into a Desktop app
(may be not 100%), so that I can distribute it to users. May be
wrapping it in a light web server "if there is something like this".
I've been recently going through the process of distributing Django web
application with binary dependencies (NumPy/SciPy) as an one-click
executable. I have evaluated several solutions and the most effective
was creating a single-file binary package using PyInstaller
(pyinstaller.org, development version with some modifications for proper
dependency discovery). As for the web server I went with the pure-Python
CherryPy server (cherrypy.org). See https://gist.github.com/**4349257<https://gist.github.com/4349257>for
sample server script.
Filip
en.ig.ma
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/**msg/django-users/-/**7umVeAxLLBAJ<https://groups.google.com/d/msg/django-users/-/7umVeAxLLBAJ>
.
To unsubscribe from this group, send email to
.
For more options, visit this group at
http://groups.google.com/**group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en>
.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
For more options, visit this group at http://groups.google.com/**
group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en>
.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-***@googlegroups.com.
To unsubscribe from this group, send email to django-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Kevin London
2013-03-01 04:09:56 UTC
Permalink
@Loai, how did Pyinstaller work out for you? Is that the route you took?
Post by Loai Ghoraba
@Filib: thanks a lot, seems that is what I will need exactly :)
See also https://us.pycon.org/2012/**schedule/presentation/393/<https://us.pycon.org/2012/schedule/presentation/393/>by Ryan Kelly and his 'esky' package for safely updating distributed apps.
There is a link to that and other items in the above pycon talk.
Mike
Post by Loai Ghoraba
Hi,
Hi
I am very comfortable with Django, and I was wondering about whether
there is some way to convert a Django web app into a Desktop app
(may be not 100%), so that I can distribute it to users. May be
wrapping it in a light web server "if there is something like this".
I've been recently going through the process of distributing Django web
application with binary dependencies (NumPy/SciPy) as an one-click
executable. I have evaluated several solutions and the most effective
was creating a single-file binary package using PyInstaller
(pyinstaller.org, development version with some modifications for proper
dependency discovery). As for the web server I went with the pure-Python
CherryPy server (cherrypy.org). See https://gist.github.com/**4349257<https://gist.github.com/4349257>for
sample server script.
Filip
en.ig.ma
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/**msg/django-users/-/**7umVeAxLLBAJ<https://groups.google.com/d/msg/django-users/-/7umVeAxLLBAJ>
.
.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/**group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en>
.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
.
googlegroups.com <javascript:>.
For more options, visit this group at http://groups.google.com/**
group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en>
.
--
This e-mail is the property of LightIron Digital LLC. It is intended only
for the person or entity to which it is addressed and may contain
information that is privileged, confidential, or otherwise protected from
disclosure. Distribution or copying of this e-mail, or the information
contained herein, to anyone other than the intended recipient is prohibited.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Loai Ghoraba
2013-03-01 17:13:07 UTC
Permalink
actually I were busy in some other stuff lately, so I didn't try any :)
plus I found that even if I tried then it will be useless to my needs,
sorry :)
Post by Kevin London
@Loai, how did Pyinstaller work out for you? Is that the route you took?
Post by Loai Ghoraba
@Filib: thanks a lot, seems that is what I will need exactly :)
See also https://us.pycon.org/2012/**sche**dule/presentation/393/<https://us.pycon.org/2012/schedule/presentation/393/>by Ryan Kelly and his 'esky' package for safely updating distributed apps.
There is a link to that and other items in the above pycon talk.
Mike
Post by Loai Ghoraba
Hi,
Hi
I am very comfortable with Django, and I was wondering about whether
there is some way to convert a Django web app into a Desktop app
(may be not 100%), so that I can distribute it to users. May be
wrapping it in a light web server "if there is something like this".
I've been recently going through the process of distributing Django web
application with binary dependencies (NumPy/SciPy) as an one-click
executable. I have evaluated several solutions and the most effective
was creating a single-file binary package using PyInstaller
(pyinstaller.org, development version with some modifications for proper
dependency discovery). As for the web server I went with the pure-Python
CherryPy server (cherrypy.org). See https://gist.github.com/**434925**7<https://gist.github.com/4349257>for
sample server script.
Filip
en.ig.ma
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/**ms**g/django-users/-/**7umVeAxLLBAJ<https://groups.google.com/d/msg/django-users/-/7umVeAxLLBAJ>
.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/**group**/django-users?hl=en<http://groups.google.com/group/django-users?hl=en>
.
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
egroups.com.
For more options, visit this group at http://groups.google.com/**group**
/django-users?hl=en <http://groups.google.com/group/django-users?hl=en>.
This e-mail is the property of LightIron Digital LLC. It is intended only
for the person or entity to which it is addressed and may contain
information that is privileged, confidential, or otherwise protected from
disclosure. Distribution or copying of this e-mail, or the information
contained herein, to anyone other than the intended recipient is prohibited.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Kevin London
2013-03-01 17:55:35 UTC
Permalink
Oh okay, interesting. Thank you for following up. I'm going down the
Pyinstaller route, I think. Support for Django in Pyinstaller is so recent
that I'm hitting a number of snags, so I might need to go py2app if it
doesn't pan out yet. Thanks to everyone so far for their contributions,
this has been a very helpful thread in working through the distributing
problem.

*Kevin London*
**Light Iron
6381 De Longpre Avenue
Los Angeles, CA 90028
t: 323-472-8300
c: 858-603-9037
www.lightiron.com
Post by Loai Ghoraba
actually I were busy in some other stuff lately, so I didn't try any :)
plus I found that even if I tried then it will be useless to my needs,
sorry :)
Post by Kevin London
@Loai, how did Pyinstaller work out for you? Is that the route you took?
Post by Loai Ghoraba
@Filib: thanks a lot, seems that is what I will need exactly :)
See also https://us.pycon.org/2012/**sche**dule/presentation/393/<https://us.pycon.org/2012/schedule/presentation/393/>by Ryan Kelly and his 'esky' package for safely updating distributed apps.
There is a link to that and other items in the above pycon talk.
Mike
Post by Loai Ghoraba
Hi,
Hi
I am very comfortable with Django, and I was wondering about whether
there is some way to convert a Django web app into a Desktop app
(may be not 100%), so that I can distribute it to users. May be
wrapping it in a light web server "if there is something like this".
I've been recently going through the process of distributing Django web
application with binary dependencies (NumPy/SciPy) as an one-click
executable. I have evaluated several solutions and the most effective
was creating a single-file binary package using PyInstaller
(pyinstaller.org, development version with some modifications for proper
dependency discovery). As for the web server I went with the pure-Python
CherryPy server (cherrypy.org). See https://gist.github.com/**434925**
7 <https://gist.github.com/4349257> for
sample server script.
Filip
en.ig.ma
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/**ms**g/django-users/-/**7umVeAxLLBAJ<https://groups.google.com/d/msg/django-users/-/7umVeAxLLBAJ>
.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/**group**/django-users?hl=en<http://groups.google.com/group/django-users?hl=en>
.
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
egroups.com.
For more options, visit this group at http://groups.google.com/**group*
*/django-users?hl=en<http://groups.google.com/group/django-users?hl=en>
.
This e-mail is the property of LightIron Digital LLC. It is intended only
for the person or entity to which it is addressed and may contain
information that is privileged, confidential, or otherwise protected from
disclosure. Distribution or copying of this e-mail, or the information
contained herein, to anyone other than the intended recipient is prohibited.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the
Google Groups "Django users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/django-users/-VGqvHew35g/unsubscribe?hl=en
.
To unsubscribe from this group and all its topics, send an email to
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
This e-mail is the property of LightIron Digital LLC. It is intended only
for the person or entity to which it is addressed and may contain
information that is privileged, confidential, or otherwise protected from
disclosure. Distribution or copying of this e-mail, or the information
contained herein, to anyone other than the intended recipient is prohibited.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Czarek Tomczak
2013-03-02 01:00:33 UTC
Permalink
Hi Loai,

Have a look at CEF Python that embeds Chrome browser:
https://code.google.com/p/cefpython/
You will need to run a web server to convert it into a desktop application,
have a look
at CefBottleDesktop <https://github.com/eristoddle/CefBottleDesktop> that
embeds CEF and runs a python web server along with
bottle.py <https://github.com/defnull/bottle> framework.

Also have a look at Python Desktop that embeds Internet Explorer browser and
Mongoose web server:
https://code.google.com/p/phpdesktop/wiki/EmbeddingOtherScriptingLanguages

I am the author of both projects.

Cheers,
Czarek.
Post by Loai Ghoraba
Hi
I am very comfortable with Django, and I was wondering about whether there
is some way to convert a Django web app into a Desktop app (may be not
100%), so that I can distribute it to users. May be wrapping it in a light
web server "if there is something like this".
Thanks
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Loai Ghoraba
2013-03-06 08:30:46 UTC
Permalink
thanks a lot, I will look at them if I have time :)
Post by Czarek Tomczak
Hi Loai,
https://code.google.com/p/cefpython/
You will need to run a web server to convert it into a desktop
application, have a look
at CefBottleDesktop <https://github.com/eristoddle/CefBottleDesktop> that
embeds CEF and runs a python web server along with
bottle.py <https://github.com/defnull/bottle> framework.
Also have a look at Python Desktop that embeds Internet Explorer browser and
https://code.google.com/p/phpdesktop/wiki/EmbeddingOtherScriptingLanguages
I am the author of both projects.
Cheers,
Czarek.
Post by Loai Ghoraba
Hi
I am very comfortable with Django, and I was wondering about whether
there is some way to convert a Django web app into a Desktop app (may be
not 100%), so that I can distribute it to users. May be wrapping it in a
light web server "if there is something like this".
Thanks
--
You received this message because you are subscribed to a topic in the
Google Groups "Django users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/django-users/-VGqvHew35g/unsubscribe?hl=en
.
To unsubscribe from this group and all its topics, send an email to
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Kevin London
2013-03-06 18:02:08 UTC
Permalink
Just to follow up on this, I wound up using py2app, although it made things
considerably more complicated. I made a Github repo during testing which
can be found here. <https://github.com/kevinlondon/django-py2app-demo> It's
incomplete as I moved from testing into using py2app on the intended
application, but it should at least provide some clues.

*Kevin London*
**Light Iron
6381 De Longpre Avenue
Los Angeles, CA 90028
t: 323-472-8300
c: 858-603-9037
www.lightiron.com
Post by Loai Ghoraba
thanks a lot, I will look at them if I have time :)
Post by Czarek Tomczak
Hi Loai,
https://code.google.com/p/cefpython/
You will need to run a web server to convert it into a desktop
application, have a look
at CefBottleDesktop <https://github.com/eristoddle/CefBottleDesktop>that embeds CEF and runs a python web server along with
bottle.py <https://github.com/defnull/bottle> framework.
Also have a look at Python Desktop that embeds Internet Explorer browser and
https://code.google.com/p/phpdesktop/wiki/EmbeddingOtherScriptingLanguages
I am the author of both projects.
Cheers,
Czarek.
Post by Loai Ghoraba
Hi
I am very comfortable with Django, and I was wondering about whether
there is some way to convert a Django web app into a Desktop app (may be
not 100%), so that I can distribute it to users. May be wrapping it in a
light web server "if there is something like this".
Thanks
--
You received this message because you are subscribed to a topic in the
Google Groups "Django users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/django-users/-VGqvHew35g/unsubscribe?hl=en
.
To unsubscribe from this group and all its topics, send an email to
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the
Google Groups "Django users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/django-users/-VGqvHew35g/unsubscribe?hl=en
.
To unsubscribe from this group and all its topics, send an email to
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
This e-mail is the property of LightIron Digital LLC. It is intended only
for the person or entity to which it is addressed and may contain
information that is privileged, confidential, or otherwise protected from
disclosure. Distribution or copying of this e-mail, or the information
contained herein, to anyone other than the intended recipient is prohibited.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Loading...