Commit Graph

17 Commits

Author SHA1 Message Date
onyx-and-iris
41d7de2cb1 fix error in readme 2022-10-26 11:55:39 +01:00
onyx-and-iris
ddee4f7e3e add setup.py to hotkeys example 2022-10-26 11:35:16 +01:00
onyx-and-iris
592be28469 README added for levels example 2022-10-26 11:19:18 +01:00
onyx-and-iris
a7d53dce74 levels example added 2022-10-26 11:08:53 +01:00
onyx-and-iris
b8b446f9bf use context manager in scene_rotate
other refactors
2022-10-24 22:42:46 +01:00
onyx-and-iris
1db3b2db4d pass empty dict if data is None in trigger()
fixes bug with ExitStarted event.

remove redundant assignment in conn_from_toml

add explicit call to ws.close() in unsubscribe()

patch bump
2022-09-26 10:58:02 +01:00
aatikturk
6311234d48 namechange ops 2022-09-04 14:20:40 +03:00
onyx-and-iris
66a06617c6 add readmes to examples. 2022-08-31 20:13:44 +01:00
onyx-and-iris
5b2bc6e13a update version in hotkey example.
add hotkey 0
2022-07-27 23:54:46 +01:00
onyx-and-iris
20851c3880 request and event data now returned as dataclasses
unit tests updated accordingly
2022-07-27 22:44:40 +01:00
onyx-and-iris
b1c281e8a1 fix event client name in example 2022-07-27 19:43:34 +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
362ec22257 no longer sending event name to callback
update tests accordingly
2022-07-26 21:47:41 +01:00
onyx-and-iris
c8f2b6419d add subs intenum to baseclient
expand events example
2022-07-26 04:36:55 +01:00
onyx-and-iris
d37cda9976 refreshed ignored files 2022-07-26 01:03:57 +01:00
onyx-and-iris
5399b66e45 upd gitignore 2022-07-26 00:56:07 +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