Skip to main content

xKanaele

Moderne TCP/IP-Kommunikationsmodule fuer Python. Ersetzt veraltete Socket-Module mit robustem Protokoll, flexibler Rollenverteilung und Multi-Typ-Unterstuetzung.

Installation

pip install xkanaele

Verwendung

from xkanaele import xKanaele

# Client senden und empfangen
kanal = xKanaele("192.168.1.100", 8080, rolle="client")
kanal.senden("Hallo Welt")
antwort = kanal.empfangen(timeout=5)
kanal.schliessen()
from xkanaele import xKanaeleServer

def dienstprozedur(nachricht):
    return f"Empfangen: {nachricht}"

server = xKanaeleServer(8080, dienstprozedur)
server.starten()

Features

  • Unbegrenzte Nachrichtengroesse (Laengen-Praefix Protokoll)
  • Multi-Typ-Unterstuetzung (str, int, bytes, Objekte)
  • Flexible Rollenverteilung (Client oder Server)
  • Robustes Protokoll (kein Delimiter-Problem)
  • Integriertes Logging
  • Timeout-Mechanismus

Lizenz

MIT License

Metadata

Release files for xkanaele 0.2.0

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

Source distribution (sdist)

Source distribution for xkanaele 0.2.0
File Size Uploaded
xkanaele-0.2.0.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xkanaele 0.2.0
File Interpreter ABI Platform
xkanaele-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.2 kB

Release files / xkanaele-0.2.0.tar.gz

Download URL xkanaele-0.2.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
89ea0e34c2e11318e93755cab137028562fd907b891a06c766a86bb6beef0705
BLAKE2b-256 checksum
How to use checksums
38ddb08259d9ee4d961191a74d5ac78ef5d53dcbdaa0d67ac0d6ba1a018f0792
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / xkanaele-0.2.0-py3-none-any.whl

Download URL xkanaele-0.2.0-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34876419a7342a1106c7e103f95334716d04afb4d36f6ca87f26528e2ad71441
BLAKE2b-256 checksum
How to use checksums
a868b1ac9c853625b9b219f5b59b98236f11edbe4d2e473a88ce677ad6f5a2ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

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