From 6311234d4893f6e111111125a85a65598745d30f Mon Sep 17 00:00:00 2001 From: aatikturk Date: Sun, 4 Sep 2022 14:20:40 +0300 Subject: [PATCH] namechange ops --- examples/events/__main__.py | 2 +- examples/hotkeys/__main__.py | 2 +- examples/scene_rotate/__main__.py | 2 +- {obsstudio_sdk => obsws_python}/__init__.py | 0 {obsstudio_sdk => obsws_python}/baseclient.py | 0 {obsstudio_sdk => obsws_python}/callback.py | 0 {obsstudio_sdk => obsws_python}/error.py | 0 {obsstudio_sdk => obsws_python}/events.py | 0 {obsstudio_sdk => obsws_python}/reqs.py | 0 {obsstudio_sdk => obsws_python}/util.py | 0 setup.py | 6 +++--- tests/__init__.py | 2 +- tests/test_callback.py | 2 +- 13 files changed, 8 insertions(+), 8 deletions(-) rename {obsstudio_sdk => obsws_python}/__init__.py (100%) rename {obsstudio_sdk => obsws_python}/baseclient.py (100%) rename {obsstudio_sdk => obsws_python}/callback.py (100%) rename {obsstudio_sdk => obsws_python}/error.py (100%) rename {obsstudio_sdk => obsws_python}/events.py (100%) rename {obsstudio_sdk => obsws_python}/reqs.py (100%) rename {obsstudio_sdk => obsws_python}/util.py (100%) diff --git a/examples/events/__main__.py b/examples/events/__main__.py index 214b371..cf2b21c 100644 --- a/examples/events/__main__.py +++ b/examples/events/__main__.py @@ -1,4 +1,4 @@ -import obsstudio_sdk as obs +import obsws_python as obs class Observer: diff --git a/examples/hotkeys/__main__.py b/examples/hotkeys/__main__.py index b7b4a72..81801a2 100644 --- a/examples/hotkeys/__main__.py +++ b/examples/hotkeys/__main__.py @@ -1,7 +1,7 @@ import inspect import keyboard -import obsstudio_sdk as obs +import obsws_python as obs class Observer: diff --git a/examples/scene_rotate/__main__.py b/examples/scene_rotate/__main__.py index d66087e..0879e8b 100644 --- a/examples/scene_rotate/__main__.py +++ b/examples/scene_rotate/__main__.py @@ -1,6 +1,6 @@ import time -import obsstudio_sdk as obs +import obsws_python as obs def main(): diff --git a/obsstudio_sdk/__init__.py b/obsws_python/__init__.py similarity index 100% rename from obsstudio_sdk/__init__.py rename to obsws_python/__init__.py diff --git a/obsstudio_sdk/baseclient.py b/obsws_python/baseclient.py similarity index 100% rename from obsstudio_sdk/baseclient.py rename to obsws_python/baseclient.py diff --git a/obsstudio_sdk/callback.py b/obsws_python/callback.py similarity index 100% rename from obsstudio_sdk/callback.py rename to obsws_python/callback.py diff --git a/obsstudio_sdk/error.py b/obsws_python/error.py similarity index 100% rename from obsstudio_sdk/error.py rename to obsws_python/error.py diff --git a/obsstudio_sdk/events.py b/obsws_python/events.py similarity index 100% rename from obsstudio_sdk/events.py rename to obsws_python/events.py diff --git a/obsstudio_sdk/reqs.py b/obsws_python/reqs.py similarity index 100% rename from obsstudio_sdk/reqs.py rename to obsws_python/reqs.py diff --git a/obsstudio_sdk/util.py b/obsws_python/util.py similarity index 100% rename from obsstudio_sdk/util.py rename to obsws_python/util.py diff --git a/setup.py b/setup.py index d5e9da4..56dd3b0 100644 --- a/setup.py +++ b/setup.py @@ -5,11 +5,11 @@ from setuptools import find_packages, setup HERE = pathlib.Path(__file__).parent -VERSION = "1.0.3" -PACKAGE_NAME = "obsstudio_sdk" +VERSION = "1.0.4" +PACKAGE_NAME = "obsws-python" AUTHOR = "Adem Atikturk" AUTHOR_EMAIL = "aatikturk@gmail.com" -URL = "https://github.com/aatikturk/obsstudio_sdk" +URL = "https://github.com/aatikturk/obsws-python" LICENSE = "GNU General Public License v3.0" DESCRIPTION = "A Python SDK for OBS Studio WebSocket v5.0" diff --git a/tests/__init__.py b/tests/__init__.py index af852cd..b1e7d9c 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,4 @@ -import obsstudio_sdk as obs +import obsws_python as obs req_cl = obs.ReqClient() diff --git a/tests/test_callback.py b/tests/test_callback.py index 45d9329..992f0e5 100644 --- a/tests/test_callback.py +++ b/tests/test_callback.py @@ -1,5 +1,5 @@ import pytest -from obsstudio_sdk.callback import Callback +from obsws_python.callback import Callback class TestCallbacks: