eva-shell 0.2.39__tar.gz → 0.2.40__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.
@@ -1,26 +1,18 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: eva-shell
3
- Version: 0.2.39
3
+ Version: 0.2.40
4
4
  Summary: EVA ICS v4 shell
5
5
  Home-page: https://github.com/eva-ics/eva4
6
6
  Author: Bohemia Automation / Altertech
7
7
  Author-email: div@altertech.com
8
8
  License: Apache License 2.0
9
+ Platform: UNKNOWN
9
10
  Classifier: Programming Language :: Python :: 3
10
11
  Classifier: License :: OSI Approved :: MIT License
11
12
  Classifier: Topic :: Communications
12
13
  Description-Content-Type: text/markdown
13
14
  License-File: LICENSE
14
- Requires-Dist: busrt>=0.1.0
15
- Requires-Dist: evaics>=0.0.32
16
- Requires-Dist: yedb[cli]>=0.2.25
17
- Requires-Dist: argcomplete>=2.0.0
18
- Requires-Dist: python-dateutil>=2.7.3
19
- Requires-Dist: neotermcolor>=2.0.10
20
- Requires-Dist: pyyaml>=6.0
21
- Requires-Dist: pygments>=2.11.2
22
- Requires-Dist: pytz>=2024.1
23
- Requires-Dist: pwinput>=1.0.2
24
- Requires-Dist: tzlocal>=5.1
25
15
 
26
16
  # EVA ICS v4 shell
17
+
18
+
@@ -1,3 +1,3 @@
1
- __version__ = '0.2.39'
1
+ __version__ = '0.2.40'
2
2
 
3
3
  DEFAULT_REPOSITORY_URL = 'https://pub.bma.ai/eva4'
@@ -6,7 +6,7 @@ from functools import partial
6
6
  from collections import OrderedDict
7
7
 
8
8
  import busrt
9
- from evaics.sdk import pack, VideoFrame
9
+ from evaics.sdk import pack
10
10
  from neotermcolor import colored
11
11
  from rapidtables import format_table, FORMAT_GENERATOR, FORMAT_GENERATOR_COLS
12
12
 
@@ -1191,6 +1191,10 @@ class CLI:
1191
1191
  ])
1192
1192
 
1193
1193
  def item_stream_info(self, i):
1194
+ try:
1195
+ from evaics.sdk import VideoFrame
1196
+ except:
1197
+ raise RuntimeError('Requires EVA ICS Python SDK 0.2.35 or newer')
1194
1198
  data = call_rpc(
1195
1199
  'item.state',
1196
1200
  dict(i=i, include_binary_values=True),
@@ -1,26 +1,18 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: eva-shell
3
- Version: 0.2.39
3
+ Version: 0.2.40
4
4
  Summary: EVA ICS v4 shell
5
5
  Home-page: https://github.com/eva-ics/eva4
6
6
  Author: Bohemia Automation / Altertech
7
7
  Author-email: div@altertech.com
8
8
  License: Apache License 2.0
9
+ Platform: UNKNOWN
9
10
  Classifier: Programming Language :: Python :: 3
10
11
  Classifier: License :: OSI Approved :: MIT License
11
12
  Classifier: Topic :: Communications
12
13
  Description-Content-Type: text/markdown
13
14
  License-File: LICENSE
14
- Requires-Dist: busrt>=0.1.0
15
- Requires-Dist: evaics>=0.0.32
16
- Requires-Dist: yedb[cli]>=0.2.25
17
- Requires-Dist: argcomplete>=2.0.0
18
- Requires-Dist: python-dateutil>=2.7.3
19
- Requires-Dist: neotermcolor>=2.0.10
20
- Requires-Dist: pyyaml>=6.0
21
- Requires-Dist: pygments>=2.11.2
22
- Requires-Dist: pytz>=2024.1
23
- Requires-Dist: pwinput>=1.0.2
24
- Requires-Dist: tzlocal>=5.1
25
15
 
26
16
  # EVA ICS v4 shell
17
+
18
+
@@ -1,4 +1,4 @@
1
- __version__ = '0.2.39'
1
+ __version__ = '0.2.40'
2
2
 
3
3
  import setuptools
4
4
 
File without changes
File without changes
File without changes
File without changes
File without changes