#twisted

/

      • itamar has quit
      • moshez joined the channel
      • Lightsword
        what’s the best option for using SNMP with twisted?
      • energizer joined the channel
      • moshez has quit
      • rthille-ciena joined the channel
      • moshez joined the channel
      • marius joined the channel
      • kenaan
        Tickets pending review: https://tm.tl/#7495, #7922, #9287, #9295, #9299, #9300, #6670, #9305, #761, #8966 (the0id), #9100, #9118 (the0id), #4964 (jameshilliard), #9138, #9176
      • twm
        I think that PySNMP is the go-to, though it's not too speedy.
      • evil_gordita joined the channel
      • rthille-ciena has quit
      • rthille-ciena joined the channel
      • kenaan
        Tickets pending review: https://tm.tl/#7495, #7922, #9287, #9295, #9299, #9300, #6670, #9305, #761, #8966 (the0id), #9100, #9118 (the0id), #4964 (jameshilliard), #9138, #9176
      • aboudreault joined the channel
      • xtech joined the channel
      • xtech
        hi sorry im asking a lot of questions recently, but is reactor in twisted multithreaded?
      • by default i mean
      • aboudreault joined the channel
      • Lightsword
        twm, I ended up using https://github.com/zenoss/pynetsnmp which worked pretty well after I cleaned up python 3 compatibility here https://github.com/zenoss/pynetsnmp/pull/24
      • itamar joined the channel
      • oberstet joined the channel
      • kenaan
        Tickets pending review: https://tm.tl/#7495, #7922, #9287, #9295, #9299, #9300, #6670, #9305, #761, #8966 (the0id), #9100, #9118 (the0id), #4964 (jameshilliard), #9138, #9176
      • epopt joined the channel
      • efphe joined the channel
      • efphe has quit
      • asdf
        xtech, no
      • xtech, the reactor is called that after the "reactor pattern"; it's using non-blocking IO with select or epoll or others (OS-dependent)
      • so it doesn't need multiple threads for IO
      • it's a somewhat common approach, other things that do this are eg. asyncio, nodejs, or ruby's eventmachine
      • kolko joined the channel
      • jamesaxl joined the channel
      • energizer joined the channel
      • energizer has quit
      • energizer joined the channel
      • kenaan
        Tickets pending review: https://tm.tl/#7495, #7922, #9287, #9295, #9299, #9300, #6670, #9305, #761, #8966 (the0id), #9100, #9118 (the0id), #4964 (jameshilliard), #9138, #9176
      • itamar has quit
      • xtech has quit
      • rthille-ciena joined the channel
      • clokep_tb joined the channel
      • new core enhancement https://tm.tl/#9312 by rodrigc: Remove twisted.python.win32.getProgramsMenuPath and twisted.python.win32.getProgramFilesPath
      • rodrigc submitted <https://tm.tl/#9312>; - Remove twisted.python.win32.getProgramsMenuPath and twisted.python.win32.getProgramFilesPath (unassigned) for review
      • itamar joined the channel
      • Volund joined the channel
      • Volund
        Huzzah people.
      • I'm looking to create a long-running Python program that will gather information from a RESTful-ish web API, and manage my own database that compiles and presents that information. Would the Twisted framework be a good core for that sort of endeavor?
      • teratorn
        Volund: sure
      • itamar has quit
      • Volund
        hrm.. so I'll be using Twisted for my main loop/async (assuming I understand it well enough...), I want an HTTP/2 client connected to the web API and I've found a few good-looking examples of that. I've figured out how to process a bunch of bytes into a string, then load to JSON, and convert to Python objects (list/dict/etc). ... All that's left is figuring out what sort of database wizardry would be best for this.