Chat Solution for Mobile App - python-2.7

I am looking for a chat solution that I can integrate into my mobile app. So far, I have been looking into python solutions and have come across the "chat demo in tornado" library. Are there any more advanced solutions that I can look into ?
CHat demo link : https://github.com/facebook/tornado/tree/master/demos/chat

There is this play2 (java) app that has been developed as an example by Heroku that makes use of Redis and WebSockets: https://github.com/heroku-examples/play-websockets-chat-sample
It could be helpful.

There are lots.
Some django based are:
Using the excelent pusher.com service: https://github.com/andres-torres-marroquin/django-pusher-chat
https://github.com/qubird/django-chatrooms
uing comet: https://bitbucket.org/nicoechaniz/django-live/src
with tornado and websockets: https://github.com/aruseni/chat
https://github.com/sveetch/djangotribune
http://code.google.com/p/django-chat/
http://code.google.com/p/django-jqchat/
Some Flask based:
using gevent and websockets: https://github.com/kcarnold/flask-gevent-socketio-chat
using gevent and websockets running on heroku: http://callmephilip.github.io/chatzilla/
using websockets on heroku: https://github.com/heroku-examples/python-websockets-chat
I'm pretty sure that there are chat apps for most of the python web frameworks we know. I've listed only those for django and flask because they are my favourite web frameworks.

I know a chat software named 123 Flash Chat. I guess it will totally satisfied with your request. They provide mobile chat app integration for ios and andriod. You can have a try, hope it will help you. :)
http://www.123flashchat.com/mobile-chat-promo.html
http://www.123flashchat.com/build-mobile-chat-app

If you are looking for an android (JAVA) chat library I recommend MQTT chat. It is more than a library, a complete messenger with extremely fast messages dending using the MQTT protocol and also it provides audio and video calls with webrtc. integration is also very easy. Even a beginner in Android can integrate it

Related

Django WebRTC TURN/STUN/ICE Server

So I have a basic question about WebRTC with Python Django.
Maybe I start at the beginning:
So is it possible that Python Django can serve as a Server for WebRTC? I think in generell it shouldn't be that hard, because how I saw the WebRTC client only needs a Websocket connection. I hope anybody can help me with that. Btw. I use Django Channels, so I think it is possible to build this connection, but how? :)
I would guess they're not recommending it above because it gets complicated very quickly implementing WebRTC video calls on your own with cross-browser support (Safari, especially). Using existing video APIs that have done that work for you can be a great option for a lot of companies to avoid all the edge cases that affect video quality. Daily, Agora, Twilio are all video API options that can handle this work for you.
It's not impossible but I do not recommend!
Instead, there are some WebRTC media servers like Jitsi, AntMedia and Janus. I used the last one on one of our project with Django.
Checkout microservices achitecture and find a way to combine your project with Django (for Authentication, Authorization and other processes) + WebRTC Media Server + Frontend and/or Mobile App. May Frontend could be in same code base with Django, up to you.

Getting Django server to subscribe to another Django server with Channels WebSockets

I am trying to work out how I can get Django Server B(IOT device) to subscribe to Django Server A (cloud) using Channels WebSockets.
This is so that I can pass data async between them. Server B will be on an IOT device and Server A will be cloud-based. I've been looking everywhere, but most of the online tutorials and documentation seems to be based on subscribing(client-side) with Javascript. Surely there must be a way to subscribe with Python! Most of the online tutorials seem to be for chat apps too. It would be great if someone could help please. I'm sure there are other people looking for this same answer too. Thank you :)

Should we create chat application with Flutter and Django if we want good performance and efficiency?

I am a newbie in the chat application world but I am not new in the IT world! I want to create a chat application that may have a large user base in the future. I have researched that now days flutter is a very good option to create cross-platform apps and it is good in terms of performance. So to create that chat app in android and ios I will use flutter in front-end for sure!
But for backend, I am not so sure. I have 3 years of experience in python and Django and that's why I wanted to use Django as backend in my chat app. I have searched that there is one package of Django named Django-channels which I can use to build a chat app! But I have concerned like will django-channels be a good option to build a large chat application like Instagram or WhatsApp?
For high-performance web applications Django is quite performant and good.
What you are searching for is a language or framework that can handle lots of connections, threads and users.
Another aspect you would want to consider is the scalability of your application.
You can definitely build a chat application on Django. django-channels is a good choice for building NRT applications. But I would recommend looking into other tech stacks as well.
You should also consider using a well-established protocol such as XMPP as the base for your application.

Python and Node.js

J want to do an app in python with django but it will be real time , and I would like to use Node.js for that. I've been looking for and I discovered that I can use Socket.io and "Include" it on the template and then socket.io will execute node.js
Do you have any tutorial or idea of this ?
You may want to have a look at this article.
It deals with push notifications from the server to the client with Django and node.js on the server side. And socket.io to interface with the browser.

Solution for use Django with Ejabberd?

I want to use my django website with ejabberd for chat
is there API available for ejabberd to communicate?
Thanks in advance
renjith
The standard for using XMPP with a webpage is called XMPP over BOSH. You can enable BOSH in ejabberd and then use an XMPP client library (like SleekXMPP) to talk.
Try searching using some mixture of the keywords "Jabber", "XMPP", or "BOSH", and I think you'll find a number of other people connecting Django with a Jabber server.