Обновление скрипта на 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
Development of software with AIIt is necessary to develop software for automatic detection, capturing, and tracking of an object using a video camera and a rotating mechanism.Output data: Video camera with optics. Rotating device on two axes (azimuth/elevation angle). Servomotors controlled via Modbus… AI & Machine Learning, Python ∙ 15 hours 17 minutes back ∙ 12 proposals |
Technical Specification for Refinement of AI Bot for Generating Personalized SongsTECHNICAL TASK FOR IMPROVING THE AI PERSONAL SONG GENERATOR BOTMAIN GOAL Create a stable premium product that: generates the highest quality personal songs; does not fabricate facts about the client; works stably under load; is easily scalable; allows for analysis and… Python, Bot Development ∙ 16 hours 22 minutes back ∙ 30 proposals |
Excel Specialist / Process Automation (Excel + preferably programming)We are looking for a specialist with ADVANCED knowledge of Excel to optimize the existing file and automate processes. It will be a great advantage if you also have programming skills / VBA / Power Query / Power Automate or experience in creating complex logic in Excel. Project… Python, Databases & SQL ∙ 19 hours 21 minutes back ∙ 32 proposals |
Automation of processes through API and PythonBelow I described the current process and the result I would like to achieve. I also attach files of the real process to better understand how it looks in reality Current process Currently, the entire process is performed manually: uploading/downloading files, transferring… AI & Machine Learning, Python ∙ 20 hours 22 minutes back ∙ 41 proposals |
A bot needs to be created in Telegram for subscription payment.
45 USD
A bot needs to be created in Telegram where users can subscribe for access to the webcams located in the yard. Organize payment for two types of subscriptions (monthly and daily) in the bot. The bot should automatically check the payment and then provide access links. Python, Bot Development ∙ 1 day 9 hours back ∙ 78 proposals |