Skip to main content

UTCP Socket Plugin (UDP/TCP)

This plugin adds UDP and TCP communication protocols to UTCP 1.0.

Running Tests

Prerequisites:

  • Python 3.10+
  • pip
  • (Optional) a virtual environment
  1. Install core and the socket plugin in editable mode with dev extras:
pip install -e "./core[dev]"
pip install -e ./plugins/communication_protocols/socket[dev]
  1. Run the socket plugin tests:
python -m pytest plugins/communication_protocols/socket/tests -v
  1. Run a single test or filter by keyword:
# One file
python -m pytest plugins/communication_protocols/socket/tests/test_tcp_communication_protocol.py -v

# Filter by keyword (e.g., delimiter framing)
python -m pytest plugins/communication_protocols/socket/tests -k delimiter -q
  1. Optional end-to-end sanity check (mock UDP/TCP servers):
python scripts/socket_sanity.py

Notes:

  • On Windows, your firewall may prompt the first time tests open UDP/TCP sockets; allow access or run as admin if needed.
  • Tests use pytest-asyncio. The dev extras installed above provide required dependencies.
  • Streaming is single-chunk by design, consistent with HTTP/Text transports. Multi-chunk streaming can be added later behind provider configuration.

Metadata

Release files for utcp-socket 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for utcp-socket 1.1.1
File Size Uploaded
utcp_socket-1.1.1.tar.gz 12.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for utcp-socket 1.1.1
File Interpreter ABI Platform
utcp_socket-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 26.7 kB

Release files / utcp_socket-1.1.1.tar.gz

Download URL utcp_socket-1.1.1.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a81573aaf6e0702ad375e55f3cad28dedf9d5eabde773c04dfd221d6ca37443a
BLAKE2b-256 checksum
How to use checksums
f8149dd922378c89c47f915b9c25c76dade5b4e589e4d810c26b85215f8fbd8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / utcp_socket-1.1.1-py3-none-any.whl

Download URL utcp_socket-1.1.1-py3-none-any.whl
Size 14.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51f1e7cbaa5d9df2bd89a9bbfdb9c6b553430e88f8210381295635e4d71266b0
BLAKE2b-256 checksum
How to use checksums
83522758e48ce0ebda2d002f572cc2b479d931c9652393b51375d22ede3a5da3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page