Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    blinker 1.2

    Download button

    No screenshots available
    Downloads: 376  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Jason Kirtland | More programs
    MIT/X Consortium Lic... / FREE
    October 27th, 2011, 23:54 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    blinker description

    Fast, simple object-to-object and broadcast signaling

    blinker is a Python module that provides a fast dispatching system that allows any number of interested parties to subscribe to events, or "signals".

    Signal receivers can subscribe to specific senders or receive signals sent by any sender.

     >>> from blinker import Signal
     >>> signal = Signal()
     >>> def each(round):
     ... print "Round %s!" % round
     ...
     >>> signal.connect(each)
     >>> def round_two(round):
     ... print "This is round two."
     ...
     >>> signal.connect(round_two, sender=2)

     >>> for round in range(1, 4):
     ... signal.send(round)
     ...
     Round 1!
     Round 2!
     This is round two.
     Round 3!



    Product's homepage

    Requirements:

    · Python

    What's New in This Release: [ read full changelog ]

    · Added Signal.receiver_connected and Signal.receiver_disconnected per-Signal signals.
    · Deprecated the global 'receiver_connected' signal.
    · Verified Python 3.2 support (no changes needed!)

      


    TAGS:

    broadcast signaling | Python library | object-to-object | broadcast | signaling

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM