Commit Graph

123 Commits

Author SHA1 Message Date
9fa5b3f4b4 add values to defautlkwargs.
if no conn kwargs then check and merge config.toml

raise error if auth enabled but no password

add full request payload to logger
2022-11-17 11:30:39 +00:00
Adem
7fc07efb02
Merge pull request #14 from onyx-and-iris/dev 2022-10-28 19:35:56 +03:00
onyx-and-iris
c4ee2347ba add version.py
add pyproject.toml

add .hatch to gitignore
2022-10-28 16:57:06 +01:00
Adem
67fe16e97f
Merge pull request #12 from onyx-and-iris/dev 2022-10-26 15:08:54 +03:00
onyx-and-iris
9551173590 fix docstring, add docstring. 2022-10-26 12:13:32 +01:00
onyx-and-iris
41d7de2cb1 fix error in readme 2022-10-26 11:55:39 +01:00
onyx-and-iris
4a94af4517 minor version bump 2022-10-26 11:37:31 +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
d4ae72dee5 Subs moved into enum.py
Subs now exported
2022-10-26 11:08:24 +01:00
Adem
f239173edb
Merge pull request #11 from onyx-and-iris/dev
check if auth required, context manager for reqclient + logging
2022-10-26 12:39:11 +03:00
onyx-and-iris
5e7860d3ed override repr 2022-10-25 05:28:50 +01:00
onyx-and-iris
c3ebc5e777 typo fix 2022-10-24 22:49:16 +01:00
onyx-and-iris
60d083b238 change debug msg 2022-10-24 22:48:41 +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
27fd86efa5 only check for host+port values in init.
only pass auth token if auth enabled

add context manager methods to reqclient.

added logging
2022-10-24 22:42:16 +01:00
Adem
69b0d4137a
Merge pull request #10 from onyx-and-iris/main
pass empty dict if data is None in trigger()
2022-09-26 22:55:19 +03: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
Adem
c2b6757796
Merge pull request #9 from onyx-and-iris/main
added some missing return statements where reponse fields expected.
2022-09-13 02:21:53 +03:00
onyx-and-iris
90ad4ac962 added some missing return statements where reponse fields expected.
added output methods to ReqClient.

bump tomli dependency ver

minor bump.
2022-09-12 23:52:50 +01:00
Adem
b039d26114
Merge pull request #8 from onyx-and-iris/main
return response field for stop_record
2022-09-13 01:30:00 +03:00
onyx-and-iris
9dbc5766c8 return response field for stop_record
patch bump
2022-09-12 01:24:40 +01:00
Adem
46369548ed
Pypi badge updated 2022-09-04 14:36:01 +03:00
aatikturk
6311234d48 namechange ops 2022-09-04 14:20:40 +03:00
Adem
3ec77321be
modify readme according to repo name change. 2022-09-04 14:10:34 +03:00
Adem
641a151cfd
updated readme
After OBS v28 release, websocket is no longer a requirement as it comes included with the new version.
2022-09-01 22:29:23 +03:00
Adem
dc6829434c
Merge pull request #6 from onyx-and-iris/main
support python 3.10
2022-08-31 23:01:23 +03:00
onyx-and-iris
66a06617c6 add readmes to examples. 2022-08-31 20:13:44 +01:00
onyx-and-iris
7c6ebd1dae add support for python 3.10.
update python ver in readme

all tests run and passed for version 3.10

setup.py removed from gitignore.
2022-08-31 20:13:23 +01:00
Adem
35b7c16b6b
update readme
ReqClient  object initialization  should be done as follows
```python
from obsstudio_sdk import reqs
cl = reqs.ReqClient(host, port, password)
```
2022-08-26 13:17:29 +03:00
bd791524d4
Merge pull request #4 from onyx-and-iris/main
add pypi badge to readme
2022-08-05 13:39:57 +01:00
onyx-and-iris
1302641558 add pypi badge to readme
patch bump
2022-08-05 13:30:12 +01:00
Adem
4b8fec7cb5
Merge pull request #3 from onyx-and-iris/main
readme updated. some extra tests.
2022-07-30 20:52:19 +03:00
onyx-and-iris
472ff30719 remove redundant imports in tests 2022-07-30 17:18:01 +01:00
onyx-and-iris
7d4f63aa6d add callback.deregister to readme 2022-07-30 16:47:12 +01:00
onyx-and-iris
56da8c7fac fix name extras_require 2022-07-30 16:40:27 +01:00
onyx-and-iris
064a4aa11d More request tests added.
development dependencies added to setup.py

fix error in __init__

kind parameter for get_input_list in reqclient now optional.

request tests create/destroy test scenes on setup/teardown.

license, isort, black badges added to readme.
2022-07-30 16:37:07 +01:00
aatikturk
87c4e3cdcd edited gitignore and setup.py 2022-07-29 16:34:43 +03:00
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