#twisted

/

      • kenaan
        Tickets pending review: https://tm.tl/#9287, #9305, #9333 (markrwilliams), #9337, #9338, #9340, #9350 (ktdreyer), #9210 (markrwilliams), #9358, #9353, #9365 (axiaoxin), #9374, #9375, #9377, #9379, #8966 (the0id), #9383, #9100, #9118 (the0id), #4964 (jameshilliard), #9138, #9176
      • mk-fg joined the channel
      • mk-fg joined the channel
      • clokep_tb has quit
      • itamarst has quit
      • rthille-ciena joined the channel
      • rthille-ciena has quit
      • rthille-ciena joined the channel
      • itamar has quit
      • itamar joined the channel
      • itamar has quit
      • Vlek joined the channel
      • jwacalex_ is now known as jwacalex
      • mk-fg has quit
      • mk-fg joined the channel
      • mk-fg joined the channel
      • mk-fg has quit
      • Vlek has quit
      • mk-fg joined the channel
      • mk-fg joined the channel
      • fiddlerwoaroof has quit
      • fiddlerwoaroof joined the channel
      • Andocromn_ joined the channel
      • Andocromn has quit
      • rthille-ciena has quit
      • Tickets pending review: https://tm.tl/#9287, #9305, #9333 (markrwilliams), #9337, #9338, #9340, #9350 (ktdreyer), #9210 (markrwilliams), #9358, #9353, #9365 (axiaoxin), #9374, #9375, #9377, #9379, #8966 (the0id), #9383, #9100, #9118 (the0id), #4964 (jameshilliard), #9138, #9176
      • jamesaxl joined the channel
      • Andocromn_ has quit
      • Andocromn joined the channel
      • Andocromn has quit
      • Andocromn joined the channel
      • Andocromn has quit
      • Andocromn joined the channel
      • Andocromn_ joined the channel
      • Andocromn has quit
      • Andocromn_ has quit
      • Andocromn joined the channel
      • clokep_tb joined the channel
      • clokep_tb has quit
      • yuhl joined the channel
      • oberstet joined the channel
      • efphe joined the channel
      • fl0v0 joined the channel
      • psi29a joined the channel
      • oberstet has quit
      • Tickets pending review: https://tm.tl/#9287, #9305, #9333 (markrwilliams), #9337, #9338, #9340, #9350 (ktdreyer), #9210 (markrwilliams), #9358, #9353, #9365 (axiaoxin), #9374, #9375, #9377, #9379, #8966 (the0id), #9383, #9100, #9118 (the0id), #4964 (jameshilliard), #9138, #9176
      • LichtMacher joined the channel
      • oberstet joined the channel
      • terrycojones joined the channel
      • itamar joined the channel
      • rakiru joined the channel
      • rajesh joined the channel
      • terrycojones has quit
      • oberstet2 joined the channel
      • clokep_tb joined the channel
      • oberstet has quit
      • itamarst joined the channel
      • LordVan joined the channel
      • terrycojones joined the channel
      • terrycojones_ joined the channel
      • oberstet2 joined the channel
      • yuhl has quit
      • yuhl joined the channel
      • __peke__ joined the channel
      • Tickets pending review: https://tm.tl/#9287, #9305, #9333 (markrwilliams), #9337, #9338, #9340, #9350 (ktdreyer), #9210 (markrwilliams), #9358, #9353, #9365 (axiaoxin), #9374, #9375, #9377, #9379, #8966 (the0id), #9383, #9100, #9118 (the0id), #4964 (jameshilliard), #9138, #9176
      • efphe has quit
      • terrycojones_ has quit
      • terrycojones joined the channel
      • psi29a has quit
      • efphe joined the channel
      • iffy joined the channel
      • iffy has left the channel
      • slav0nic joined the channel
      • efphe has quit
      • InfoTest joined the channel
      • fl0v0 has quit
      • InfoTest joined the channel
      • InfoTest1 joined the channel
      • InfoTest has quit
      • InfoTest joined the channel
      • InfoTest has quit
      • InfoTest joined the channel
      • InfoTest has quit
      • InfoTest joined the channel
      • rthille-ciena joined the channel
      • terrycojones joined the channel
      • donald_ joined the channel
      • donald_
        I just finished the graphic interface of my irc client for the school. Now I need to find the part of the library of twisted the way to get message from server. I found https://twisted.readthedocs.io/en/latest/words/... ... is any function to listen to irc server implemented in twisted,
      • yuhl joined the channel
      • sphet joined the channel
      • sphet
        Hello - wonder if someone can point me in the right direction: I am trying to find the right way to model this use case: I have Python-Eve (a flask based app) publishing endpoints for mongoDB. I would like to have a websocket event system to allow people to register for notification when specific endpoints would yield more data.
      • So when a PUT is performed on the endpoint, it signals that new data is available via the event, or even just pushes the data out to those listening.
      • energizer joined the channel
      • energizer joined the channel
      • energizer has quit
      • energizer joined the channel
      • sphet has quit
      • sphet joined the channel
      • sigh ... did anyone reply
      • kenaan
        Tickets pending review: https://tm.tl/#9287, #9305, #9333 (markrwilliams), #9337, #9338, #9340, #9350 (ktdreyer), #9210 (markrwilliams), #9358, #9353, #9365 (axiaoxin), #9374, #9375, #9377, #9379, #8966 (the0id), #9383, #9100, #9118 (the0id), #4964 (jameshilliard), #9138, #9176
      • bitranch has quit
      • bitranch joined the channel
      • donald_ has left the channel
      • efphe joined the channel
      • jMyles
        sphet: How are you? What you've proposed sounds reasonable enough - but what exactly is your question?
      • sphet
        jMyles: Thanks for your time! I guess my question is - where do I start? Currently I have a flask-based app running eve that is being run through twisted via a WSGIResource. I don't know how to add the websocket part along side that, nor the best way to interop between the blocking flask handlers and the async websocket elements.
      • jMyles: I can't believe I just said "Where do I start?" - the curse of help boards. I actually am farther along than 'starting'.
      • jMyles
        sphet: :-)
      • sphet: One way or another, the answer to your question probably involves Autobahn.
      • sphet
        jMyles: We're coming from the environment of using buildbot, which uses autobahn and twisted. We would like to use similar technology since it is already installed in our environment and we know a bit about it.
      • jMyles: That was my suspicion.
      • jMyles
        sphet: Personally, I prefer a project that I maintain called hendrix.
      • sphet
        jMyles: let me quickly take a look.
      • jMyles
        Here's a demo that shows using hendrix (albeit with Django) with websockets: https://github.com/jMyles/hendrix-demo-django-nyc
      • (and here's a talk I gave, during which I built the demo above: https://www.youtube.com/watch?v=92VeMkjM1TQ)
      • sphet
        jMyles: does it run just as well under Windows as unix? We deploy to unix but develop under windows (long story on that)
      • jMyles
        I... can't say I'm sure about that. I... think so?
      • sphet
        jMyles :)
      • jMyles: I will gladly look into it. I was thinking of trying to use Autobahn but I became confused about whether I need a WAMP router and crossbar.io and then got lost in understanding what those thingsare.
      • jMyles
        hendrix uses Autobahn for native websockets (and can use txsockjs for JS websockets / long-polling, but I don't recommend that anymore).
      • clokep_tb has quit
      • itamar has quit
      • sphet
        jMyles: Can you give me 5 second WAMP/crossbar router overview?
      • Do I need to be running crossbar?
      • itamar joined the channel
      • LichtMacher joined the channel
      • clokep_tb joined the channel
      • jMyles
        sphet: Nope!
      • Although you might want to for your own reasons.
      • sphet: If you are going to use hendrix, I suggest starting with tags/3.0.0rc1
      • That will be released on PyPI within a couple weeks.
      • sphet
        great thanks so much for your help
      • jMyles
        I'm actually interested in any thoughts that anybody in this channel might have about a different issue in hendrix:
      • Basically, I had to write my own tooling to do curve selection (and to set an EC key in PyOpenSSL). Does this stuff belong in twisted instead of hendrix?
      • clokep_tb has quit
      • rthille-ciena joined the channel
      • meejah
        sphet: the Autobahn library supports WebSockets *and* WAMP -- they're two different things
      • WAMP can use WebSockets (or other transports) and does PubSub and RPC. To use WAMP you need a router (crossbar.io is one)
      • if you're just using plain WebSockets you don't need crossbar.io
      • sphet
        meejah: But if I want a pub/sub system I can roll my own I guess.
      • meejah
        sphet: you can roll your own, sure, or use WAMP (with crossbar.io for example)
      • sphet
        meejah: I need some mechanism for cleints to subscribe to the data and publish the events back.
      • meejah
        sounds like a good use-case for publish/subscribe for sore
      • sure
      • slav0nic has quit
      • clokep_tb joined the channel
      • dude-x_ joined the channel
      • clokep_tb joined the channel