معرفی شرکت ها


django-postgresql-ws-0.1.0


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Django PostgreSQL backend proxied over WebSockets (for WASM)
ویژگی مقدار
سیستم عامل -
نام فایل django-postgresql-ws-0.1.0
نام django-postgresql-ws
نسخه کتابخانه 0.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده dek
ایمیل نویسنده dek@substructure.one
آدرس صفحه اصلی https://github.com/SubstructureOne/django-postgresql-ws
آدرس اینترنتی https://pypi.org/project/django-postgresql-ws/
مجوز BSD-3-Clause
django-postgresql-ws -------------------- `django-postgresql-ws` is an alternative PostgreSQL backend for Django proxied over WebSockets. It will only work when configured to run against a WebSockets proxy that is then communicating with the PostgreSQL server. websockify is the standard WebSockets proxy service it is tested against. The purpose of this backend is to allow a Django application to run against a PostgreSQL server in a WebAssembly (Pyodide) environment, where native sockets are not allowed but WebSockets are. The WebSocket communication is handled by the pgwasm library, which itself switches between using a the native websockets libray when being run in a native environment, and using the JS-proxied interface when run under Pyodide. This backend is based on a copy of the PostgreSQL backend that ships with Django 4.1 with updates made to use `pgwasm` instead of `psycopg2`. Note that while Django does not natively support async in its implementation of its ORM, the database backend needs to be async in order to communicate over WebSockets in Pyodide, since the JS interface receives WebSockets messages via callbacks. The `async_to_sync` method provided by `asgiref` properly handle running the async methods in the proper event loop.


نیازمندی

مقدار نام
>=4.1.3,<5.0.0 django
>=0.2.1,<0.3.0 pgwasm
>=3.5.2,<4.0.0 asgiref


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

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


نحوه نصب


نصب پکیج whl django-postgresql-ws-0.1.0:

    pip install django-postgresql-ws-0.1.0.whl


نصب پکیج tar.gz django-postgresql-ws-0.1.0:

    pip install django-postgresql-ws-0.1.0.tar.gz