Re: Django channels with python background tasks

2018-05-27 Thread Sourabh Jaiswal
over one of many message channels out there. (ie. > zmq, redis, unix-sockets, etc) > > Hope this helps a little bit. > > On Sun, 2018-05-27 at 01:01 -0700, Sourabh Jaiswal wrote: > > HI Ryan, > > The back-end script in this case is not only doing telnet. Its getting >

Re: Django channels with python background tasks

2018-05-27 Thread Sourabh Jaiswal
doing it using an API that >>> you poll every few seconds - and then once you have that figured out, look >>> at how you could improve it using WebSockets and channels. >>> >>> Andrew >>> >>> On Sat, May 26, 2018 at 8:38 AM Sourabh Jaiswal >

Re: Django channels with python background tasks

2018-05-27 Thread Sourabh Jaiswal
e slower using a polling API connection. > > My recommendation would be to start simple - doing it using an API that > you poll every few seconds - and then once you have that figured out, look > at how you could improve it using WebSockets and channels. > > Andrew > > On Sat, M

Django channels with python background tasks

2018-05-25 Thread Sourabh Jaiswal
Hi, I am writing a python based application(CLI Back End) which does telnet to some network components and gets some data. It saves the data in sqlite db. For this application I am writing Django based frond end. Which will start the CLI app and monitor it. For communication between the CLI

Re: Open Sqlite database file directly in django

2018-05-24 Thread Sourabh Jaiswal
again block me. Because if I send data chunks to browser. The Graph will be created only for that much data Not whole. Please correct me if there is any other approach to fix this Graph problem too. Thanks a lot in advance. Regards, Sourabh Jaiswal. On Tuesday, May 22, 2018 at 5:55:32 PM UTC+5

Re: Open Sqlite database file directly in django

2018-05-24 Thread Sourabh Jaiswal
again block me. Because if I send data chunks to browser. The Graph will be created only for that much data Not whole. Please correct me if there is any other approach to fix this Graph problem too. Thanks a lot in advance. Regards, Sourabh Jaiswal. On Tuesday, May 22, 2018 at 5:55:32 PM UTC+5

Re: Open Sqlite database file directly in django

2018-05-23 Thread Sourabh Jaiswal
Hi, Thanks a Lot for your reply. Using standard python lib you are saying that I should send the data from view to template render using context dictionary.. right? But in my case data can be huge... Is that a good way to do it? Regards, Sourabh Jaiswal. On Tuesday, May 22, 2018 at 5:55:32

Open Sqlite database file directly in django

2018-05-22 Thread Sourabh Jaiswal
Hi, Is there any way to open sqlite db directly in django. I am working on an application for which a back end script creates a database for every execution. The database consists of multiple tables and I have to show those tables on the web site made in django. Is there any other way around f