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

Резултати

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

Пребарај: #ns3ai

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

@CryptoM · Post #64860 · 10.04.2026 г., 05:07

🚀 XRP Rises to $1.35 Amid Strong Trading Volume XRP experienced a price increase, reaching $1.35 after surpassing the $1.34 mark on strong trading volume. According to NS3.AI, the upward movement paused below $1.36, and XRP continues to be part of a broader downtrend. There is no clear catalyst identified for this recovery. #XRP#cryptocurrency#tradingvolume#priceincrease#downtrend#NS3AI

Crypto M - Crypto News

@CryptoM · Post #65416 · 13.04.2026 г., 06:17

🚀 Bitcoin Needs to Surpass $76,000 to Reverse Downtrend Bitcoin's recent performance indicates a need to break above $76,000 with significant trading volume to counteract its six-month downtrend. According to NS3.AI, the cryptocurrency rebounded from approximately $60,000 in early February, climbing above $75,000 before encountering resistance at its downtrend line. #Bitcoin#cryptocurrency#downtrend#NS3AI#tradingvolume#marketresistance#cryptomarket#BTC

Crypto M - Crypto News

@CryptoM · Post #64888 · 10.04.2026 г., 07:09

🚀 XRP's Quantum Attack Vulnerability Lower Compared to Bitcoin According to NS3.AI, an analysis reveals that approximately 0.03% of XRP's supply has exposed public keys, contrasting with 11%–37% of Bitcoin's supply. This indicates that XRP is relatively less susceptible to quantum attacks. The XRP Ledger offers the ability to replace an account's signing key without necessitating fund transfers, thereby minimizing exposure during security updates. #XRP#QuantumAttack#CryptocurrencySecurity#Bitcoin#Blockchain#NS3AI#XRPLedger#BTC

Crypto M - Crypto News

@CryptoM · Post #64526 · 09.04.2026 г., 06:14

🚀 Polymarket Traders' Earnings: Only 0.015% Achieve $5,000 Monthly Crypto analyst Andrey Sergeenkov's recent analysis reveals that a mere 0.015% of Polymarket traders managed to earn at least $5,000 monthly for four consecutive months. According to NS3.AI, the study examined trading data spanning from April 2024 to April 1, 2026, highlighting the challenges faced by traders in achieving consistent profitability on the platform. #Polymarket#Crypto#Trading#Earnings#Profitability#Analysis#NS3AI

Crypto M - Crypto News

@CryptoM · Post #64763 · 09.04.2026 г., 20:15

🚀 Ether Rises Over 6% as Undervaluation Signals Potential Retest of Higher Levels Ether experienced a 6.33% increase, surpassing $2,150, with indicators suggesting a potential retest of the $2,400–$2,500 range. According to NS3.AI, the Capriole Macro Index Oscillator registered a reading of -2.42, indicating that Ether is in a rare undervaluation zone. This development has sparked interest among investors, who are closely monitoring the cryptocurrency for further movements. #Ether#Crypto#Ethereum#Undervaluation#PriceIncrease#Investment#CryptoTrading#NS3AI#ETH

Crypto M - Crypto News

@CryptoM · Post #64801 · 10.04.2026 г., 00:36

🚀 U.S. President Trump Criticizes Iran's Handling of Strait of Hormuz Oil Passage U.S. President Donald Trump has expressed dissatisfaction with Iran's management of oil transit through the Strait of Hormuz. According to NS3.AI, Trump stated that Iran's actions are not in line with an agreement he claims was established. The Strait of Hormuz is a critical chokepoint for global oil shipments, and any disruptions can have significant implications for international markets. #Trump#Iran#StraitOfHormuz#OilTransit#GlobalOil#InternationalMarkets#NS3AI

Crypto M - Crypto News

@CryptoM · Post #65098 · 11.04.2026 г., 00:52

🚀 Altcoin Season Index Remains Steady at 35 CoinMarketCap's Altcoin Season Index has maintained its position at 35, unchanged from the previous day. According to NS3.AI, this index measures the performance of leading cryptocurrencies compared to Bitcoin over the past 90 days. #Altcoin#Crypto#Bitcoin#CoinMarketCap#Cryptocurrency#AltcoinSeason#NS3AI#CryptoIndex#CryptoNews#BTC

Crypto M - Crypto News

@CryptoM · Post #64978 · 10.04.2026 г., 12:43

🚀 Hezbollah Vows to Persist in Resistance Efforts Hezbollah has declared its commitment to continue its resistance until the very end. According to NS3.AI, Walter Bloomberg reported that the pro-Iranian armed group made this statement, emphasizing their unwavering stance. #Hezbollah#Resistance#Iran#ArmedGroup#WalterBloomberg#NS3AI

Crypto M - Crypto News

@CryptoM · Post #64469 · 09.04.2026 г., 01:45

🚀 Altcoin Season Index Remains Steady at 34 CoinMarketCap's Altcoin Season Index has remained at 34, showing no change from the previous day. According to NS3.AI, this index evaluates the 90-day performance of the top 100 cryptocurrencies, excluding stablecoins and wrapped tokens, in comparison to Bitcoin. #AltcoinSeason#Cryptocurrency#CryptoMarket#Bitcoin#Altcoins#CoinMarketCap#CryptoIndex#NS3AI#BTC

Crypto M - Crypto News

@CryptoM · Post #65113 · 11.04.2026 г., 03:14

🚀 Crypto Futures Experience $103 Million in Liquidations Over 24 Hours Crypto futures markets have experienced significant activity, with approximately $103 million in liquidations occurring in the past 24 hours. According to NS3.AI, this development highlights the ongoing volatility within the cryptocurrency sector. The liquidations reflect the dynamic nature of crypto trading, where rapid price movements can lead to substantial financial impacts for traders. This event underscores the importance of risk management strategies in navigating the unpredictable crypto landscape. #CryptoFutures#Liquidations#CryptoVolatility#Cryptocurrency#RiskManagement#CryptoTrading#NS3AI

123•••78
ПретходнаСтраница 1 од 8Следна