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

Пребарај: #interestrate

当前筛选 #interestrate清除筛选
Crypto M - Crypto News

@CryptoM · Post #64632 · 09.04.2026 г., 12:05

🚀 Poland's Central Bank Keeps Benchmark Rate Unchanged at 3.75% Poland's central bank has decided to maintain its benchmark interest rate at 3.75%, aligning with market expectations. According to Jin10, this decision reflects the bank's current monetary policy stance amid ongoing economic conditions. The unchanged rate suggests a cautious approach as the bank monitors inflationary pressures and economic growth. This move is consistent with the central bank's efforts to balance economic stability and inflation control. #Poland#CentralBank#InterestRate#MonetaryPolicy#Inflation#EconomicGrowth#EconomicStability

Crypto M - Crypto News

@CryptoM · Post #64815 · 10.04.2026 г., 01:43

🚀 South Korea Maintains Key Interest Rate Amid Economic Resilience South Korea's central bank announced on April 10 that it will keep the seven-day repo rate unchanged at 2.5%, continuing its steady policy stance since July last year, in line with market expectations. According to Jin10, this decision comes amid stable inflation and relatively resilient economic growth. In March, South Korea's consumer prices rose by 2.2% year-on-year, slightly up from February's 2% increase, yet still close to the central bank's target level. In February, the central bank had already raised its growth outlook for 2026. However, the ongoing Middle East conflict is posing risks to both inflation and growth. As a major importer heavily reliant on Middle Eastern energy, South Korea faces rising import costs due to global oil and gas price hikes. Additionally, the South Korean won has weakened significantly in recent weeks, influenced by foreign capital outflows and rising oil prices. Despite these challenges, South Korea's economic growth remains resilient. March exports showed strong momentum, driven by record demand for AI-related semiconductors and robust exports to China. #SouthKorea#InterestRate#EconomicGrowth#Inflation#CentralBank#Exports#AI#Semiconductors#OilPrices#Currency#MiddleEastConflict

Crypto M - Crypto News

@CryptoM · Post #65153 · 11.04.2026 г., 13:14

🚀 Middle East Conflict and Rising Oil Prices Impact Crypto Market The ongoing conflict in the Middle East and increasing crude oil prices are influencing the cryptocurrency market through interest-rate and risk channels. According to NS3.AI, these developments are contributing to bear market pressures. Additionally, Hong Kong's stablecoin licensing, disputes over prediction market rules, and Hyperliquid's crude oil trading are emerging as significant themes in the current market landscape. #MiddleEastConflict#RisingOilPrices#CryptoMarket#InterestRate#RiskChannels#BearMarket#NS3AI#StablecoinLicensing#PredictionMarket#Hyperliquid#CrudeOilTrading