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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #173 · 28 окт.

Для тех кто пишет расширения на PyQt/PySide для CG-софтов. Когда я только начинал писать тулзы под Maya (тогда еще версия 2010-2011) мне приходилось ручками ставить PyQt4 под Maya. Даже написал мануалы по установке на своём сайте. Но потом стал доступен из коробки PySide и позже он обновится до PySide2. Для некоторых систем была поддержка PyQt5. И как простому разработчику поддерживать этот зоопарк? Ведь хочется чтобы тул работал на любой версии (вы тоже делали модуль что-то типа import_qt.py?😁) На помощь приходит проект Qt.py который поставил себе цель унифицировать использование Qt-биндингов вне зависимости от среды где запускается код. Те, кто давно пишут на Qt, скорее всего знают этот проект. Он стал стандартом для CG-индустрии и используется в топовых студиях и проектах. Qt․py помогает запускать один и тот же код на разных платформах с разными вариантами Qt-библиотек. Это может быть как интеграция в CG-софт, так и переносимость стендалонов между разными платформами с разными версиями Python. Я решил рассказать о некоторых особенностях работы с этой библиотекой. Сегодня о том, как установить и использовать Qt․py и что это вам даёт. Установка pip install Qt.py Чтобы начать использовать Qt․py в коде достаточно заменить импорт вашего варианта Qt-биндинга на Qt․py from [PySide|PyQt4|PySide2|PyQt5] import QtWidgets => from Qt import QtWidgets Теперь ваш код будет поддерживать любой вариант биндинга Qt в Python. При этом не потребуется использовать if-else конструкции под разные версии. Все вызовы теперь одинаковы. Всё что нужно сделать, это написать его по правилам PySide2. Именно эта версия была взята за основу. Приоритет импорта такой: 1. PySide2 2. PyQt5 3. PySide 4. PyQt4 Что именно загрузилось можно посмотреть в переменной __binding__ >>> import Qt >>> Qt.__binding__ 'PySide2' Приоритет имопрта можно изменить через переменные QT_PREFERRED_BINDING и QT_PREFERRED_BINDING_JSON. Причем под каждый проект оверрайды можно настраивать индивидеально. #qt#libs

Hashtags

Резултати

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

Пребарај: #intelligentassets

当前筛选 #intelligentassets清除筛选
Go! Announcements

@gorwachain_announcements · Post #1076 · 06.11.2025 г., 15:45

🎉 Wake up Assets! 🎉 ⚡️🚀 TODAY’S MISSIONS ✅ Check-in on the Go! App → app.gosmartchain.ai to keep your streaks + XP alive. ✅ Use the new @goagenticbot → t.me/goagenticbot - Simulate your first intelligent real-world asset (car, watch, home, artwork…) - Your assets now think, learn, and talk back. Share your creation in the TG groups and get 5 $GSMC for each share! 💬 Try it: t.me/goagenticbot→ use #AgenticAsset#GoRWA#AI#RWA ✅ Health Hero check-in: @healthheroapp_bot → /start → /log or /workout (+40 XP w/photo) ✅ Zealy Leaderboard: (New one going live today! https://zealy.io/cw/gorwachain/leaderboard/2623fee8-db99-41c9-a059-2a24c54858d3) — every action earns points toward early airdrops. ✅ TaskOn Quest: Start Now: https://taskon.xyz/quest/652417804 — complete the new Go! missions. ✅ Post your best content on X: https://x.com/gorwachain @ us! #crypto#RWA#AI#DeFi#wellness#fitness#agentic#health 🤖 Meet the Go! Agentic Bot 🧱 Simulate a Sentient Asset: bring a car, watch, or collectible to life in seconds. 🙋🏽‍♂️ Pledge Your Asset: mint your real item as an intelligent twin on Go! Marketplace. 🏢 Pledge for a Company: refer a business with ≥ $1 M in tokenizable assets → earn a referral reward through our Ambassador Program. 💰 Early pledgers will hold the most valuable early assets on the Go! Marketplace and share in transaction value when their assets trade details dropping soon. 💎 The Intelligent Asset Economy Go! and Health Hero are building a world where every action = ownership. Go! powers the AI + RWA layer the brain of the Intelligent Asset Economy. Health Hero turns your wellness, discipline, and consistency into tokenized rewards. $GSMC is the gas + governance token that fuels it all. Earn $GSMC by checking in daily, completing Zealy + TaskOn missions, using the Agentic Bot, and staying active in the community. 🌍 Mission & Vision Recap “We’re building the world’s first Intelligent Asset Economy, where every person and every asset can think, earn, and grow together.” 💫 Our Values: • Faith in People: Human energy is the most valuable asset. • Intelligence in Action AI + Blockchain should serve real lives. • Wellness = Wealth, A healthy world is a wealthier world. • Community: We win together. 🦾 Bonus Missions 🏗 Node Owners: Own a Go! Agentic Node → nodes.gosmartchain.ai 🎁 XP to Token Conversion: Health Hero XP → Tokenized Rewards soon 💰 🧩 Ambassador Program: Refer companies with RWA portfolios and earn rewards: https://whitepaper.gosmartchain.ai/go-programs/ambassador-program 🔥 In Short This week’s energy = participate + create + share. Make your first asset sentient. Show it off. Tag #GoRWA#Agentic#IntelligentAssets. Let’s Go! 🌍💪

