Bind functions to events that can be called from any other script at any time.
Project description
event-manager
Useful when working with DCCs like Maya, MotionBuilder, Unreal Engine, etc. and you want different tools/scripts to communicate with each other.
Installation:
pip install ev-manager
Examples:
import ev_manager
def hello_world():
print("Hello World")
ev_manager.bind(hello_world, "MyEvent")
>>> import ev_manager
>>> ev_manager.emit("MyEvent")
>>> "Hello World"
Limitations:
Events are per Python instance. So they will for example not be communicating between different applications.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ev-manager-0.0.1.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for ev_manager-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e61ca4d4fd8665bd8955da4e815df23e043ae68e60ca4c6eb85ecdd40a1f3d7b |
|
MD5 | c87a1993e10bd37b43911d5a6d7bbe9d |
|
BLAKE2b-256 | 1823c2a716cf1f22db2a4c856971e1216a8267213beb6eecb422971ffa794e49 |