streamlit-webrtc 0.53.1__tar.gz → 0.53.2__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 (26) hide show
  1. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/PKG-INFO +1 -1
  2. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/__init__.py +3 -7
  3. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/.gitignore +0 -0
  4. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/LICENSE +0 -0
  5. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/README.md +0 -0
  6. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/pyproject.toml +0 -0
  7. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/_compat.py +0 -0
  8. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/component.py +0 -0
  9. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/components_callbacks.py +0 -0
  10. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/config.py +0 -0
  11. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/credentials.py +0 -0
  12. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/eventloop.py +0 -0
  13. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/factory.py +0 -0
  14. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/frontend/dist/assets/index-1ywg1u80.js +0 -0
  15. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/frontend/dist/index.html +0 -0
  16. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/mix.py +0 -0
  17. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/models.py +0 -0
  18. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/process.py +0 -0
  19. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/py.typed +0 -0
  20. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/receive.py +0 -0
  21. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/relay.py +0 -0
  22. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/server.py +0 -0
  23. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/session_info.py +0 -0
  24. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/shutdown.py +0 -0
  25. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/source.py +0 -0
  26. {streamlit_webrtc-0.53.1 → streamlit_webrtc-0.53.2}/streamlit_webrtc/webrtc.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: streamlit-webrtc
3
- Version: 0.53.1
3
+ Version: 0.53.2
4
4
  Summary: Real-time video and audio processing on Streamlit
5
5
  Project-URL: Repository, https://github.com/whitphx/streamlit-webrtc
6
6
  Author-email: "Yuichiro Tachibana (Tsuchiya)" <t.yic.yt@gmail.com>
@@ -1,10 +1,6 @@
1
1
  """streamlit-webrtc"""
2
2
 
3
- try:
4
- import importlib.metadata as importlib_metadata
5
- except ModuleNotFoundError:
6
- # Python < 3.8
7
- import importlib_metadata # type: ignore
3
+ import importlib.metadata
8
4
 
9
5
  from .component import (
10
6
  WebRtcStreamerContext,
@@ -47,8 +43,8 @@ from .webrtc import (
47
43
  # https://github.com/python-poetry/poetry/issues/144#issuecomment-623927302
48
44
  # https://github.com/python-poetry/poetry/pull/2366#issuecomment-652418094
49
45
  try:
50
- __version__ = importlib_metadata.version(__name__)
51
- except importlib_metadata.PackageNotFoundError:
46
+ __version__ = importlib.metadata.version(__name__)
47
+ except importlib.metadata.PackageNotFoundError:
52
48
  pass
53
49
 
54
50
  # For backward compatibility