{"id":13468729,"url":"https://github.com/pallets-eco/blinker","last_synced_at":"2025-12-18T03:50:41.590Z","repository":{"id":37377826,"uuid":"11147893","full_name":"pallets-eco/blinker","owner":"pallets-eco","description":"A fast Python in-process signal/event dispatching system.","archived":false,"fork":false,"pushed_at":"2025-06-14T20:37:08.000Z","size":478,"stargazers_count":1985,"open_issues_count":0,"forks_count":187,"subscribers_count":36,"default_branch":"main","last_synced_at":"2025-11-10T04:37:40.837Z","etag":null,"topics":["blinker","python","signals"],"latest_commit_sha":null,"homepage":"https://blinker.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pallets-eco.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"pallets","custom":"https://palletsprojects.com/donate","tidelift":"pypi/Flask"}},"created_at":"2013-07-03T10:32:39.000Z","updated_at":"2025-11-09T09:42:12.000Z","dependencies_parsed_at":"2023-02-14T01:15:35.121Z","dependency_job_id":"a3c457ce-264d-4bc6-81e7-fcd8c25ddd8b","html_url":"https://github.com/pallets-eco/blinker","commit_stats":{"total_commits":237,"total_committers":21,"mean_commits":"11.285714285714286","dds":0.649789029535865,"last_synced_commit":"c757984aaf08f229bab8aa63df7bb4b48b0be943"},"previous_names":["jek/blinker"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/pallets-eco/blinker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pallets-eco%2Fblinker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pallets-eco%2Fblinker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pallets-eco%2Fblinker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pallets-eco%2Fblinker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pallets-eco","download_url":"https://codeload.github.com/pallets-eco/blinker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pallets-eco%2Fblinker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27790642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-18T02:00:09.725Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blinker","python","signals"],"created_at":"2024-07-31T15:01:17.618Z","updated_at":"2025-12-18T03:50:41.561Z","avatar_url":"https://github.com/pallets-eco.png","language":"Python","funding_links":["https://github.com/sponsors/pallets","https://palletsprojects.com/donate","https://tidelift.com/funding/github/pypi/Flask"],"categories":["Python","杂项"],"sub_categories":[],"readme":"# Blinker\n\nBlinker provides a fast dispatching system that allows any number of\ninterested parties to subscribe to events, or \"signals\".\n\n\n## Pallets Community Ecosystem\n\n\u003e [!IMPORTANT]\\\n\u003e This project is part of the Pallets Community Ecosystem. Pallets is the open\n\u003e source organization that maintains Flask; Pallets-Eco enables community\n\u003e maintenance of related projects. If you are interested in helping maintain\n\u003e this project, please reach out on [the Pallets Discord server][discord].\n\u003e\n\u003e [discord]: https://discord.gg/pallets\n\n\n## Example\n\nSignal receivers can subscribe to specific senders or receive signals\nsent by any sender.\n\n```pycon\n\u003e\u003e\u003e from blinker import signal\n\u003e\u003e\u003e started = signal('round-started')\n\u003e\u003e\u003e def each(round):\n...     print(f\"Round {round}\")\n...\n\u003e\u003e\u003e started.connect(each)\n\n\u003e\u003e\u003e def round_two(round):\n...     print(\"This is round two.\")\n...\n\u003e\u003e\u003e started.connect(round_two, sender=2)\n\n\u003e\u003e\u003e for round in range(1, 4):\n...     started.send(round)\n...\nRound 1!\nRound 2!\nThis is round two.\nRound 3!\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpallets-eco%2Fblinker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpallets-eco%2Fblinker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpallets-eco%2Fblinker/lists"}