oep-client-python 0.0.14__tar.gz → 0.0.16__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.
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/CHANGELOG.md +8 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/PKG-INFO +1 -1
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/pyproject.toml +1 -1
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/__init__.py +1 -1
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/capture.py +7 -2
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/.gitignore +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/LICENSE +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/README.ja.md +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/README.md +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/__main__.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/arm.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/catalog.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/ch32_flash.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/cobs.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/config.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/console.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/core.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/decode.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/dump.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/endpoint.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/esp32_targets.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/fake.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/fake_capture.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/fake_serial.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/fake_serve.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/fixture.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/frames.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/hid_stream.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/host.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/interfaces.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/link.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/message.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/names.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/registry.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/riscv.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/rp2350.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/target.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/uiapduino.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/src/oep_client/usb_stream.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/tests/test_capabilities.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/tests/test_capture.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/tests/test_cobs.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/tests/test_config.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/tests/test_esp32_targets.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/tests/test_fake_capture.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/tests/test_fake_spec.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/tests/test_flash_console.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/tests/test_hid_stream.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/tests/test_interfaces.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/tests/test_link_host.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/tests/test_link_serial.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/tests/test_session.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/tests/test_target_parts.py +0 -0
- {oep_client_python-0.0.14 → oep_client_python-0.0.16}/tests/test_usb_stream.py +0 -0
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.0.16
|
|
6
|
+
- (EN) No user-facing changes recorded.
|
|
7
|
+
- (JA) ユーザー向け変更の記録はありません。
|
|
8
|
+
|
|
9
|
+
## 0.0.15
|
|
10
|
+
- (EN) `CaptureGroup.wait()` keeps the lock alive while it waits too (`keepalive_s`).
|
|
11
|
+
- (JA) `CaptureGroup.wait()` も、待つ間ロックを保つ(`keepalive_s`)。
|
|
12
|
+
|
|
5
13
|
## 0.0.14
|
|
6
14
|
- (EN) No user-facing changes recorded.
|
|
7
15
|
- (JA) ユーザー向け変更の記録はありません。
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: oep-client-python
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.16
|
|
4
4
|
Summary: Open Embedded Probe (OEP) v1 host: serial / USB / TCP transports, the session rules, the standard interfaces, and a fake probe
|
|
5
5
|
Project-URL: Homepage, https://github.com/Open-Embedded-Probe/oep-client-python
|
|
6
6
|
Project-URL: Repository, https://github.com/Open-Embedded-Probe/oep-client-python
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "oep-client-python"
|
|
7
|
-
version = "0.0.
|
|
7
|
+
version = "0.0.16"
|
|
8
8
|
description = "Open Embedded Probe (OEP) v1 host: serial / USB / TCP transports, the session rules, the standard interfaces, and a fake probe"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT"
|
|
@@ -492,10 +492,15 @@ class CaptureGroup(Interface):
|
|
|
492
492
|
none = self.NO_TIME
|
|
493
493
|
return GroupStatus(state, None if start == none else start, None if trig == none else trig, fn or None)
|
|
494
494
|
|
|
495
|
-
def wait(self, timeout: float = 5.0) -> GroupStatus:
|
|
496
|
-
"""Poll until every track is done (one-shot).
|
|
495
|
+
def wait(self, timeout: float = 5.0, keepalive_s: float = 1.0) -> GroupStatus:
|
|
496
|
+
"""Poll until every track is done (one-shot). The lock is kept alive every `keepalive_s` while it waits (a
|
|
497
|
+
trigger may come later than the lease)."""
|
|
497
498
|
deadline = time.monotonic() + timeout
|
|
499
|
+
kept = time.monotonic()
|
|
498
500
|
while time.monotonic() < deadline:
|
|
501
|
+
if keepalive_s and self.host.session is not None and time.monotonic() - kept >= keepalive_s:
|
|
502
|
+
self.host.keepalive()
|
|
503
|
+
kept = time.monotonic()
|
|
499
504
|
st = self.status()
|
|
500
505
|
if st.state == STATE["done"]:
|
|
501
506
|
return st
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|