v2 proposal. See CHANGELOG unreleased.

This commit is contained in:
2026-03-23 10:28:53 +00:00
parent 84cc8f65fe
commit 4b383df9a4
17 changed files with 633 additions and 686 deletions

View File

@@ -1,34 +1,32 @@
[project]
name = "streamlabsio"
version = "1.1.3"
version = "2.0.0"
description = "Get real time Twitch/Youtube events through Streamlabs SocketIO API"
authors = [
{name = "Onyx and Iris",email = "code@onyxandiris.online"}
]
license = {text = "MIT"}
authors = [{ name = "Onyx and Iris", email = "code@onyxandiris.online" }]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.10,<4.0.0"
dependencies = [
"tomli (>=2.0.1,<3.0) ; python_version < '3.11'",
"python-engineio (==3.14.2)",
"python-socketio[client] (==4.6.0)",
"observable (>=1.0.3,<2.0.0)"
"observable (>=1.0.3,<2.0.0)",
"loguru (>=0.7.3,<0.8.0)",
"python-socketio[client] (>=5.16.1,<6.0.0)",
]
[tool.poetry.requires-plugins]
poethepoet = "^0.32.1"
poethepoet = "^0.42.0"
[tool.poetry.group.dev.dependencies]
ruff = "^0.9.2"
tox = "^4.23.2"
virtualenv-pyenv = "^0.5.0"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poe]
envfile = ".env"
[tool.poe.tasks]
debug.script = "scripts:ex_debug"
events.script = "scripts:ex_events"
[tool.ruff]
exclude = [
@@ -59,19 +57,21 @@ exclude = [
line-length = 88
indent-width = 4
# Assume Python 3.9
target-version = "py39"
# Assume Python 3.10
target-version = "py310"
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# Enable flake8-errmsg (EM) warnings.
# Enable flake8-bugbear (B) warnings.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
select = ["E4", "E7", "E9", "F"]
select = ["E4", "E7", "E9", "EM", "F", "B"]
ignore = []
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
unfixable = ["B"]
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
@@ -108,7 +108,4 @@ docstring-code-line-length = "dynamic"
max-complexity = 10
[tool.ruff.lint.per-file-ignores]
"__init__.py" = [
"E402",
"F401",
]
"__init__.py" = ["E402", "F401"]