streamlit-webrtc 0.47.7__tar.gz → 0.47.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/PKG-INFO +4 -5
  2. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/pyproject.toml +8 -12
  3. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/streamlit_webrtc/component.py +3 -9
  4. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/streamlit_webrtc/config.py +1 -6
  5. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/streamlit_webrtc/factory.py +1 -6
  6. streamlit_webrtc-0.47.9/streamlit_webrtc/frontend/build/asset-manifest.json +10 -0
  7. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/streamlit_webrtc/frontend/build/index.html +1 -1
  8. streamlit_webrtc-0.47.9/streamlit_webrtc/frontend/build/static/js/main.ff279b83.js +103 -0
  9. streamlit_webrtc-0.47.9/streamlit_webrtc/frontend/build/static/js/main.ff279b83.js.map +1 -0
  10. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/streamlit_webrtc/webrtc.py +3 -8
  11. streamlit_webrtc-0.47.7/streamlit_webrtc/frontend/build/asset-manifest.json +0 -10
  12. streamlit_webrtc-0.47.7/streamlit_webrtc/frontend/build/static/js/main.9c17b353.js +0 -3
  13. streamlit_webrtc-0.47.7/streamlit_webrtc/frontend/build/static/js/main.9c17b353.js.map +0 -1
  14. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/LICENSE +0 -0
  15. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/README.md +0 -0
  16. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/streamlit_webrtc/__init__.py +0 -0
  17. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/streamlit_webrtc/_compat.py +0 -0
  18. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/streamlit_webrtc/components_callbacks.py +0 -0
  19. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/streamlit_webrtc/eventloop.py +0 -0
  20. /streamlit_webrtc-0.47.7/streamlit_webrtc/frontend/build/static/js/main.9c17b353.js.LICENSE.txt → /streamlit_webrtc-0.47.9/streamlit_webrtc/frontend/build/static/js/main.ff279b83.js.LICENSE.txt +0 -0
  21. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/streamlit_webrtc/mix.py +0 -0
  22. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/streamlit_webrtc/models.py +0 -0
  23. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/streamlit_webrtc/process.py +0 -0
  24. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/streamlit_webrtc/py.typed +0 -0
  25. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/streamlit_webrtc/receive.py +0 -0
  26. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/streamlit_webrtc/relay.py +0 -0
  27. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/streamlit_webrtc/server.py +0 -0
  28. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/streamlit_webrtc/session_info.py +0 -0
  29. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/streamlit_webrtc/shutdown.py +0 -0
  30. {streamlit_webrtc-0.47.7 → streamlit_webrtc-0.47.9}/streamlit_webrtc/source.py +0 -0
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: streamlit-webrtc
3
- Version: 0.47.7
4
- Summary:
3
+ Version: 0.47.9
4
+ Summary: Real-time video and audio processing on Streamlit
5
5
  Home-page: https://github.com/whitphx/streamlit-webrtc
6
6
  License: MIT
7
- Author: Yuichiro Tsuchiya
7
+ Author: Yuichiro Tachibana (Tsuchiya)
8
8
  Author-email: t.yic.yt@gmail.com
9
9
  Requires-Python: >=3.8, !=2.7.*, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*, !=3.7.*
10
10
  Classifier: License :: OSI Approved :: MIT License
@@ -14,10 +14,9 @@ Classifier: Programming Language :: Python :: 3.9
14
14
  Classifier: Programming Language :: Python :: 3.10
15
15
  Classifier: Programming Language :: Python :: 3.11
16
16
  Classifier: Programming Language :: Python :: 3.12
17
- Requires-Dist: aiortc (>=1.4.0,<2.0.0)
17
+ Requires-Dist: aiortc (>=1.9.0,<2.0.0)
18
18
  Requires-Dist: packaging (>=20.0)
19
19
  Requires-Dist: streamlit (>=0.84.1)
20
- Requires-Dist: typing_extensions (>=3.7.4,<5.0.0) ; python_version < "3.8"
21
20
  Project-URL: Repository, https://github.com/whitphx/streamlit-webrtc
22
21
  Description-Content-Type: text/markdown
23
22
 
@@ -1,8 +1,8 @@
1
1
  [tool.poetry]
2
2
  name = "streamlit-webrtc"
3
- version = "0.47.7"
4
- description = ""
5
- authors = ["Yuichiro Tsuchiya <t.yic.yt@gmail.com>"]
3
+ version = "0.47.9"
4
+ description = "Real-time video and audio processing on Streamlit"
5
+ authors = ["Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>"]
6
6
  license = "MIT"
7
7
  readme = "README.md"
8
8
  repository = "https://github.com/whitphx/streamlit-webrtc"
@@ -14,14 +14,13 @@ python = ">=3.8,<4,!=3.9.7" # 3.9.7 is excluded due to https://github.com/strea
14
14
  # For allow-same-origin, >=0.73.0 is required. See https://blog.streamlit.io/streamlit-components-security-and-a-five-month-quest-to-ship-a-single-line-of-code/
15
15
  # 0.84.0 has an error at marshalling component values.
