معرفی شرکت ها


django-message-broker-0.2.1


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

All-in-one message broker for Django supporting Channels, Celery and process workers
ویژگی مقدار
سیستم عامل -
نام فایل django-message-broker-0.2.1
نام django-message-broker
نسخه کتابخانه 0.2.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Tanzo Creative Ltd
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/django-message-broker/django-message-broker
آدرس اینترنتی https://pypi.org/project/django-message-broker/
مجوز Apache-2.0
# Django Message Broker [![Documentation Status](https://readthedocs.org/projects/django-message-broker/badge/?version=latest)](https://django-message-broker.readthedocs.io/en/latest/?badge=latest) <img src="assets/DMB Ecosystem opt.svg" alt="Django message broker ecosystem" width=200 align="right"/> Django Message Broker is a plugin written in Python for Django that provides an all-in-one message broker. It interfaces with Django Channels and Celery [1], and replaces the need for separate message brokers such as Redis and RabbitMQ. The motivating use case for Django Message Broker is small site solutions where it is easier to deploy a single server containing all the required functionality rather than a multi-server solution. An example would be a small site running data science models, where executing the model is a long running process and needs to execute in the background so that it doesn’t degrade the responsiveness of the user interface. Potential scenarios for Django Message Broker include: + Prototyping, Testing, Training + Data science projects where the model complexity exceeds the capabilities of packages such as Shiny, Dash and Streamlit. + Small systems with a low number of users. The Django Message Broker is an installable component of the Django platform that provides an easy to install, all-in-one alternative for small scale solutions. It does not replace the need for high volume message brokers where message volume and redundancy are important. **Note** 1. The Celery interface is in development and not supported in this release. ## Installation Install latest stable version into your python environment using pip:: pip install django-message-broker Once installed add ``django_message_broker`` to your ``INSTALLED_APPS`` in settings.py: INSTALLED_APPS = ( 'django_message_broker', ... ) Django Message Broker should be installed as early as possible in the installed applications list and ideally before other applications such as Channels and Celery. The message broker forks a background process which should occur before other applications create new threads in the current process. ## Configure Django Channels Layers To configure the Django Message Broker as a Channels layer add the following to the ``CHANNEL_LAYERS`` setting in settings.py: CHANNEL_LAYERS = { 'default': { 'BACKEND': 'django_message_broker.ChannelsServerLayer', }, }


نیازمندی

مقدار نام
>=4.0,<5.0 Django
>=0.3.2,<0.4.0 msgspec
>=22.3.0,<23.0.0 pyzmq
>=6.1,<7.0 tornado
>=4.3.2,<5.0.0) Sphinx
>=1.0.0,<2.0.0) sphinx_rtd_theme
>=0.16.1,<0.17.0) myst-parser


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

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


نحوه نصب


نصب پکیج whl django-message-broker-0.2.1:

    pip install django-message-broker-0.2.1.whl


نصب پکیج tar.gz django-message-broker-0.2.1:

    pip install django-message-broker-0.2.1.tar.gz