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 слични објави

Пребарај: #tradingbots

当前筛选 #tradingbots清除筛选
SLEX NEWS

@slex_io · Post #69 · 19.07.2023 г., 12:32

🚀Are you ready to elevate into a crypto trading game?🤖 SLEX will bring an array of bots designed to supercharge your trading strategies and maximize your profits. Let us introduce to you the different types of SLEX trading bots: 1️⃣ Grid Bot: This intelligent bot follows a buy-low, sell-high approach by strategically placing orders at predefined price intervals 🌊📈📉 2️⃣ Arbitrage Bot: Say hello to the Arbitrage Bot, which hunts for pricing inefficiencies and swiftly executes trades to exploit them 💸💱 3️⃣ DCA Bot: The DCA Bot allows you to gradually build your crypto position over time by spreading out your orders at regular intervals📉🔄📈 4️⃣ AI Bot: Experience the future of trading with our AI Bot, which executes trades, identifies patterns, and develops robust trading strategies 🤖📊 👉Open the window to the future with the prospects of SLEX trading bots: SLEX.io/registration #SLEX#TradingBots#CryptoTrading#AutomatedTrading Email | Telegram | Reddit | Facebook | Instagram | Medium | Linkedin | Twitter

SLEX NEWS

@slex_io · Post #73 · 01.08.2023 г., 13:32

🚀 Hello, SLEXians! 🤖As you already know SLEX platform will launch an Automatic Trading Feature along with AI-Powered Trading Bots! 💻Trading around the clock, analyzing market trends, executing trades, and even learning from market shifts – that's what our Automatic Trading Feature ensures. 🤔But we're curious... What's your trading style? Are you ready to use Trading Bots and AI? Or do you prefer a hands-on approach to navigating the crypto world? 🌊 Jump into the comments and let us know! 🗣️ We're excited to hear how you plan to use (or not use) these advanced features on the SLEX platform! 💬👥 #SLEX#CryptoTrading#AutomatedTrading#AI#TradingBots Email | Telegram | Reddit | Facebook | Instagram | Medium | Linkedin | Twitter

Crypto M - Crypto News

@CryptoM · Post #64525 · 09.04.2026 г., 06:06

🚀 Crypto Sector Performance: MVB Leads Gains, Moltbook & OpenClaw Theme Declines The cryptocurrency market witnessed varied sector performances recently, with MVB emerging as the top rising sector, recording a 38.54% increase. According to NS3.AI, the Moltbook & OpenClaw Theme sector experienced the most significant decline, falling by 18.56%. Additionally, Trading Bots saw a notable rise of 30.41%, while Solana Token-2022 decreased by 8.27%. These fluctuations highlight the dynamic nature of the crypto market, with sectors experiencing both gains and losses. #Crypto#CryptocurrencyMarket#MVB#Moltbook#OpenClaw#TradingBots#Solana#OPN