Skip to main content

Moderne TCP/IP-Kommunikationsmodule fuer Python

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xkanaele-0.2.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xkanaele-0.2.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file xkanaele-0.2.0.tar.gz.

File metadata

  • Download URL: xkanaele-0.2.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for xkanaele-0.2.0.tar.gz
Algorithm Hash digest
SHA256 89ea0e34c2e11318e93755cab137028562fd907b891a06c766a86bb6beef0705
MD5 5aba6ebcdb7c02f366b3ab3b8769e5d0
BLAKE2b-256 38ddb08259d9ee4d961191a74d5ac78ef5d53dcbdaa0d67ac0d6ba1a018f0792

See more details on using hashes here.

File details

Details for the file xkanaele-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: xkanaele-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for xkanaele-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 34876419a7342a1106c7e103f95334716d04afb4d36f6ca87f26528e2ad71441
MD5 8860614a65a73b29930db15710b40cb8
BLAKE2b-256 a868b1ac9c853625b9b219f5b59b98236f11edbe4d2e473a88ce677ad6f5a2ef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page