Go! Announcements

@gorwachain_announcements · Post #1072 · 04.11.2025 г., 16:24

🎉 NEW WEEK, NEW MAGIC: The Age of Sentient Assets Begins 🎉 While the market’s waking up, the Go! Fam is way ahead, you’re not just holding tokens, you’re creating living, intelligent assets. The Agentic Sprint continues, and the newest mission is pure 🔥. ⚡️🚀 TODAY’S MISSIONS (New + Core) ✅ Check-in on the Go! App → app.gosmartchain.ai to keep your streaks + XP alive. ✅ Use the new @goagenticbot → t.me/goagenticbot - Simulate your first intelligent real-world asset (car, watch, home, artwork…) - Share your Sentient Card to Telegram or X → use #AgenticAsset#GoRWA#AI#RWA ✅ Health Hero check-in: @healthheroapp_bot → /start → /log or /workout (+40 XP w/photo) ✅ Zealy Leaderboard: (New one going live today! https://zealy.io/cw/gorwachain) — every action earns points toward early airdrops. ✅ TaskOn Quest: Start Now: https://taskon.xyz/quest/652417804 — complete the new Go! missions. ✅ Post your best content on X: https://x.com/gorwachain @ us! #crypto#RWA#AI#DeFi#wellness#fitness#agentic#health 🤖 Meet the Go! Agentic Bot Your assets now think, learn, and talk back. 💬 Try it: t.me/goagenticbot 🧱 Simulate a Sentient Asset: bring a car, watch, or collectible to life in seconds. 🙋🏽‍♂️ Pledge Your Asset: mint your real item as an intelligent twin on Go! Marketplace. 🏢 Pledge for a Company: refer a business with ≥ $1 M in tokenizable assets → earn a referral reward through our Ambassador Program. 💰 Early pledgers will hold the most valuable early assets on the Go! Marketplace and share in transaction value when their assets trade details dropping soon. 💎 The Intelligent Asset Economy Go! and Health Hero are building a world where every action = ownership. Go! powers the AI + RWA layer the brain of the Intelligent Asset Economy. Health Hero turns your wellness, discipline, and consistency into tokenized rewards. $GSMC is the gas + governance token that fuels it all. Earn $GSMC by checking in daily, completing Zealy + TaskOn missions, using the Agentic Bot, and staying active in the community. 🌍 Mission & Vision Recap “We’re building the world’s first Intelligent Asset Economy, where every person and every asset can think, earn, and grow together.” 💫 Our Values: • Faith in People: Human energy is the most valuable asset. • Intelligence in Action AI + Blockchain should serve real lives. • Wellness = Wealth, A healthy world is a wealthier world. • Community: We win together. 🦾 Bonus Missions 🏗 Node Owners: Own a Go! Agentic Node → nodes.gosmartchain.ai 🎁 XP to Token Conversion: Health Hero XP → Tokenized Rewards soon 💰 🧩 Ambassador Program: Refer companies with RWA portfolios and earn rewards: https://whitepaper.gosmartchain.ai/go-programs/ambassador-program 🔥 In Short This week’s energy = participate + create + share. Make your first asset sentient. Show it off. Tag #GoRWA#Agentic#IntelligentAssets. Let’s Go! 🌍💪