Управление Docker контейнерами с помощью docker-py
docker-py – это официальная библиотека Python для Docker, предоставляющая API для взаимодействия с Docker Daemon. С её помощью можно автоматизировать процессы создания, запуска, остановки и удаления контейнеров, работы с образами, сетями и томами Docker.
import docker
# Создание клиента
client = docker.from_env()
# Запуск контейнера
container = client.containers.run("ubuntu:latest", "echo Hello, docker-py!", detach=True)
# Получение логов контейнера
print(container.logs().decode())
# Остановка и удаление контейнера
container.stop()
container.remove()
В данном примере мы создаем клиента Docker, используя переменные окружения текущей сессии. Затем мы запускаем контейнер из образа ubuntu:latest, выполняем в нем команду echo, выводим логи работы контейнера и в конце останавливаем и удаляем контейнер.
Управление образами с помощью docker-py:
# Получение списка всех образов
images = client.images.list()
# Вывод информации о каждом образе
for image in images:
print(f'ID: {image.id}, Теги: {image.tags}')
Для дальнейшего изучения и ознакомления с более продвинутыми возможностями рекомендуется обратиться к официальной документации.
#python#docker#dockerpy
http://matplotlib.org/
#matplotlib is a python #2D#plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. matplotlib can be used in #python scripts, the python and #ipython shell (ala MATLAB®* or Mathematica®†), web application servers, and six #graphical user interface toolkits.
screenshots
#вакансия#mlops#engineer#llm#vllm#hugginface#rag#embeddings#k8s#docker#deckhouse#Langfuse#LlamaIndex#remote
Вакансия: MLOps-инженер
Компания: АО СимбирСофт
Формат работы: удалёнка
Занятость: полная занятость
Ищем MLOps инженера в РФ 👨💻
🚀 Нам нужен инженер, готовый развивать инфраструктуру LLM-платформы. Твоими задачами станут поддержка и развитие сервисов для больших языковых моделей, интеграция инструментов, настройка мониторингов и обеспечение безопасности данных.
🔍 Опыт работы с:
- Большими языковыми моделями (vLLM, TGI, Hugging Face)
- Python (FastAPI, скрипты, CLI)
- Архитектурой RAG и embedding-моделями
- Prometheus/Grafana
- Система аутентификации (Keycloak, JWT)
- Kubernetes, Docker, CI/CD
💡 Будут полезны знания:
- Deckhouse или других дистрибутивов Kubernetes
- Langfuse, LlamaIndex, PostgreSQL Vector, Chroma
- Принципов MLOps и интеграции сторонних API
✅Условия:
- Удаленный формат работы.
- Гибкое начало рабочего дня.
- Широкий технологический стек, сотни проектов. Можно разрабатывать IT-решения для разных отраслей, пробовать новые технологии.
- Помогаем прокачаться во всех интересующих направлениях: стать тимлидом, архитектором, разработчиком.
- Имеем развитую систему наставничества, проходим сертификацию за счет компании, участвуем в конференциях. Активно обмениваемся опытом, проводим внутренние и внешние митапы, прокачиваем hard и soft skills.
Присоединяйся к нам!✨
Если заинтересовала вакансия, буду рада обсудить в тг:
https://t.me/gulnara_s28 ʕ ᵔᴥᵔ ʔ
#python#crawler#feapder#feaplat#python#scrapy#spider
Feapder is a simple, powerful Python web scraping framework (Python 3.6+) with four spider types for different needs, plus breakpoint resuming, monitoring alerts, browser rendering, and massive data deduplication. Install easily via pip (basic, render, or full versions), create a spider with one command, and run it to fetch/parse sites like Baidu. A management system handles deployment/scheduling. This saves you time by making scraping fast, reliable, and scalable without building everything from scratch.
https://github.com/Boris-code/feapder
#go#containers#deployment#devops#docker#docker_compose#golang#hacktoberfest#kubernetes#orchestration#self_hosted
Uncloud lets you run and manage web apps across multiple servers (cloud, home, or bare metal) as easily as using Docker Compose, but with production features like zero-downtime updates, automatic HTTPS, and cross-machine scaling. It connects your machines into a secure, private network without needing a central control server, so there’s less to manage and no single point of failure. You keep full control of your infrastructure and data, avoid vendor lock-in, and get a simple, cloud-like experience without the complexity of Kubernetes.
https://github.com/psviderski/uncloud
#python#assistant#learning#note_taking#notebook#notes_app#self_learning
Open Notebook is a free, open-source tool that helps you organize and control your research privately without relying on big companies like Google. It supports many AI providers, lets you manage different content types like PDFs and videos, and even create professional multi-speaker podcasts. You can search your notes smartly, chat with AI using your own research as context, and customize everything to fit your needs. It runs on your own computer or cloud, so you keep full control of your data and costs. This means you get a powerful, flexible, and private research assistant tailored to you.
https://github.com/lfnovo/open-notebook
#python#evaluation_framework#evaluation_metrics#llm_evaluation#llm_evaluation_framework#llm_evaluation_metrics
DeepEval is an open-source tool that makes it easy to test and improve large language model (LLM) applications, much like how Pytest works for regular software, but focused on LLM outputs. It offers over 30 ready-to-use metrics—such as answer relevancy, faithfulness, and hallucination—to check if your LLM is accurate, safe, and reliable. You can test your whole application or just parts of it, and even generate synthetic data for better testing. DeepEval works locally or in the cloud, letting you compare results, share reports, and keep improving your models. This helps you build better, safer, and more trustworthy LLM apps with less effort[1][2][3].
https://github.com/confident-ai/deepeval
#python#gregtech#minecraft#modpack#quests#thaumcraft
GT New Horizons is a very large and challenging Minecraft modpack focused on GregTech, offering a deep, progressive experience starting from the Stone Age and advancing through technology tiers like steam and electricity, eventually exploring other planets and dimensions. It includes over 3000 quests that guide you through complex tech, magic, and exploration, making the game feel like one connected adventure rather than separate mods. The pack features realistic world generation, tough survival conditions, and a mix of technology and magic mods, providing a long-lasting, rewarding gameplay for players who enjoy expert-level challenges and detailed crafting systems[1][2][3]. This benefits you by offering a rich, immersive Minecraft experience that grows with your skills and keeps you engaged for a long time.
https://github.com/GTNewHorizons/GT-New-Horizons-Modpack
#rust#artificial_intelligence#big_data#data_engineering#distributed_computing#machine_learning#multimodal#python#rust
Daft is a powerful, easy-to-use data engine that lets you process large-scale data using Python or SQL with high speed and efficiency. It supports complex data types like images and tensors, works well interactively for quick data exploration, and can scale to huge cloud clusters using Ray. Daft integrates smoothly with cloud storage and data catalogs, making it ideal for data engineering, analytics, and machine learning workflows. By using Daft, you can handle big, multimodal datasets faster and more flexibly, improving your ability to analyze and prepare data for AI models without complex setup or slowdowns.
https://github.com/Eventual-Inc/Daft