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

Резултати

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

Пребарај: #kelsier

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

@venturevillagewall · Post #4163 · 16.02.2025 г., 01:00

Market Moves: KIP Protocol & Canada Banks KIP Protocol states token issuance is under Kelsier Ventures. Argentine President Milei pledged support but will reinvest $100M into Libra tokens. Meanwhile, Canada's National Bank and Bank of Montreal acquire a total of $1.315B in $MSTR shares. KIP Protocol Link #KIP#Kelsier#Argentina#Libra#Bitcoin#MSTR#Canada#Finance#Investment#MarketMaking#Crypto#VC

Venture Village Wall 🦄

@venturevillagewall · Post #4181 · 18.02.2025 г., 13:00

Crypto Scandal: LIBRA's Dramatic Fall Dave Portnoy attempts to buy tokens after repurposing LIBRA, mistakenly investing $200K in a fraudulent version, which plummeted 93%. Meanwhile, President Javier Milei faces allegations of fraud linked to the LIBRA token. A lawsuit by Argentine lawyers cites the former Central Bank head. CEO Hayden Davis of Kelsier Ventures blames insider selling for the crash. Investigations are ongoing amidst claims of insider knowledge in the token launch. For more insights, check the full news: Forklog News. #Crypto#Argentina#Libra#Miley#Scandal#Failure#InsiderTrading#Lawsuit#Kelsier#Token#Blockchain#Finance#Investigation#HaydenDavis#Fraud#News#Market#Trends#Regulations#DeFi

Venture Village Wall 🦄

@venturevillagewall · Post #4171 · 17.02.2025 г., 07:00

Argentina's President Accused in LIBRA Scandal Argentinian President Javier Milei faces fraud allegations linked to meme token LIBRA amidst a legal action led by former central bank chief. Kelsier Ventures CEO Hayden Davis claims Milei's actions triggered a crash in LIBRA's price, while insider selling reportedly occurred prior to Milei's tweet removal. Investigations are ongoing as accusations of insider knowledge circulate among influencers and projects involved. For more details, read the full report here. #LIBRA#Argentina#Crypto#MemeTokens#Fraud#JavierMilei#Kelsier#KIPProtocol#InsiderTrading#LegalIssues#HaydenDavis#Volatility#Investigation#MarketCrash#Blockchain#CryptoScandal#Influencers#Jupiter#Meteora#Finance#VC

Venture Village Wall 🦄

@venturevillagewall · Post #4178 · 18.02.2025 г., 04:00

DeFi Tuna Exposes Fund Manipulation Scheme Moty, founder of DeFi Tuna, accuses Kelsier of orchestrating a scheme to siphon significant funds from M3M3. Meteora leaders, including Ben, allegedly facilitated numerous KOLs, allowing them to purchase tokens early before the official launch. This led to massive profits for these investors. 📈Read more here. #DeFi#Crypto#VC#M3M3#marketmanipulation#KOLs#funds#memecoin#profit#Moty#Kelsier#Meteora#Ben#Hayden#launchpad#staking#Bitcoin#yield#institutional#collateral#Maple