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

Резултати

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

Пребарај: #wtioil

当前筛选 #wtioil清除筛选
Сигналы РЦБ Крипто

@usa100cks · Post #25738 · 30.04.2026 г., 09:01

#WTIOIL Крупный трейдер нарастил лонг по нефти Крупнейший ончейн-лонг по WTIOil внес еще $11,94 млн USDC на Hyperliquid, чтобы увеличить позицию. Сейчас он держит лонг на 383 000 xyz:CL стоимостью около $41,49 млн.

Hashtags

Crypto M - Crypto News

@CryptoM · Post #64906 · 10.04.2026 г., 08:43

🚀 Abraxas Capital Closes Major Oil Short Positions, Shifts Focus to Bitcoin and Gold On April 10, Hyperinsight monitoring revealed that Abraxas Capital, previously the largest oil short seller on the Hyperliquid platform, closed its significant WTIOIL and BRENTOIL short positions this morning. According to BlockBeats, the positions, valued at approximately $160 million, were closed at average prices of $95 and $95.5, respectively, resulting in a total profit of around $10.15 million. Following the closure of these positions, the entity has not initiated any large-scale new positions. Currently, its main holdings include a long position in Bitcoin valued at $20.5 million and a short position in gold amounting to $30.8 million. It is reported that since March 26, the address had aggressively opened oil short positions, with the position size peaking at $160 million. After recent ceasefire news, the holdings shifted from an unrealized loss of $9.7 million to a profit, which at one point expanded to nearly $10 million, before profit-taking began yesterday afternoon. #AbraxasCapital#OilShort#Bitcoin#Gold#WTIOIL#BRENTOIL#Hyperliquid#CryptoInvesting#CommodityTrading#BTC

Crypto M - Crypto News

@CryptoM · Post #64916 · 10.04.2026 г., 09:24

🚀 Oil Market Sees Increased Activity from Major Investors On April 10, Hyperinsight reported significant activity in the oil market on the Hyperliquid platform, specifically Trade.xyz. According to BlockBeats, 14 major investors, known as whales, have opened positions in crude oil. Among them, 10 have opted for WTIOIL long positions, while 4 have chosen BRENTOIL long positions, indicating a strong bullish sentiment. No new large-scale short positions have been established today. The most pressured long positions in terms of liquidation are held by two major investors. The WTIOIL long position, associated with the address 0xf9fbfe77059b980cd8aef58204a3a66f9eaa0b98, faces a liquidation price of $87.7 and has a holding size of $5.02 million. Meanwhile, the BRENTOIL long position, linked to the address 0x9ab1c356e6af86361446497fce954b3cdf940206, has a liquidation price of $87.2 and a holding size of $1.91 million. #OilMarket#Investors#CrudeOil#WTIOIL#BRENTOIL#Bullish#Trading#Hyperliquid#BlockBeats#Whales