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

Резултати

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

Пребарај: #usinflation

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

@CryptoM · Post #64692 · 09.04.2026 г., 14:18

🚀 Bitcoin Stabilizes as US Core PCE Inflation Meets Expectations US core PCE inflation for February was reported at 3% year-on-year and 0.4% month-on-month, aligning with market expectations and reducing uncertainty. According to NS3.AI, Bitcoin's price stabilized after previously reaching approximately $73,000. Investors are exercising caution regarding Federal Reserve rate-cut expectations for the year. Mohamed El-Erian emphasized that CPI data this week holds greater significance for markets than PCE, especially in light of fluctuating oil prices. #Bitcoin#USInflation#CorePCE#Cryptocurrency#FederalReserve#Investing#MarketStability#BTC

Crypto M - Crypto News

@CryptoM · Post #65014 · 10.04.2026 г., 14:02

🚀 U.S. Inflation Rate Expectations for April Show Slight Increase The initial estimate for the U.S. inflation rate expectations over a five to ten-year period in April was reported at 3.4%, according to Jin10. This figure slightly missed the anticipated rate of 3.5% but showed an increase from the previous value of 3.20%. The data reflects ongoing concerns about inflationary pressures in the U.S. economy. #USInflation#InflationExpectations#Economy#USEconomy#InflationRate#Jin10

Crypto M - Crypto News

@CryptoM · Post #65245 · 12.04.2026 г., 08:58

🚀 U.S. Inflation Trends Show Potential Systemic Risks Amid Geopolitical Tensions CryptoQuant analyst Darkfost recently shared insights on the X platform regarding the current structure of U.S. inflation. According to Odaily, while the March Consumer Price Index (CPI) data recorded the largest month-on-month increase since 2022, the core CPI remained largely unchanged. This indicates that inflationary pressures have not yet fully spread across the economy. This trend requires ongoing monitoring through subsequent Personal Consumption Expenditures (PCE) data and in the coming months. As long as this structure persists, it suggests that inflation has not become systematically embedded in the U.S. economy and may be more of a temporary phenomenon, potentially linked to geopolitical conflicts. However, if the conflict between the U.S. and Iran prolongs, inflation could gradually evolve into a systemic risk, potentially impacting economic growth. In such a scenario, the Federal Reserve might be compelled to continue raising interest rates to address the situation. #USInflation#GeopoliticalTensions#CryptoQuant#CPI#PCE#InflationRisk#EconomicGrowth#FederalReserve#InterestRates#USIranConflict

Crypto M - Crypto News

@CryptoM · Post #65402 · 13.04.2026 г., 05:18

🚀 Deutsche Bank Strategists: U.S. Inflation Impact from Middle East Ceasefire Could Be Temporary On April 13, Deutsche Bank strategists released a report indicating that the U.S. Treasury market will need to assess the impact of the Middle East conflict ceasefire on U.S. inflation. According to Jin10, if the ceasefire persists, the inflation surge is likely to be viewed as a temporary phenomenon. The strategists expect the Federal Reserve to resume interest rate cuts in September. They also highlighted the need to monitor the war's potential impact on Treasury issuance, as Congress might allocate additional funds for the military. Deutsche Bank strategists anticipate that any increase in issuance will remain moderate and primarily involve long-term financing, helping to avoid pressure on long-term yields. #DeutscheBank#USTreasury#MiddleEastCeasefire#USInflation#FederalReserve#InterestRateCuts#TreasuryIssuance#MilitarySpending#LongTermFinancing

Crypto M - Crypto News

@CryptoM · Post #65333 · 13.04.2026 г., 00:13

🚀 PRECIOUS METALS | U.S. Inflation and Fed Rate Cut Expectations Impact Gold Prices On April 13, Jin10 reported that a research note from CITIC Securities highlighted the significant rise in U.S. overall inflation for March, driven by soaring oil prices, while core inflation remained moderate. According to Jin10, CITIC Securities anticipates minimal risk of secondary inflation in the U.S. and suggests that April's CPI may continue to show elevated growth due to compensatory increases in rental inflation. If oil prices decline slowly, U.S. CPI could remain above 3% year-on-year for the rest of the year. CITIC Securities also forecasts a 25 basis point rate cut by the Federal Reserve within the year, which may lead to a weaker U.S. dollar in the near term. This scenario could create liquidity-driven recovery opportunities for gold prices. Additionally, U.S. equities might benefit from improved risk appetite, while U.S. Treasury yields may lack sufficient downward momentum due to economic fundamentals. #PreciousMetals#USInflation#FedRateCut#GoldPrices#CITICSecurities#OilPrices#CoreInflation#CPI#USDollar#USEquities#USTreasuryYields

