Skip to content

feat: add from_net_addr/to_net_addr helpers (fixes #115) - #144

Merged
acul71 merged 9 commits into
masterfrom
feat/115-net-addr-convert
Sep 6, 2026
Merged

feat: add from_net_addr/to_net_addr helpers (fixes #115)#144
acul71 merged 9 commits into
masterfrom
feat/115-net-addr-convert

Conversation

@acul71

@acul71 acul71 commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Demo

=== from_net_addr() ===
('1.2.3.4', 80) transport=tcp -> /ip4/1.2.3.4/tcp/80
...
=== to_net_addr() ===
/ip4/1.2.3.4/tcp/80 -> ('1.2.3.4', 80)

Test plan

  • pytest tests
  • newsfragment 115.feature.rst
  • python examples/net_addr/net_addr_example.py

Made with Cursor

@acul71
acul71 merged commit ddafc56 into master Sep 6, 2026
@acul71
acul71 deleted the feat/115-net-addr-convert branch September 6, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No from_net_addr() / to_net_addr() functions for socket address conversion

1 participant