TGTGInsightinteligencia telegramLIVE / telegram public index
← Python Academy

TGINSIGHT SIMILAR POSTS

Buscar contenido similar

Canal fuente @python_academy · Post #2269 · 21 nov

Управление 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

Resultados

1,206 posts similares encontrados

Búsqueda global general

djangoproject

@djangoproject · Post #443 · 17/09/2017, 00:38

http://www.bogotobogo.com/python/python_unit_testing.php #python#unit_test In this chapter, we're going to write and debug a set of functions to convert to and from Hexa numbers. We can start mapping out what a hexa.py module should do. It will have two main functions, toHexa() and fromHexa(). The toHexa() function should take an integer from 1 to 65536 and return the hexa numeral representation as a string.

AIGC

@aigcrubbish · Post #13 · 15/11/2024, 06:14

PyPI 现在支持数字证明,增强了项目供应链的安全性。维护者可以在发布包时附上签名的数字证明,并通过新的 API 供用户和安装程序验证这证明。与传统的 PGP 签名相比,数字证明有三大优势:它们由身份而非密钥对签名,提供与上游源仓库的可验证链接,并且在上传时必须可验。已有超过 20,000 个证明被发布。PyPI 还提供了新的 Integrity API 和网页界面,方便用户查看文件的证明。 https://blog.pypi.org/posts/2024-11-14-pypi-now-supports-digital-attestations/ #Python#Security#PyPI #AIGC

Repositorio data science

@repo_science · Post #3374 · 30/06/2023, 14:57

#python#databases 🐍 Advanced Python: Working with multiple databases Description Build and connect Python Application to multiple databases 🔗Link ----- Main channel: @repo_science Coupons: @freecoupons_reposcience -----

Repositorio data science

@repo_science · Post #3265 · 04/06/2023, 22:32

#python#databases 🐍 Advanced Python: Practical Database Examples Level up as a Python developer working with databases in this advanced, skills-based course. 🔗Link ----- Main channel:@repo_science Coupons: @freecoupons_reposcience -----

Fang的资源分享群

@FLMdongtianfudi · Post #14560 · 27/09/2025, 13:28

📚 名称:Python从入门到精通教程全攻略【84GB】 ⭐️ 亮点:全面覆盖Python编程知识,从基础到高级,适合各个阶段的学习者,包含丰富的实例与项目。 🏷 标签:#Python#编程教程#入门到精通#学习资源 👉 链接:https://pan.quark.cn/s/93942fb408bf 🔔Twitter👥频道💬群组

QQ资源岛-破解软件分享

@QQZYDAPP · Post #5029 · 19/01/2026, 15:32

⭐️【资源名称】:python超简单智能编译工具 V9.2 32 🤖【适用平台】: #Windows 🧱【资源介绍】 python超超简单智能编译脚本打包 超超智能,简单,会点鼠标就可以的。 直接拉,直接点。就可以。 图标也直接拉图片会直接转换成图标,不需要专门找转换功能了。 🟢绿色版 🟡在线下载:点击下载(无需密码) 📁#电脑软件#python#智能#编译#工具

APP喵-软件资源共享

@appmew · Post #15875 · 13/01/2026, 01:58

DockerCN,Docker Optimizer for China:优化中国网络环境下的Docker使用,解决pull push login的网络问题,优化镜像内apt pip等工具为国内源!支持多平台架构镜像构建! 🏷标签:#源码#docker#国内镜像 ☁链接:点击获取 ⭐频道😮群聊✏投稿🌍中文

GitHub Trends

@githubtrending · Post #15587 · 26/03/2026, 12:30

#python#ai#ocr Chandra OCR 2 is a top OCR model that turns images and PDFs into structured Markdown, HTML, or JSON, keeping layout, tables, math, handwriting, and 90+ languages accurate—it leads benchmarks like olmOCR (85.9% overall) and multilingual tests (77.8% average). Install easily with `pip install chandra-ocr` for CLI use, local HuggingFace, or fast vLLM server; try the free playground first. You benefit by quickly digitizing complex docs with high precision, saving time on extraction and enabling easy editing or analysis without manual fixes. https://github.com/datalab-to/chandra

The Devs

@thedevs · Post #1265 · 27/10/2018, 15:39

Top 10 must-watch PyCon talks. #list#video#python @thedevs https://kutt.it/2R8abp

豆豆の垃圾桶

@fdd_JSB · Post #4225 · 17/12/2023, 21:02

dockge 一款很新的docker管理面板(2023-11-12发布的第一版) 作者:louislam(开发uptime-kuma的那个) 优点:Portainer的大部分功能他都有,而且没Portainer复杂,可以直接使用docker run生成docker compose并创建容器。 项目地址: https://github.com/louislam/dockge 项目官网: https://dockge.kuma.pet 作者演示视频: https://www.youtube.com/watch?v=AWAlOQeNpgU 别人的演示视频:https://www.bilibili.com/video/BV1CC4y1F7zm?t=460.5 #docker #分享 #面板

Bookmark

@bookmarktutorial · Post #1689 · 25/04/2022, 22:36

分享一份《#Kubernetes 源码架构图》,里面包含了 200 余张制作精美风格一致的源码设计图,覆盖主要组件包括 API Server,Controller,Scheduler,Proxy,Client 等,同时还有 #Docker, #Golang 等相关部分。 https://www.yuque.com/abser/kubernetes

Dejavu's Blog

@dejavuBlog · Post #2546 · 26/07/2023, 08:19

#GitHub ▎PokaPlayer 联合音乐播放器,支持群晖 DSM 本地源和网易云源,通过 #Docker 轻松 #自托管 部署 项目:https://github.com/gnehs/PokaPlayer 频道 @dejavuBlog 群组 @dejavuGroup

12•••4344454647•••100101