Skip to main content

Code Craft AI Networking

The codecraftai-networking package is the low-level networking toolkit for the ccai suite. It provides the reusable primitives that higher-level protocol, discovery, and landscaping packages build on top of, without pulling in any heavy third-party networking stacks. Downstream packages such as codecraftai-interop (DNS/mDNS), codecraftai-landscaping, and the various codecraftai-interop-ext-* packages use these primitives directly.

Highlights

  • interfaces.py for enumerating local network interfaces.

  • arp.py for ARP lookups and resolution.py for name resolution helpers.

  • unicast.py, broadcast.py, and multicast.py socket-level send/receive helpers across the three delivery modes.

  • trafficcapturecontext.py providing a context-manager-based traffic capture abstraction.

  • Zero heavy third-party dependencies — intended as a reusable primitive layer.

Repository Structure

  • development/ - Runtime environment scripts.

  • repository-setup/ - Repository homing and setup scripts.

  • source/packages/ - Package source code.

  • source/tests/ - unittest-based tests.

  • source/examples/ - Example usage scripts.

  • specs/ - Requirements, design, and task documentation.

  • userguide/ - Standards, conventions, and documentation.

Environment Setup

When working in a Codex container:

./development/setup-agent-container

For local development:

./repository-setup/rehome-repository
./development/setup-environment

Running Tests

Activate the virtual environment:

source .venv/bin/activate

Run unittest tests:

python -m unittest discover -s source/tests -p "test_*.py"

Standards and Conventions

  • Naming conventions: userguide/10-02-naming-conventions.rst

  • Code organization: userguide/10-01-code-organization.rst

  • Coding standards: userguide/10-00-coding-standards.rst

Additional Resources

  • User guide entry point: userguide/userguide.rst

  • Design documentation: specs/design.md

  • Requirements: specs/requirements.md

Metadata

Release files for codecraftai-networking 1.3.2

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

Source distribution (sdist)

Source distribution for codecraftai-networking 1.3.2
File Size Uploaded Provenance
codecraftai_networking-1.3.2.tar.gz 28.2 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for codecraftai-networking 1.3.2
File Interpreter ABI Platform
codecraftai_networking-1.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 60.8 kB

Release files / codecraftai_networking-1.3.2.tar.gz

Download URL codecraftai_networking-1.3.2.tar.gz
Size 28.2 kB
Tags Source
SHA-256 checksum
How to use checksums
572f2bab0ddbad63104b53d058bfdb69720584213b91693ec5985f9422c77cf8
BLAKE2b-256 checksum
How to use checksums
2b1e558823287288741bde5b1ec78eb2095ade3b06a6e1a750c25998ccf8e43f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / codecraftai_networking-1.3.2-py3-none-any.whl

Download URL codecraftai_networking-1.3.2-py3-none-any.whl
Size 32.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b7928c38cd8fc8acc594ec2c7a591010b70002e7a9e7e7653ef337248c97c80
BLAKE2b-256 checksum
How to use checksums
f111f6dcb4f45c9ba991c68c2eb538fa75ccfbc0827bc0da6dc855b9cec0f70a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for codecraftai-networking 1.3.2

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for codecraftai_networking-1.3.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

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.

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