معرفی شرکت ها


easySocket-1.0.3


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A python module for making netwroking (especially sending files) easier
ویژگی مقدار
سیستم عامل -
نام فایل easySocket-1.0.3
نام easySocket
نسخه کتابخانه 1.0.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Niklas Ziermann
ایمیل نویسنده n-ziermann@protonmail.com
آدرس صفحه اصلی https://github.com/N-Ziermann/easySocket
آدرس اینترنتی https://pypi.org/project/easySocket/
مجوز MIT
# easySocket **Version 1.0.3** "easySocket" is a module for Python that's based on the "socket" module and aims to make tasks like sending long texts or files easier/simpler. I wrote this module, because I wanted to send an image with the socket module and found it annoying to always spend multiple lines of code to be able to send an image that was bigger than the maximum amount of bytes sendable with one socket.send command. ## Example ```python import easySocket c = host_tcp("0.0.0.0", 8000) easySocket.send_file("./flower.png", c) ``` This is all you need to do to send an image file using easySocket ## Install ```shell pip install easySocket ``` ## Documentation Host a tcp connection with one function: ``` host_tcp(my_ip, port) ``` Connect to a tcp conenction with one function: ``` connect_tcp(ip, port) ``` Send a file over a tcp connection independent of size: ```python send_file(location, recipient) ``` Send a text over a tcp connection independent of size: ``` send_text(text, recipient) ``` Receive data from one of the two functions above: ``` rcv_data(sender) ``` ## Contributors Niklas Ziermann ## Copyright & License **© Niklas Ziermann** **MIT License**


نحوه نصب


نصب پکیج whl easySocket-1.0.3:

    pip install easySocket-1.0.3.whl


نصب پکیج tar.gz easySocket-1.0.3:

    pip install easySocket-1.0.3.tar.gz