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

Пребарај: #ethereumetf

当前筛选 #ethereumetf清除筛选
SpotOnChain | Announcement

@spotonchain · Post #830 · 21.05.2024 г., 02:57

3 hours ago, James Fickel (@jamesfickel) swapped another 350 $WBTC for 6,905 $ETH ($24.4M) at ~$3,534 as the $ETH price soared 20% (24H)! Note that since Dec 30, 2023, the founder of Amaranth Foundation has been bullish on the ETH/BTC trading pair, borrowing and exchanging 2,741 $WBTC for 50,688 $ETH at an ETH/BTC ratio cost of 0.054. Follow @spotonchain and visit James Fickel’s address at https://platform.spotonchain.ai/en/profile?address=0xd85351181b3f264ee0fdfa94518464d7c3defada #EthereumETF#Approval

TON Crypto News

@toncoin_rap · Post #112 · 05.09.2024 г., 14:14

🎧⤴ Ethereum ETF Set to Ignite Prices – Could ETH Hit $4,500? Monochrome Asset Management has filed to launch an Ethereum ETF in Australia under the ticker "IETH." If approved, the ETF will offer a regulated way for retail investors to buy into Ethereum, marking a crucial expansion of crypto products in Australia. Analysts predict this could push ETH prices towards $4,500, especially if Bitcoin continues its upward momentum. Verse 1: ETF drop, watch the markets shake, IETH comin’, time to raise the stake, Aussie brokers lined up, ready to go, Regulated crypto, yeah, it’s the show. Chorus: Will ETH hit that 4-5-0-0? Markets movin’ fast, now they wanna know, Monochrome pushin’ for the big rise, Crypto to the moon, no surprise. Verse 2: Bitcoin’s on fire, aim for that 100K, Ether right behind, it’s a bull run day, Dual-access cash flow, simple as can be, Australian retail gonna stack that ETH, see? Chorus: Will ETH hit that 4-5-0-0? Markets movin’ fast, now they wanna know, Monochrome pushin’ for the big rise, Crypto to the moon, no surprise. Bridge: Hold tight, watch that price climb high, Regulated ETF, no more askin’ why, Cash or in-kind, take your pick, Ethereum’s future, man, it’s lookin’ slick. Verse 3: From Bitcoin to ETH, it’s all on track, Regulators here, no more lookin’ back, Australia leads, yeah, they’re paving the way, Crypto in the mainstream, here to stay. Chorus: Will ETH hit that 4-5-0-0? Markets movin’ fast, now they wanna know, Monochrome pushin’ for the big rise, Crypto to the moon, no surprise. #EthereumETF #CryptoInvestment #TONCryptoNewsRapStyle 🎧@toncoin_rap

Venture Village Wall 🦄

@venturevillagewall · Post #3871 · 14.01.2025 г., 07:00

Crypto Funds Struggle Compared to Bitcoin OKX's founder Star claims no crypto fund has outperformed Bitcoin over the last decade, predicting a 100x growth for the industry. He acknowledged feedback on OKB's lack of use cases and poor listings. A new secret business line for OKX is set to launch in February. In other news, Ethereum spot ETFs saw a net outflow of $39.432 million, while Bitcoin ETFs faced a larger outflow of $284 million. Notably, BlackRock's ETHA and IBIT ETFs saw significant inflows. Read more about OKX's updates here, Ethereum's ETF activity here, and Bitcoin's ETF activity here. #OKX#Bitcoin#Ethereum#Crypto#ETFs#BlackRock#OKB#NFTs#Web3#DeFi#Soneium#S.BLOX #Blockchain#Investing#Finance#BitcoinETF#EthereumETF#VC#AI

Crypto M - Crypto News

@CryptoM · Post #65177 · 11.04.2026 г., 16:40

🚀 Morgan Stanley Explores Tokenized Money-Market Fund After Bitcoin ETF Launch Morgan Stanley, managing $9.3 trillion in client assets, is considering launching a tokenized money-market fund following its recent introduction of a spot Bitcoin ETF. According to NS3.AI, Amy Oldenburg from Morgan Stanley highlighted the bank's interest in tax-loss harvesting for digital assets through its subsidiary, Parametric. Data from Farside Investors indicates that the new Bitcoin ETF has attracted approximately $46 million in net inflows since its launch on Wednesday. Additionally, Morgan Stanley submitted applications in January for ETFs linked to Ethereum and Solana. #MorganStanley#TokenizedMoneyMarketFund#BitcoinETF#DigitalAssets#TaxLossHarvesting#EthereumETF#SolanaETF#Parametric#NS3AI#FarsideInvestors#CryptoInvesting#BTC#ETH#SOL