Commit Graph

6 Commits

Author SHA1 Message Date
onyx-and-iris
ce9bc7e8d6 add attrs to dataclasses 2022-07-28 11:55:05 +01:00
onyx-and-iris
00a97b1d8b dict expansion for defaultkwarg 2022-07-28 10:00:24 +01:00
onyx-and-iris
f5c2293dce add callback unit tests.
callback deregister now accepts iterable.
2022-07-27 20:49:45 +01:00
onyx-and-iris
95b1cb27da add defaultkwarg into eventclient 2022-07-27 19:49:37 +01:00
onyx-and-iris
2a3a86c277 EventsClient renamed to EventClient
remove getter, setter for send.

add persistend data unit test

add hotkey example

default event sub now 0. explicitly define subs in event class.
now subs can be set as kwarg
2022-07-27 19:39:33 +01:00
onyx-and-iris
b5b69de218 add support for toml config.
subject module added, supports callbacks.

events module added. Provides an event listener and callback trigger.

import isorted, code run through black.

toml section added to readme.

added a couple of examples.
2022-07-25 23:51:30 +01:00