Name | blinker JSON |
Version |
1.7.0
JSON |
| download |
home_page | |
Summary | Fast, simple object-to-object and broadcast signaling |
upload_time | 2023-11-01 22:06:01 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.8 |
license | |
keywords |
signal
emit
events
broadcast
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
Blinker
=======
Blinker 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.
.. code-block:: 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!
Links
-----
- Documentation: https://blinker.readthedocs.io/
- Changes: https://blinker.readthedocs.io/#changes
- PyPI Releases: https://pypi.org/project/blinker/
- Source Code: https://github.com/pallets-eco/blinker/
- Issue Tracker: https://github.com/pallets-eco/blinker/issues/
Raw data
{
"_id": null,
"home_page": "",
"name": "blinker",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "Pallets Ecosystem <contact@palletsprojects.com>",
"keywords": "signal,emit,events,broadcast",
"author": "",
"author_email": "Jason Kirtland <jek@discorporate.us>",
"download_url": "https://files.pythonhosted.org/packages/a1/13/6df5fc090ff4e5d246baf1f45fe9e5623aa8565757dfa5bd243f6a545f9e/blinker-1.7.0.tar.gz",
"platform": null,
"description": "Blinker\n=======\n\nBlinker provides a fast dispatching system that allows any number of\ninterested parties to subscribe to events, or \"signals\".\n\nSignal receivers can subscribe to specific senders or receive signals\nsent by any sender.\n\n.. code-block:: pycon\n\n >>> from blinker import signal\n >>> started = signal('round-started')\n >>> def each(round):\n ... print(f\"Round {round}\")\n ...\n >>> started.connect(each)\n\n >>> def round_two(round):\n ... print(\"This is round two.\")\n ...\n >>> started.connect(round_two, sender=2)\n\n >>> for round in range(1, 4):\n ... started.send(round)\n ...\n Round 1!\n Round 2!\n This is round two.\n Round 3!\n\n\nLinks\n-----\n\n- Documentation: https://blinker.readthedocs.io/\n- Changes: https://blinker.readthedocs.io/#changes\n- PyPI Releases: https://pypi.org/project/blinker/\n- Source Code: https://github.com/pallets-eco/blinker/\n- Issue Tracker: https://github.com/pallets-eco/blinker/issues/\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Fast, simple object-to-object and broadcast signaling",
"version": "1.7.0",
"project_urls": {
"Chat": "https://discord.gg/pallets",
"Documentation": "https://blinker.readthedocs.io",
"Homepage": "https://blinker.readthedocs.io",
"Issue Tracker": "https://github.com/pallets-eco/blinker/issues/",
"Source Code": "https://github.com/pallets-eco/blinker/"
},
"split_keywords": [
"signal",
"emit",
"events",
"broadcast"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fa2a7f3714cbc6356a0efec525ce7a0613d581072ed6eb53eb7b9754f33db807",
"md5": "1e62cc24a24ad42ba12fb576f5c5ce89",
"sha256": "c3f865d4d54db7abc53758a01601cf343fe55b84c1de4e3fa910e420b438d5b9"
},
"downloads": -1,
"filename": "blinker-1.7.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1e62cc24a24ad42ba12fb576f5c5ce89",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 13068,
"upload_time": "2023-11-01T22:06:00",
"upload_time_iso_8601": "2023-11-01T22:06:00.162339Z",
"url": "https://files.pythonhosted.org/packages/fa/2a/7f3714cbc6356a0efec525ce7a0613d581072ed6eb53eb7b9754f33db807/blinker-1.7.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a1136df5fc090ff4e5d246baf1f45fe9e5623aa8565757dfa5bd243f6a545f9e",
"md5": "0306b831281e9918ffb0ac6e3e18b47f",
"sha256": "e6820ff6fa4e4d1d8e2747c2283749c3f547e4fee112b98555cdcdae32996182"
},
"downloads": -1,
"filename": "blinker-1.7.0.tar.gz",
"has_sig": false,
"md5_digest": "0306b831281e9918ffb0ac6e3e18b47f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 28134,
"upload_time": "2023-11-01T22:06:01",
"upload_time_iso_8601": "2023-11-01T22:06:01.588341Z",
"url": "https://files.pythonhosted.org/packages/a1/13/6df5fc090ff4e5d246baf1f45fe9e5623aa8565757dfa5bd243f6a545f9e/blinker-1.7.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-01 22:06:01",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pallets-eco",
"github_project": "blinker",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "blinker"
}