semvec/pypi-packages huggingface dataset:
pipcevent 1.1.0
Define fields simply
Requires Python: >=3.7
Keywords: ipc,event,eventhandler,pyevent,pipcevent

# pipcevent
pipcevent library is used to handle event in a simple way.  
## Install
`pip install pipcevent`  
## Documentation
[pipcevent wiki](https://github.com/DuelitDev/pipcevent/wiki)  
## Example
```python
from pipcevent import *


class Human:
    def __init__(self):
        self.on_walk = EventHandler(WalkEventArgs())
        self.on_walk += self.on_walk_handler

    def walk(self):
        args = WalkEventArgs(3)
        self.on_walk(self, args)
    
    @staticmethod
    def on_walk_handler(sender, e):
        print(f"{e.speed} km/h")
        
        
class WalkEventArgs(EventArgs):
    def __init__(self, speed: int = 0):
        self.speed = speed


human = Human()
human.walk()  # 3 km/h
```   
## Copyright
Copyright 2022. Kim Jae-yun all rights reserved.  
## License
[MIT License](https://github.com/DuelitDev/pipcevent/blob/main/LICENSE)