caduceussocket-0.1.5


توضیحات

A python socket manager.
ویژگی مقدار
سیستم عامل -
نام فایل caduceussocket-0.1.5
نام caduceussocket
نسخه کتابخانه 0.1.5
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Callum Burns-Curd
ایمیل نویسنده callum@fish.cat
آدرس صفحه اصلی https://github.com/C-Bookie/Caduceus
آدرس اینترنتی https://pypi.org/project/caduceussocket/
مجوز MIT
# A python socket manager. Extend Session for server classes. Extend Connection for client clasess. To expose functions to RPC calling, add their name to the white_list_functions list. To call a function, you can send JSON with the function name and arguments contained: { "type": "function_name", "args": [ "argument 1", "argument 2" ] } You can register a new connection by sending the clients name and the name of the session they should be moved to: { "type": "register", "args": [ "client_name", "session_name" ] } To send a message to other clients, you can call the broadcast message using the message and client name: { "type": "broadcast", "args": [ "message", "client_name" ] }


زبان مورد نیاز

مقدار نام
>=3.7,<4.0 Python


نحوه نصب


نصب پکیج whl caduceussocket-0.1.5:

    pip install caduceussocket-0.1.5.whl


نصب پکیج tar.gz caduceussocket-0.1.5:

    pip install caduceussocket-0.1.5.tar.gz