plexus-python 0.6.1__py3-none-any.whl → 0.6.2__py3-none-any.whl

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.
plexus/__init__.py CHANGED
@@ -10,5 +10,5 @@ Plexus — thin Python SDK for sending telemetry to the Plexus gateway.
10
10
  from plexus.client import Plexus, read_mjpeg_frames
11
11
  from plexus.ws import WebSocketTransport
12
12
 
13
- __version__ = "0.5.2"
13
+ __version__ = "0.6.2"
14
14
  __all__ = ["Plexus", "WebSocketTransport", "read_mjpeg_frames"]
plexus/client.py CHANGED
@@ -483,8 +483,8 @@ class Plexus:
483
483
  except ImportError as e:
484
484
  if required:
485
485
  raise ImportError(
486
- "This frame type requires opencv-python. "
487
- "Install with: pip install opencv-python"
486
+ "This frame type requires opencv-python-headless. "
487
+ "Install with: pip install plexus-python[video]"
488
488
  ) from e
489
489
  return self._cv2
490
490
 
@@ -611,7 +611,7 @@ class Plexus:
611
611
 
612
612
  Raises:
613
613
  PlexusError: If transport is not 'ws'.
614
- ImportError: If opencv-python is not installed.
614
+ ImportError: If opencv-python-headless is not installed.
615
615
  """
616
616
  if self.transport != "ws":
617
617
  raise PlexusError("send_thermal_frame requires transport='ws'")
@@ -620,8 +620,8 @@ class Plexus:
620
620
  from plexus.cameras.thermal import build_thermal_frame
621
621
  except ImportError as e:
622
622
  raise ImportError(
623
- "send_thermal_frame requires opencv-python. "
624
- "Install with: pip install opencv-python"
623
+ "send_thermal_frame requires opencv-python-headless. "
624
+ "Install with: pip install plexus-python[video]"
625
625
  ) from e
626
626
 
627
627
  frame = build_thermal_frame(temps, timestamp_ms=self._normalize_ts_ms(timestamp))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plexus-python
3
- Version: 0.6.1
3
+ Version: 0.6.2
4
4
  Summary: Thin Python SDK for Plexus — send telemetry in one line
5
5
  Project-URL: Homepage, https://plexus.dev
6
6
  Project-URL: Documentation, https://docs.plexus.dev
@@ -24,15 +24,14 @@ Requires-Python: >=3.10
24
24
  Requires-Dist: websocket-client>=1.7
25
25
  Provides-Extra: dev
26
26
  Requires-Dist: numpy>=1.24; extra == 'dev'
27
- Requires-Dist: opencv-python>=4.8; extra == 'dev'
27
+ Requires-Dist: opencv-python-headless>=4.8; extra == 'dev'
28
28
  Requires-Dist: pytest-cov; extra == 'dev'
29
29
  Requires-Dist: pytest>=9.0.3; extra == 'dev'
30
30
  Requires-Dist: ruff; extra == 'dev'
31
31
  Requires-Dist: websockets>=12; extra == 'dev'
32
- Provides-Extra: thermal
33
- Requires-Dist: numpy>=1.24; extra == 'thermal'
34
- Requires-Dist: opencv-python>=4.8; extra == 'thermal'
35
32
  Provides-Extra: video
33
+ Requires-Dist: numpy>=1.24; extra == 'video'
34
+ Requires-Dist: opencv-python-headless>=4.8; extra == 'video'
36
35
  Requires-Dist: pillow>=12.2.0; extra == 'video'
37
36
  Description-Content-Type: text/markdown
38
37
 
@@ -1,14 +1,14 @@
1
- plexus/__init__.py,sha256=2Q3D7gMSFmMpFzcc_ywnCMH_1zgysy-PH6jW21bONgc,385
1
+ plexus/__init__.py,sha256=XFUsFY9sq7SzSuCP2D6NVAf8RxP0vsXROezHxPMY0ek,385
2
2
  plexus/_log.py,sha256=y1A9ahcPuCefTQ8xsZtOJTb6iT0pP9LAlkeP7U-yvGE,352
3
3
  plexus/buffer.py,sha256=3ykybqLs7yMXxQWFajAT8nGe3cs_lW8_6Xvn0vQ69dE,9262
4
4
  plexus/cli.py,sha256=-2wvHXQzobx3_tDGTXpaE2PlHv884y93Mu29kZE8qZE,14214
5
- plexus/client.py,sha256=tB7bl3B06k9UA8TcRtHyu95IK18uXBNVqNEiDqI8MYk,36954
5
+ plexus/client.py,sha256=1SzzqQDIx0B2zLDezO5cYpmwK8XeUrMd5jMdU7YB90M,36995
6
6
  plexus/config.py,sha256=wsG6lhNLmKe3JRlVycyRUKQeywnPUPPfrWkXFxYwELE,6179
7
7
  plexus/ws.py,sha256=_c--U-yySZbMXZsaj0fUaYKF_WesolHsrMDx4oWYfFQ,17428
8
8
  plexus/cameras/__init__.py,sha256=OvnU9KGKxkVtFLlk56H9x-ATa6UvpLI7PANa0HQO2cc,490
9
9
  plexus/cameras/thermal.py,sha256=-Ov8pgHGKtu5W-zyHRffVACDbsb50lpTmTGEbs_j4lg,12267
10
- plexus_python-0.6.1.dist-info/METADATA,sha256=J6uSpstAvCNUrfKslAaY-galEMgSODIL7cnleKyGL_4,11749
11
- plexus_python-0.6.1.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
12
- plexus_python-0.6.1.dist-info/entry_points.txt,sha256=YlkOtTn_7Q_IGuJaKdvpU-90dCeBSPx2p_UTGMAz5Zs,43
13
- plexus_python-0.6.1.dist-info/licenses/LICENSE,sha256=nm3qP1F-JAGcfLpRVtIX24L20LMnRpxmZ2oKZzFpLVo,10755
14
- plexus_python-0.6.1.dist-info/RECORD,,
10
+ plexus_python-0.6.2.dist-info/METADATA,sha256=kxGSad9N5G842Pjh_G4RvhJ6hdXrr9xEIjJHRhWXAr8,11739
11
+ plexus_python-0.6.2.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
12
+ plexus_python-0.6.2.dist-info/entry_points.txt,sha256=YlkOtTn_7Q_IGuJaKdvpU-90dCeBSPx2p_UTGMAz5Zs,43
13
+ plexus_python-0.6.2.dist-info/licenses/LICENSE,sha256=nm3qP1F-JAGcfLpRVtIX24L20LMnRpxmZ2oKZzFpLVo,10755
14
+ plexus_python-0.6.2.dist-info/RECORD,,