Skip to main content

tinytcp

Event based package for tcp server/client on top of python sockets package

TcpClient

TcpClient one class for two cases: from the client side, it would be used to initiate the connection, and from the server side, it would be used on the accepted socket. For client, TcpClient constructor would take ip and port of the server, and for the server, TcpClient constructor would have the accepted socket. TcpClient have a method to start receiving asynchronously, once there is a message it triggers the message received handler function.

TcpServer

It has a method to start listening to incoming connections asynchronously, once there is a new connection, it initiates a new TcpClient object with the accepted sockets, it links the events, and makes it start receiving messages.

Metadata

Release files for tinytcp 1.0.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 tinytcp 1.0.0
File Size Uploaded Provenance Actions
tinytcp-1.0.0.tar.gz 2.6 kB Without provenance Details for tinytcp-1.0.0.tar.gz

Release files / tinytcp-1.0.0.tar.gz

Download URL tinytcp-1.0.0.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2c9825cdc907c3041d440a1a0f3ded5ba7a6c8249158096447991da2c1cc25ae
BLAKE2b-256 checksum
How to use checksums
6fe541bec1d66a9fc97f69c6598685bd5a05b68402ed1f01beb6284d68b48404
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

Security for tinytcp 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

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