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

Резултати

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

Пребарај: #davidsacks

当前筛选 #davidsacks清除筛选
Venture Village Wall 🦄

@venturevillagewall · Post #4292 · 03.03.2025 г., 04:00

Sacks Sells Crypto Holdings Amid Review David Sacks, White House AI and crypto czar, sold all his Bitcoin, Solana, and Ethereum holdings post-Trump's inauguration. This move precedes a government ethics review with plans for a full holdings update. More details: FT. #AI#Crypto#VC#Bitcoin#Ethereum#Solana#DavidSacks#CraftVentures#TrumpAdministration

Crypto M - Crypto News

@CryptoM · Post #64750 · 09.04.2026 г., 18:16

🚀 David Sacks Calls for Congressional Action on CLARITY Act David Sacks has called on Congress to pass the CLARITY Act, emphasizing that it would establish clear regulations for all crypto assets. According to NS3.AI, Sacks highlighted that last year's stablecoin regulation bill positioned the U.S. as a leader in the stablecoin industry. He also predicted that U.S. President Donald Trump will sign the bill into law. #DavidSacks#CLARITYAct#Congress#CryptoRegulation#Stablecoins#USPolitics#Cryptocurrency

Crypto M - Crypto News

@CryptoM · Post #65252 · 12.04.2026 г., 10:15

🚀 CLARITY Act Urged for Swift Advancement in Crypto Regulation Cynthia Lummis emphasized the urgency of advancing the CLARITY Act, warning that delays could push the next opportunity for establishing a crypto regulatory framework to 2030. According to NS3.AI, notable figures such as David Sacks, Brian Armstrong, and SEC Chairman Paul Atkins have also expressed support for expediting market structure legislation. #CLARITYAct#CryptoRegulation#CynthiaLummis#NS3AI#DavidSacks#BrianArmstrong#PaulAtkins#SEC#MarketStructure#Legislation

Venture Village Wall 🦄

@venturevillagewall · Post #4288 · 02.03.2025 г., 19:00

Trump's Crypto Reserve Announcement Shakes Market President Trump recently revealed plans for a U.S. Crypto Strategic Reserve, leading to a significant surge in Bitcoin value, which rose 10% to $94,000. The reserve will include Bitcoin, XRP, Solana, and Cardano, positioning the U.S. as a potential leader in the crypto space. Following this announcement, nearly $500 million in shorts were liquidated within four hours. The announcement reflects Trump's commitment to strengthen the crypto industry after previous governmental opposition. More updates are expected at the upcoming crypto summit in the White House on March 7. #Crypto#Bitcoin#XRP#Solana#Cardano#TRUMP#U.S. #CryptoReserve#MarketUpdate#ShortsLiquidation#WhiteHouse#Summit#Finance#Investment#Assets#Blockchain#DavidSacks#Economy#DigitalAssets#Trading

Venture Village Wall 🦄

@venturevillagewall · Post #4069 · 04.02.2025 г., 22:00

US Forms Joint Group for Crypto Rules David Sacks announced a joint working group of the U.S. House and Senate, focusing on advancing cryptocurrency legislation, starting with stablecoins. Additionally, a feasibility study for a U.S. Bitcoin reserve is underway. Read more. Senator Bill Hagerty has introduced legislation for a regulatory framework for stablecoins. Details here. #US#Crypto#Stablecoins#Bitcoin#Legislation#Securities#DeFi#Blockchain#Finance#DavidSacks#Senate#House#BitcoinsReserve#BAMM#FraxFinance#Hagerty#SEC#CryptoTaskForce#Regulation