Обновление скрипта на python
Есть решение на Python.
При старте запускается вебсервер (uvicorn), который принимает соединение из интернета, проводит авторизацию через jwt и создаёт на RabbitMQ сервере очередь. После подписывает эту очередь на канал.
Что требуется допилить:
- при старте скрипт коннектится к mysql, делает выборку и создаёт очереди по этой выборке. Такого больше не надо. Необходимо вырезать этот кусок из скрипта и пройтись по коду где еще юзаются эти данные
- скрипт автоматически создаёт очереди rabbit_ws-receive и rabbit_ws-send - этого мне тоже не надо
- сейчас если я делаю docker-compose down - очереди на RabbitMQ сервере остаются - надо, что бы они тоже завершались
- при кол-ве подключений больше 30 скрипт ведет себя некорректно (скрины во вложении)
Applications 2
-
--docker-compose.yaml
version: "3.7"
services:
rabbit_ws_app:
container_name: rabbit_ws_app
build: .
env_file:
- .env
volumes:
- ./:/app:delegated
ports:
- 8888:8888
restart: unless-stopped
---Dockerfile
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.7
# install dependencies
WORKDIR /app
COPY ./app /app/app
COPY requirements.txt /tmp
RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir -r /tmp/requirements.txt
# launch server
CMD ["uvicorn", "main:app", "--reload", "--host", "0.0.0.0", "--port", "8888"]
-
Current freelance projects in the category Python
Mailing to groups
33 USD
Technical TaskProject Goal It is necessary to develop a console application for Windows that sends messages to Telegram groups using pre-prepared Telegram sessions.Main Requirements1. Authorization The software must work through the Telegram Session. 2-3 ready Telegram… Python, Bot Development ∙ 3 hours 19 minutes back ∙ 24 proposals |
Creation of a TikTok farm with income generation
602 USD
Looking for a person who can write software for a TikTok farm, so we can generate traffic and earn income. We are seeking a ready-made solution with a full cycle. Python, Bot Development ∙ 15 hours 37 minutes back ∙ 11 proposals |
AI Commenting Platform for TikTok and Instagram.Project Goal Develop a system that allows managing a large number of TikTok and Instagram accounts and automatically posting relevant comments under selected videos using AI. Main Functionality1. Account Management It is necessary to implement the ability to connect accounts:… AI & Machine Learning, Python ∙ 1 day 22 hours back ∙ 20 proposals |
Build a customer classification model1. There is client data in Mongo/SQL (approximately 20,000 entries with raw data). 2. It is necessary to build features and a classification model of clients into behavioral groups based on this data. 3. The project should be completed in Python. AI & Machine Learning, Python ∙ 3 days 17 hours back ∙ 42 proposals |
IT Automation of VAT Reporting
223 USD
It is necessary to develop a system for automating the transfer of sales data from the CRM to the accounting system Wafeq. The system should import bank and payment reports, automatically reconcile payments with invoices, generate invoices for VAT reporting, and minimize manual… AI & Machine Learning, Python ∙ 3 days 22 hours back ∙ 51 proposals |