i just got a chance to revisit. scrapped ws4py for websocket-client. threw together in pyext. seems to work fine. i have to close connection though which I did not immediately figure out but just sending [reload{ to pyext with close connection.... hmmmm.

https://github.com/megrimm/pd-pyws

also, anyone know why I get "Bad arguments for message 'loadbang' to object 'pyext'" for pyext objects? and how do I stop that?

cheers
m

On Sat, Jun 25, 2016 at 11:47 AM, me.grimm <megrimm@gmail.com> wrote:
i just found this:

which might be implementable in external? though i have never written an external against a lib api.... any good examples?

jamoma looks awesome... i had never seen it before. I will have to look into it more.
rhizome might not work. it is a web server I assume? I need to get data from a feed via a websocket (not mine).. but maybe I can?
I will also look at flask... looks good on surface.

cheers
m

On Fri, Jun 24, 2016 at 6:08 PM, patrice colet <colet.patrice@free.fr> wrote:

maybe flask would be better for a python socket module

https://flask-socketio.readthedocs.io/en/latest/


Le 24/06/2016 à 16:22, me.grimm a écrit :
yeah I am basically looking to stream a data feed from a website for example:


with python:

which I'm having a hard time adapting to pyext. see:

but maybe you awesome list peeps have better suggestions?

On Fri, Jun 24, 2016 at 7:03 AM, patrice colet <colet.patrice@free.fr> wrote:

by the way I wanted to know why writing a socket client in pd because it just take three lines of code for having a functionnal FUDI pdsend in almost all interpreted language...


Le 24/06/2016 à 00:01, patrice colet a écrit :

hello,

 I'm doing web socket with pd and a patch taken in here,  it's a server using mrpeach/tcp objects, I've attached it again...

my client is written in html5 there are pletores of online tutorials for doing the socket client working with this http server...

Is it possible to run a python http server through pyext without admin rights?

patco


Le 23/06/2016 à 22:54, me.grimm a écrit :
Hello,

Anyone make a Websocket client for Pd? I see there is a server attempt out there (could not find external code, just references) but a client is what I need....

Been trying to build one with python/pyext but running into a wall and thought I would just ask in case I could save myself some time.

Thanks!
m



_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list

-- 
Patrice Colet
fr: 0632660357


_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list

-- 
Patrice Colet
fr: 0632660357

_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list




--
____________________
m.e.grimm, m.f.a, ed.m.
syracuse u., tc3
megrimm.net
____________________

-- 
Patrice Colet
fr: 0632660357



--
____________________
m.e.grimm, m.f.a, ed.m.
syracuse u., tc3
megrimm.net
____________________



--
____________________
m.e.grimm, m.f.a, ed.m.
syracuse u., tc3
megrimm.net
____________________