16
16
  streamlit = ">=0.84.1"
17
- aiortc = "^1.4.0" # aiortc<1.4.0 causes an error with cryptography>=39.0.0. See https://github.com/whitphx/streamlit-webrtc/issues/1164. The fix was introduced into aiortc in https://github.com/aiortc/aiortc/commit/08b0a7e9f5030a9f7e5617382e92560d4ae763a2 that 1.4.0 included.
18
- typing_extensions = { version = ">=3.7.4,<5.0.0", python = "<3.8" }
17
+ aiortc = "^1.9.0" # aiortc<1.4.0 causes an error with cryptography>=39.0.0. See https://github.com/whitphx/streamlit-webrtc/issues/1164. The fix was introduced into aiortc in https://github.com/aiortc/aiortc/commit/08b0a7e9f5030a9f7e5617382e92560d4ae763a2 that 1.4.0 included.
19
18
  packaging = ">=20.0"
20
19
 
21
20
  [tool.poetry.group.dev.dependencies]
22
- click = ">=7.0,<8.0" # We must specify the click version because we install older versions of Streamlit in the CI process and their depending click version is different from the newer releases.
23
- ruff = ">=0.3,<0.5"
24
- mypy = "^1.0.0"
21
+ click = ">=7.0,<9.0" # We must specify the click version because we install older versions of Streamlit in the CI process and their depending click version is different from the newer releases.
22
+ ruff = ">=0.3,<0.7"
23
+ mypy = "^1.11.2"
25
24
  pydub = "^0.25.1"
26
25
  matplotlib = "^3.5.1"
27
26
  deepspeech = { version = "^0.9.3", python = ">=3.5,<=3.9" } # DeepSpeech 0.9.3 supports Python version 3.5, 3.6, 3.7, 3.8 and 3.9; https://github.com/mozilla/DeepSpeech/releases/tag/v0.9.3
@@ -30,10 +29,7 @@ pytest = ">=7.1.2,<9.0.0"
30
29
  opencv-python-headless = "^4.5.4.58"
31
30
  # It is necessary to specify numpy and pandas versions for Poetry to resolve the package versions correctly and avoid errors.
32
31
  numpy = "^1.21.0"
33
- pandas = [
34
- {version = "1.1.5", python = ">=3.7,<3.8"},
35
- {version = "^1.4.0", python = ">=3.8,<3.11"},
36
- ]
32
+ pandas = "^2.0.3"
37
33
  streamlit = "^1.13.0"
38
34
  twilio = ">=8.1,<10.0"
39
35
 
@@ -10,11 +10,14 @@ from typing import (
10
10
  Generic,
11
11
  NamedTuple,
12
12
  Optional,
13
+ TypedDict,
13
14
  Union,
14
15
  cast,
15
16
  overload,
16
17
  )
17
18
 
19
+ import streamlit as st
20
+ import streamlit.components.v1 as components
18
21
  from aiortc.mediastreams import MediaStreamTrack
19
22
 
20
23
  from streamlit_webrtc.models import (
@@ -25,15 +28,6 @@ from streamlit_webrtc.models import (
25
28
  VideoFrameCallback,
26
29
  )
27
30
 
28
- try:
29
- from typing import TypedDict
30
- except ImportError:
31
- # Python < 3.8
32
- from typing_extensions import TypedDict
33
-
34
- import streamlit as st
35
- import streamlit.components.v1 as components
36
-
37
31
  from ._compat import rerun
38
32
  from .components_callbacks import register_callback
39
33
  from .config import (
@@ -1,9 +1,4 @@
1
- from typing import Dict, List, Optional, Union
2
-
3
- try:
4
- from typing import TypedDict
5
- except ImportError:
6
- from typing_extensions import TypedDict
1
+ from typing import Dict, List, Optional, TypedDict, Union
7
2
 
8
3
  RTCIceServer = TypedDict(
9
4
  "RTCIceServer",
@@ -1,9 +1,4 @@
1
- from typing import Optional, Union, overload
2
-
3
- try:
4
- from typing import Literal
5
- except ImportError:
6
- from typing_extensions import Literal # type: ignore
1
+ from typing import Literal, Optional, Union, overload
7
2
 
8
3
  import streamlit as st
9
4
  from aiortc import MediaStreamTrack
@@ -0,0 +1,10 @@
1
+ {
2
+ "files": {
3
+ "main.js": "./static/js/main.ff279b83.js",
4
+ "index.html": "./index.html",
5
+ "main.ff279b83.js.map": "./static/js/main.ff279b83.js.map"
6
+ },
7
+ "entrypoints": [
8
+ "static/js/main.ff279b83.js"
9
+ ]
10
+ }
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><title>Streamlit WebRTC Component</title><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Streamlit WebRTC Component"/><script defer="defer" src="./static/js/main.9c17b353.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1
+ <!doctype html><html lang="en"><head><title>Streamlit WebRTC Component</title><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Streamlit WebRTC Component"/><script defer="defer" src="./static/js/main.ff279b83.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>