Cant connect from python client to meteor server using python-ddp


#1

I am trying to connect meteor server using python-ddp package https://github.com/hharnisc/python-ddp

When i run the py file,just nothing happens and programme terminates.Server is running port and everything is correct.

from DDPClient import DDPClient
  
client = DDPClient('ws://127.0.0.1:3000/websocket')
client.connect()
def connected():
    print("connected")

client.on('connected', connected)  

I guess python-ddp package is outdated and thats why its not working ? Is there anyone who is using this package to communicate with meteor server ?

Do you guys recommend any other package/way to communicate with meteor using python client ?

thanks