Connection framework ..Mobile App in Java to Python server on raspberry pi

2019-02-07 Thread Arush Gupta
Hi ,

I am trying to connect my mobile app similar to Google home app..to the
Python server running on Raspberry pi..

Django REST API framework an option ..any other suggestion..

My data is mostly runtime generated like current time, news etc.. not much
stored in database..

Suggestion appreciate d

Regards,

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/CAAjpTPAu1nBgTOu0R9kk4AVvMeSNUTvMi8ucWsq-5nOKDujkHg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Java and Python

2009-07-22 Thread Vasil Vangelovski

You can certainly run django 1.0.2 in apache tomcat, jetty etc. See these:

http://docs.djangoproject.com/en/dev/howto/jython/
http://code.google.com/p/django-jython/

It's a bit slower  though (will fool anyone that it's a Java web app).


On Wed, Jul 22, 2009 at 11:58 PM, slypete<slyp...@gmail.com> wrote:
>
> Hi everyone,
>
> I'm looking for opinions on how to get Java and Python bidirectionally
> communicating . For example, I have a server written in Java that I'd
> like to have use my django model classes to insert database data and
> trigger events. In the other case, I'd like to call some java
> libraries I have when a user requests a page.
>
> For the first case, I'm interested in using jythonc. Has anyone had
> any success trying to compile django this way? If not, I suppose I
> could always resort to using the python interpreter; however, it would
> be nice to have this code compiled from the get go.
>
> In the second case, I'm not sure what to do at all. I looked at the
> PHP/Java bridge (don't let the name fool you), but it doesnt have very
> good documentation. I also had a look at JPype, but these dont seem to
> be the greatest solutions.
>
> My problem is, I don't know much about java servlets. Maybe I can just
> run django in a servlet engine like tomcat under Jython to get this
> working?
>
> Thanks for any help,
> Pete
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Java and Python

2009-07-22 Thread slypete

Hi everyone,

I'm looking for opinions on how to get Java and Python bidirectionally
communicating . For example, I have a server written in Java that I'd
like to have use my django model classes to insert database data and
trigger events. In the other case, I'd like to call some java
libraries I have when a user requests a page.

For the first case, I'm interested in using jythonc. Has anyone had
any success trying to compile django this way? If not, I suppose I
could always resort to using the python interpreter; however, it would
be nice to have this code compiled from the get go.

In the second case, I'm not sure what to do at all. I looked at the
PHP/Java bridge (don't let the name fool you), but it doesnt have very
good documentation. I also had a look at JPype, but these dont seem to
be the greatest solutions.

My problem is, I don't know much about java servlets. Maybe I can just
run django in a servlet engine like tomcat under Jython to get this
working?

Thanks for any help,
Pete

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---