Crypto M - Crypto News

@CryptoM · Post #64537 · 09.04.2026 г., 06:45

🚀 U.S. Inflation Pressures Persist as February PCE Data Anticipated The market anticipates that the U.S. February Personal Consumption Expenditures (PCE) data will indicate ongoing inflationary pressures. According to BlockBeats, consensus expectations suggest a month-on-month increase to 0.4% and a year-on-year rate holding at 2.8%, with core PCE year-on-year at approximately 3.0%, significantly above the Federal Reserve's 2% target. Analysts highlight that the current inflation rebound is primarily driven by rising commodity prices and increasing energy costs, while 'super core services inflation' remains notably sticky, making a short-term decline unlikely. In this context, the Federal Reserve is expected to maintain the interest rate range of 3.50%-3.75% at its April meeting, marking the third consecutive pause in rate cuts. Market pricing has also shifted rapidly, with over 97% of traders betting on no change in April, and expectations for rate cuts within the year have cooled significantly, with mainstream views shifting towards a 'later, less' easing path. #USInflation#PCEData#InflationPressures#FederalReserve#InterestRates#EnergyCosts#CommodityPrices#SuperCoreServices#MarketExpectations#RateCuts#USEconomy#FebruaryPCE#EconomicOutlook#FedPolicy#InflationRebound

Crypto M - Crypto News

@CryptoM · Post #64983 · 10.04.2026 г., 12:50

🚀 U.S. CPI Watch: U.S. CPI Jumps 0.9% in March, Highest Since 2022 as Oil Drives Inflation Surge Key TakeawaysU.S. CPI rose 0.9% MoM, largest increase since 2022.Inflation hit 3.3% YoY, fastest pace since 2024.Gasoline accounted for ~75% of the monthly increase.Core CPI (ex-food & energy) slowed to 0.2% MoM.Inflation Surges on Energy ShockLatest data from the U.S. Bureau of Labor Statistics shows a sharp acceleration in inflation for March, with headline CPI rising 0.9% month-on-month.This marks the largest monthly increase since 2022, highlighting the growing impact of energy prices on the broader economy.Gasoline Prices Drive Majority of IncreaseThe surge in inflation was overwhelmingly driven by rising fuel costs linked to geopolitical tensions.Key detail:Gasoline contributed nearly three-quarters (~75%) of the CPI increaseThe spike reflects the ripple effects of higher oil prices amid the Iran conflict, which has tightened global energy supply.Yearly Inflation Accelerates to 3.3%On a yearly basis:CPI rose 3.3% YoY, the fastest pace since 2024This suggests inflation pressures are re-accelerating after a period of relative stabilization.Core Inflation Shows Signs of CoolingDespite the headline surge, underlying inflation remains more contained:Core CPI (excluding food and energy): +0.2% MoMThis indicates that:Price pressures are still largely energy-drivenBroader inflation may not yet be fully entrenchedMarket ImplicationsThe data presents a mixed signal for markets:Bullish for rates / USD:Strong headline inflationReinforces “higher-for-longer” Fed stanceNeutral-to-positive for risk assets (conditionally):Core inflation remains controlledSuggests inflation spike may be temporary if energy stabilizesEnergy vs Core Inflation BattleThe key question going forward is whether energy-driven inflation spills into the broader economy.Markets will closely watch:Wage growth trendsCore inflation trajectoryOil price stabilityIf energy pressures persist, inflation could remain elevated. If not, the spike may prove temporary.For now, the data reinforces a macro environment of elevated uncertainty, with inflation increasingly tied to geopolitical developments. #USCPI#InflationSurge#EnergyShock#GasolinePrices#OilPrices#CoreCPI#GeopoliticalTensions#USInflation#EconomicData#MarketImplications#HigherForLonger#WageGrowth#RiskAssets#OilPriceStability#2024Inflation