TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #197 · 4 јан.

Подразумеваемые неймспейсы или неявные пакеты. Этот функционал добавлен в Python 3.3 Что он означает? Ранее, до 3.3 пакетами считались лишь директории, в которых есть файл __init__.py. Этот файл одновременно являлся свидетельством того, что директория это Python-пакет, и служил "телом" этого пакета. То есть местом, где можно написать код, как это делается внутри модуля. Этот код исполняется в момент импорта пакета, так что его принято называть "код инициализации пакета". Начиная с версии 3.3 Любая директория считается пакетом и Python будет пытаться использовать любую директорию для импорта. Конечно, не любую в файловой системе, а только те что находятся в sys.path. Это значит, что теперь __init__.py нужно делать только если: 🔸 вам требуется создать код инициализации пакета 🔸 нужна совместимость со старыми версиями Python На мой взгляд это немного упрощает разработку, делает её чище, но с другой стороны убивает некоторую однозначность происходящего. Например, я создал репозиторий со своей библиотекой и рядом положил код примеров или тестов. repo_name/ my_library/ __init__.py main.py examples/ exam1.py exam2.py В этом репозитории пакетом является только my_library, остальные директории это не пакеты, это просто дополнительный код в файлах. Директория examples не добавлена в sys.path, в ней нет рабочих модулей. Но если она лежит рядом с my_library, то Python вполне сможет импортнуть из неё модули, так как посчитает что examples это валидный пакет. Конечно, пример несколько надуманный. Никто не будет добавлять корень репозитория в sys.path. Но, я думаю, суть ясна. Иногда директория это просто директория а не пакет! #basic#pep

Hashtags

Резултати

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

Пребарај: #moonpay

当前筛选 #moonpay清除筛选
TONlines – News

@tonlines · Post #6887 · 21.04.2025 г., 17:58

⚡️The Daily TON: Key Developments and Updates #TON#MoonPay#NFT The Daily TON reports that Toncoin is now accessible in the US via MoonPay. Key highlights include advancements in TON programming languages, a partnership announcement with Ethena, and an analysis of scammers in Telegram chats. Additionally, exciting activities such as a new NFT collection and the Tact Smart Battle contest are underway. Insights are also shared about potential attendees of the TOKEN2049 conference. Source: link @tonlines

TONlines – News

@tonlines · Post #7653 · 30.11.2025 г., 17:45

TON — LIVE: MyTonWallet Update Expands Features #MyTonWallet#MoonPay TON — LIVE informs about the latest update from MyTonWallet, allowing users to withdraw cryptocurrency to bank cards via MoonPay and link a Telegram domain to their wallet. Source: link @tonlines

📰TON is now on MoonPay! Toncoin is now available for purchase via MoonPay in all U.S. states except New York. Users can fund their accounts and buy #TON using various payment methods, including PayPal, Venmo, and bank transfers. 🚀 A giveaway is also live on X (Twitter) — $2000 in TON will be sent to a random MoonPay user who likes this post. #USA#TON#MoonPay

NEWS 鏈新聞-ABMedia

@abmedia_news · Post #24521 · 11.05.2026 г., 15:45

【⚙️ 產品技術|MoonPay 收 Dawn Labs 推 AI 交易工具、整合 Polymarket】 加密支付公司 MoonPay 收購 AI 自主交易研究實驗室 Dawn Labs、推出 Dawn CLI 讓用戶用自然語言寫交易策略。首發整合 Polymarket、瞄準預測市場場景。 #MoonPay#Polymarket#AIAgent 📍閱讀全文: https://abmedia.io/moonpay-acquires-dawn-labs-dawn-cli-ai-trading-polymarket-may-2026

NEWS 鏈新聞-ABMedia

@abmedia_news · Post #24287 · 01.05.2026 г., 16:10

【🤖 AI|MoonPay 為 AI agent 推 Mastercard 穩定幣卡】 MoonPay 5/1 推 MoonAgents Card:虛擬 Mastercard debit 卡讓 AI agent 直接從鏈上錢包用穩定幣消費於全球 Mastercard 商家。透過 MoonPay CLI + MoonPay Agents 可程式化操作。英國、拉丁美洲先上線,美歐後續推出。創辦人 Soto-Wright:「AI agent 過去能在鏈上做所有事,唯一不能在商家消費,現在可以了。」 #MoonPay#AIagent#Mastercard 📍閱讀全文: https://abmedia.io/moonpay-moonagents-card-ai-agent-stablecoin-mastercard-may-2026

