{"id":28120099,"url":"https://github.com/nils-soderman/ev-manager","last_synced_at":"2026-03-11T19:31:27.989Z","repository":{"id":65828150,"uuid":"565278454","full_name":"nils-soderman/ev-manager","owner":"nils-soderman","description":"Python module to bind/fire events within a single Python instance","archived":false,"fork":false,"pushed_at":"2024-03-03T11:36:08.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T07:49:59.177Z","etag":null,"topics":["bind","callback","emit","event","events","module","package","pip","pypi","python","subscribe"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/ev-manager/","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/nils-soderman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2022-11-12T22:09:52.000Z","updated_at":"2023-02-19T15:00:23.000Z","dependencies_parsed_at":"2024-01-06T13:09:33.942Z","dependency_job_id":"1d3bbf45-617f-411b-b582-28a709f7bd61","html_url":"https://github.com/nils-soderman/ev-manager","commit_stats":{"total_commits":23,"total_committers":2,"mean_commits":11.5,"dds":"0.21739130434782605","last_synced_commit":"3c2ec7204a2f324faa1f17f406c5a4312c2da0b4"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/nils-soderman/ev-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nils-soderman%2Fev-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nils-soderman%2Fev-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nils-soderman%2Fev-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nils-soderman%2Fev-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nils-soderman","download_url":"https://codeload.github.com/nils-soderman/ev-manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nils-soderman%2Fev-manager/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259382300,"owners_count":22848837,"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","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":["bind","callback","emit","event","events","module","package","pip","pypi","python","subscribe"],"created_at":"2025-05-14T07:40:14.925Z","updated_at":"2026-03-11T19:31:27.958Z","avatar_url":"https://github.com/nils-soderman.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ev-manager (Event Manager)\n\nUseful when working with DCCs like Maya, MotionBuilder, Unreal Engine, etc. and you want different tools/scripts to communicate with each other.\n\n## Installation:\n```batch\npip install ev-manager\n```\n\n## Examples:\n\n### Using classes:\n\n```python\n\"\"\" my_module.py \"\"\"\n\nfrom typing import Callable\nfrom ev_manager import Event\n\nclass ExampleEvent(Event[Callable[[int], None]]):\n    pass\n\ndef my_callback(value: int):\n    print(f\"Number: {value}\")\n\nExampleEvent.bind(my_callback)\n```\n\n```python\n\u003e\u003e\u003e from my_module import ExampleEvent\n\u003e\u003e\u003e ExampleEvent.emit(5)\n\u003e\u003e\u003e \"Number: 5\"\n```\n\n\n### Using functions:\n\n```python\nimport ev_manager\n\ndef hello_world():\n    print(\"Hello World!\")\n\nev_manager.bind(\"MyEvent\", hello_world)\n```\n\n```python\n\u003e\u003e\u003e import ev_manager\n\u003e\u003e\u003e ev_manager.emit(\"MyEvent\")\n\u003e\u003e\u003e \"Hello World!\"\n```\n\n\n## Available functions:\n\n| Function | Description |\n| --- | --- |\n| `bind(event, function)` | Bind a function to an event. |\n| `unbind(event, function)` | Unbind a function from an event. |\n| `unbind_all(*, event, function)` | Either unbind all functions from an event or unbind a function from all events. |\n| `is_bound(event, function)` | Check if a function is bound to an event. |\n| `emit(event, *args, **kwargs)` | Call all functions bound to an event. |\n\n\n## Limitations:\nEvents are per Python instance. So they will for example not be communicating between different applications.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnils-soderman%2Fev-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnils-soderman%2Fev-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnils-soderman%2Fev-manager/lists"}