TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #421 · 23 мар.

Мы используем Makefile думая, что нет альтернатив, что это стандарт и всё такое. Но make это не запускалка команд, а система сборки. Мы фактически используем его не по назначению. И на самом деле альтернатива есть! Некоторое время назад я открыл для себя прекрасный инструмент - just. Он решает все проблемы make. just - это не система сборки как make, это именно исполнитель команд! Больше никаких Phony Targets и табуляций, привет нормальный синтаксис и передача аргументов!!! 😎 ⭐️Что умеет just: ✅ Автодокументирование команд Не нужно делать отдельную команду с докой, просто добавь комментарий # команда сборки build: ... $ just --list Available recipes: build # команда сборки Команда с именем default запускается по умолчанию если не указано другое, так что я обычно делаю так: default: just --list Теперь просто выполняем just и получаем доку из текущего файла. ✅ Удобная работа с переменными окружения # загрузить из .env set dotenv-load # глобальная переменная export PYTHONPATH := "./src" # переменная для команды test $TESTUNG="true": pytest ✅ Передача аргументов build target: @echo 'Build {{target}}...' команда запуска $ just build dev # Build dev... ✅ Выбор интерпретатора прямо в команде Пример с инлайн-скриптом на python: system: #!/usr/bin/env python3 import platform print(platform.system()) Эта же функция позволит выполнить скрипт как одну команду вместо перезапуска шела для каждой строки foo: #!/usr/bin/env sh for file in ls .; do echo $file done ✅ Выполнение команды в определенной директории. Можно указать как релятивный путь так и абсолютный [working-directory: 'backend'] build: docker compose build Также можно задать рабочую директорию глобально Там еще много интересного: - поддержка функций - автокомплиты и интеграции - экспрешены - алиасы команд - группировка команд - альтернативы команды под разные ОС - импорт других just-файлов - цветной вывод - ... и другие штуковины! Так что вперёд - ➡️ читать доку! Репозиторий: ➡️https://github.com/casey/just Статья: ➡️https://www.chicks.net/reference/file_formats/just/ ЗЫ. Кажется, на Makefile я уже не вернусь) #tools

Hashtags

Резултати

Пронајдени 3 слични објави

Пребарај: #cua

当前筛选 #cua清除筛选
GitHub Trends

@githubtrending · Post #15063 · 15.08.2025 г., 13:00

#python#agents#ai#ai_ux#autogen#browser_use#computer_use_agent#cua#ui Magentic-UI is a tool that helps you automate complex web tasks by working together with you. It lets you plan step-by-step actions, watch the progress, and approve sensitive steps to keep control and safety. You can interact with it through a browser, upload files, and even run multiple tasks at once. It learns from past tasks to improve future automation. This means you save time on repetitive or complicated web activities while staying in control, making your work easier and more efficient. It supports Python 3.10+ and works best with Docker or WSL2 on Windows. https://github.com/microsoft/magentic-ui

GitHub Trends

@githubtrending · Post #14711 · 15.05.2025 г., 14:00

#python#agent#ai_agent#apple#computer_use#cua#lume#macos#manus#operator#swift#virtualization#virtualization_framework The information provided doesn't directly relate to Discord bots or their benefits. However, if we consider the broader context of automation and AI tools like those mentioned in the text, these technologies can enhance user experiences by automating tasks and providing interactive features. For example, AI agents can control virtual environments, which might be useful in various applications, including gaming or educational settings. This kind of automation can save time and increase efficiency, similar to how Discord bots automate tasks and engage communities[1][2]. https://github.com/trycua/cua

GitHub Trends

@githubtrending · Post #15071 · 18.08.2025 г., 12:30

#typescript#agent#agentic_ai#agents#ai#ai_agents#ai_tools#anthropic#automation#bytebot#computer_use#computer_use_agent#cua#desktop#desktop_automation#docker#gemini#llm#mcp#openai Bytebot is an open-source AI desktop agent that acts like a virtual employee with its own computer, able to use real applications, browse websites, handle passwords, and process documents automatically. You just describe tasks in plain English, and Bytebot completes them by clicking, typing, downloading files, organizing data, and running complex workflows across multiple programs. It runs locally on your own infrastructure, ensuring privacy and full control, and supports many AI models. This helps you save time by automating repetitive or complex tasks without scripting, improving efficiency and accuracy in business, research, or development work. https://github.com/bytebot-ai/bytebot