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
- 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]
- Run the socket plugin tests:
python -m pytest plugins/communication_protocols/socket/tests -v
- 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
- 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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| utcp_socket-1.1.1.tar.gz | 12.6 kB | Without provenance | Details for utcp_socket-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| utcp_socket-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for utcp_socket-1.1.1-py3-none-any.whl |
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
|
Security for utcp-socket 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.