Skip to content

Commit e5265a9

Browse files
extract publisher and subscriber
1 parent 70ad49f commit e5265a9

File tree

7 files changed

+499
-486
lines changed

7 files changed

+499
-486
lines changed

CLAUDE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ Key mechanisms in `Node`:
3131
- **Gossip**: Periodic and urgent data exchange to keep CRDT consistent.
3232
- **Deduplication, Reordering, Reliable delivery** of user messages.
3333

34+
Use `nox` to run the full test suite.
35+
3436
## Conventions
3537

3638
- **Formatting**: PEP8, Black, line-length=120.

src/pycyphal/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
name_normalize,
2020
name_resolve,
2121
)
22-
from ._node import Arrival, Breadcrumb, Node, Publisher, Response, ResponseStream, Subscriber, Topic
22+
from ._node import Node, Topic
23+
from ._publisher import Publisher, Response, ResponseStream
24+
from ._subscriber import Arrival, Breadcrumb, Subscriber
2325
from ._transport import (
2426
SUBJECT_ID_MODULUS_17bit,
2527
SUBJECT_ID_MODULUS_23bit,

0 commit comments

Comments
 (0)