💰New Stablecoins in the TON & Telegram Ecosystem Last year was marked by the successful launch of TON-USDT, which became the most successful in Tether's history, with over 100 integrations, including payment of government fees in the Philippines. At the #TonGateway conference in November, they talked about new stablecoins that are preparing to launch: 🕗USDe from Ethena $USDe launch on TON announced, confirmed by verified contract. #Ethena is the largest DeFi protocol on #Ethereum with TVL of ~$5 billion, ready to increase liquidity and development #DeFi on TON. 🪙UAE Dirham from Tether (AED₮) Tether has announced the launch of a stablecoin pegged to #UAE dirham on TON. This will be the first digital dirham backed by liquid reserves in the UAE and backed by the Central Bank of the UAE. 🪙CRVUSD by Curve Curve Finance, with a TVL of ~$2.5 billion, is considering launching its $crvUSD stablecoin on $TON. The project has been consulting with other projects on implementing its technology, and while nothing has been confirmed, rumors continue. 💲USDC by Circle After adding TON to #MoonPay, introducing mandatory KYC for some key products in the #Telegram ecosystem, the arrival of $USDC will most likely not be long in coming. 🪙tgUSD by Torch Finance Torch Finance, backed by Ton Foundation and TVM Ventures, announced tgUSD, with the ability to pay via Torch Pay. This is a young project, but with serious support and prospects. The launch of more than five stablecoins will give TON a foundation for multi-currency DeFi, increase liquidity, and expand opportunities for ecosystem users.

Crypto M - Crypto News

@CryptoM · Post #64679 · 09.04.2026 г., 13:55

🚀 MoonPay Collaborates to Introduce Stablecoin Payments in Retail MoonPay has announced a partnership with WalletConnect and Ingenic to integrate stablecoin payments into physical retail environments. According to Foresight News, MoonPay's Virtual Accounts, supported by Iron, will facilitate fiat settlement for stablecoin transactions at checkout. #MoonPay#WalletConnect#Ingenic#StablecoinPayments#Retail#FiatSettlement#VirtualAccounts#Iron

Venture Village Wall 🦄

@venturevillagewall · Post #3866 · 13.01.2025 г., 16:00

MoonPay Acquires Helio for $175M MoonPay has acquired the Web3 e-commerce platform Helio for $175 million, marking its largest acquisition to date. The deal enhances MoonPay's capabilities for enabling crypto transactions on platforms like Shopify and Discord. This acquisition comes amid a significant surge in MicroStrategy's BTC holdings, where they recently purchased 2,530 BTC for $243 million. Bitcoin's exchange reserves are at a 7-year low, as hedge funds capitalize on current market conditions. #MoonPay#Helio#Ecommerce#Bitcoin#Crypto#MicroStrategy#USDC#BTC#Blockchain#Shopify#Discord#Payments#Investment#Acquisition#HedgeFunds#MarketTrends#CryptoNews#Finance#Tech#VC

Crypto M - Crypto News

@CryptoM · Post #65030 · 10.04.2026 г., 14:47

🚀 MoonPay, WalletConnect, and Ingenico Enable Stablecoin Payments at Retail Checkouts MoonPay, WalletConnect, and Ingenico have collaborated to facilitate stablecoin payments at physical retail checkouts. According to NS3.AI, this partnership utilizes MoonPay Virtual Accounts for fiat settlement, integrating wallet connectivity with point-of-sale terminals. This allows merchants to accept stablecoin payments and receive immediate fiat conversion. #MoonPay#WalletConnect#Ingenico#Stablecoin#Payments#Retail#Checkout#FiatConversion#NS3AI#VirtualAccounts#WalletConnectivity

Venture Village Wall 🦄

@venturevillagewall · Post #4267 · 28.02.2025 г., 10:00

Uniswap Expands Crypto-to-Fiat Options Uniswap collaborates with Robinhood, MoonPay, and Transak to enable seamless crypto-to-fiat transactions. Users across 180+ countries can convert crypto and deposit funds directly into bank accounts via the mobile wallet. This feature will soon be available on the browser extension and web version. For more details, visit Leviathan News. #Uniswap#Crypto#Robinhood#MoonPay#Transak#Banking#Fiat#DEX#Blockchain#Finance#Tech#Global#Innovation#Payments#Wallet#Transactions#Defi#Onboarding#CryptoAdoption#VC