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

Пребарај: #spotetfs

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

@CryptoM · Post #65121 · 11.04.2026 г., 05:47

🚀 Solana Spot ETFs See Significant Inflows Amid Market Activity U.S. Solana spot ETFs experienced a notable increase in net inflows, totaling $11.453 million yesterday. According to NS3.AI, the Bitwise Solana Staking ETF was the sole fund contributing to these net inflows, highlighting its appeal among investors. #Solana#SpotETFs#Investing#Cryptocurrency#Bitwise#MarketActivity#ETFInflows

Crypto M - Crypto News

@CryptoM · Post #64546 · 09.04.2026 г., 07:16

🚀 KOFIA Chairman Advocates for Spot Virtual Asset ETFs in South Korea KOFIA Chairman Hwang Seong-hyeop has called for South Korea to introduce spot virtual asset ETFs to ensure the country does not fall behind international markets. According to NS3.AI, Hwang emphasized the importance of these financial instruments during a press conference marking his 100th day in office. He highlighted the U.S., UK, and Hong Kong as examples of markets where virtual assets are already contributing to portfolio diversification. #KOFIA#VirtualAssetETFs#SouthKorea#SpotETFs#FinancialMarkets#PortfolioDiversification#Cryptocurrency#HwangSeonghyeop#NS3AI#InternationalMarkets

Venture Village Wall 🦄

@venturevillagewall · Post #3592 · 20.12.2024 г., 13:00

First Combined Bitcoin-Ethereum ETFs Approved ✅ The SEC has approved the first combined spot ETFs for Bitcoin and Ethereum from Hashdex and Franklin Templeton. Asset allocation will be based on market capitalization, with Bloomberg analysts projecting a weight of approximately 80% Bitcoin and 20% Ethereum, reflecting current asset evaluations. Read more #SEC#ETF#Bitcoin#Ethereum#Hashdex#FranklinTempleton#Bloomberg#Crypto#Finance#Investment#Market#Assets#Approval#SpotETFs#Capitalization#Trading#AssetsAllocation#Investing#DigitalAssets#InvestmentStrategy

Venture Village Wall 🦄

@venturevillagewall · Post #4042 · 31.01.2025 г., 22:00

Grayscale Launches Dogecoin Trust 🚀 Grayscale Investments has launched the Grayscale Dogecoin Trust, redefining DOGE from a meme to an investment asset. The trust aims to offer accredited investors direct exposure to DOGE, highlighting its accessibility, low cost, and quick transactions. Grayscale's initiative underscores DOGE's role in promoting financial accessibility, as noted by Rayhaneh Sharif-Askary. While regulatory approval for secondary market trading is pending, the outlook for crypto ETFs remains positive following recent approvals. The DOGE Trust could potentially convert into an ETF in the future, aligning with the SEC's evolving view on cryptocurrencies. Notably, Bitwise Investment Advisers has proposed a Dogecoin ETF. 📈 #Grayscale#Dogecoin#Crypto#ETF#Finance#Investment#SEC#Regulation#AssetManagement#Bitwise#Inclusion#FinancialAccessibility#Meme#Blockchain#Trends#Markets#Innovation#DigitalAssets#SpotETFs#InvestmentTrusts

Crypto M - Crypto News

@CryptoM · Post #65139 · 11.04.2026 г., 11:24

🚀 Bitcoin Futures Open Interest Hits 14-Month Low Amid Institutional Strategy Shift On April 11, the open interest in Chicago Mercantile Exchange (CME) Bitcoin futures fell to $8.41 billion, marking its lowest level in 14 months. According to BlockBeats, Glassnode analysts attribute this decline primarily to the unwinding of basis trades. Previously, this strategy involved establishing long positions through spot ETFs and hedging with short futures to earn the spread. However, the annualized returns have recently dropped from 15%-20% to around 5%, prompting institutions to take profits. Additionally, the daily trading volume of CME Bitcoin futures has decreased to below $3 billion. Analysts suggest that as institutional demand shifts towards directly holding spot assets, the leverage in the futures market is significantly decreasing. #BitcoinFutures#OpenInterest#CME#BasisTrades#InstitutionalStrategy#SpotETFs#FuturesMarket#Leverage#TradingVolume#BlockBeats#Glassnode#CryptoMarket#BTC