| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 | Metadata-Version: 2.3Name: blinkerVersion: 1.9.0Summary: Fast, simple object-to-object and broadcast signalingAuthor: Jason KirtlandMaintainer-email: Pallets Ecosystem <contact@palletsprojects.com>Requires-Python: >=3.9Description-Content-Type: text/markdownClassifier: Development Status :: 5 - Production/StableClassifier: License :: OSI Approved :: MIT LicenseClassifier: Programming Language :: PythonClassifier: Typing :: TypedProject-URL: Chat, https://discord.gg/palletsProject-URL: Documentation, https://blinker.readthedocs.ioProject-URL: Source, https://github.com/pallets-eco/blinker/# BlinkerBlinker provides a fast dispatching system that allows any number ofinterested parties to subscribe to events, or "signals".## Pallets Community Ecosystem> [!IMPORTANT]\> This project is part of the Pallets Community Ecosystem. Pallets is the open> source organization that maintains Flask; Pallets-Eco enables community> maintenance of related projects. If you are interested in helping maintain> this project, please reach out on [the Pallets Discord server][discord].>> [discord]: https://discord.gg/pallets## ExampleSignal receivers can subscribe to specific senders or receive signalssent by any sender.```pycon>>> from blinker import signal>>> started = signal('round-started')>>> def each(round):...     print(f"Round {round}")...>>> started.connect(each)>>> def round_two(round):...     print("This is round two.")...>>> started.connect(round_two, sender=2)>>> for round in range(1, 4):...     started.send(round)...Round 1!Round 2!This is round two.Round 3!```
 |