Commit Graph

34 Commits

Author SHA1 Message Date
Adem
eda5ee66e0
Merge pull request #2 from onyx-and-iris/main
Support for events + other changes.
2022-07-29 15:06:06 +03:00
onyx-and-iris
e145362726 added test_attrs
added tests to test_request

keys in attrs() list now snake cased
2022-07-29 02:42:44 +01:00
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
051b5898a2 change example in main to use kwargs. 2022-07-28 00:12:45 +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
13a0694190 changes to to_camel_case and to_snake_case 2022-07-27 23:19:10 +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
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
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
c71d7e4ea9 remove redundant imports 2022-07-26 23:12:34 +01:00
onyx-and-iris
ec048e1aef md change 2022-07-26 23:09:14 +01:00
onyx-and-iris
35173733bc md change 2022-07-26 23:08:07 +01:00
onyx-and-iris
0819bb4342 upd import in readme 2022-07-26 22:25:31 +01:00
onyx-and-iris
0819149d09 move link to documentation into its own section 2022-07-26 22:18:32 +01:00
onyx-and-iris
1c24b4bc1e snake case func name to match changes 2022-07-26 22:06:06 +01:00
onyx-and-iris
59d66d6ede md change in readme 2022-07-26 22:05:09 +01:00
onyx-and-iris
eed83946c8 reqclient methods now snake cased.
getter, setter added.

initial test commit
2022-07-26 21:48:52 +01:00
onyx-and-iris
d36b9cf713 add error class 2022-07-26 21:47:50 +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
5532ecef03 check for response type in req 2022-07-26 21:46:59 +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
82ddbacd7d send event name to callback
add requirements to readme.
2022-07-26 03:31:32 +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
aatikturk
1793685be0 fixed method name typos 2022-06-05 17:41:00 +03:00
aatikturk
66a85131a3 . 2022-06-05 17:14:54 +03:00
aatikturk
3f082be4c3 fix docstrings 2022-06-05 17:06:50 +03:00
aatikturk
4dca3f5340 new release info for setup.py 2022-06-05 14:50:07 +03:00
aatikturk
acc22356c8 fix imports in reqs module 2022-06-05 14:47:09 +03:00
aatikturk
5daa4942e8 initial commit including request calls to obswebsocket 2022-06-05 14:40:55 +03:00