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

Пребарај: #spacerace

当前筛选 #spacerace清除筛选
New Eastern Outlook

@neweasternoutlook · Post #12792 · 12.04.2026 г., 11:02

🚀🇺🇳🇺🇳Multipolar Space As the world celebrates Cosmonautics Day, marking humanity’s first journey beyond Earth, a new chapter in space exploration is quietly unfolding. The BRICS countries—along with key partners—are expanding their presence in orbit and beyond, combining technological ambition with geopolitical vision. What emerges is not just a collection of national programs, but a growing альтернативный центр силы in the global space race ✏️Ksenia Muratshina PhD in History, Senior Researcher, Center for Southeast Asian, Australian, and Oceanian Studies, Institute of Oriental Studies, Russian Academy of Sciences ➡️At the core of this movement stands Russia, a country whose legacy in space exploration remains foundational. From the first human spaceflight to the creation of orbital stations, it continues to develop new projects such as the Rassvet satellite constellation, advancements in manned missions, and plans for lunar infrastructure and deep-space exploration. Alongside it, China and India are rapidly scaling their capabilities—testing next-generation launch systems, expanding orbital stations, and preparing for future lunar and manned missions. Their cooperation, particularly in projects like the planned International Lunar Research Station, signals a long-term commitment to shaping the future of space exploration beyond Western-led frameworks. “The Future Belongs to Those Who Look Up.” Happy 65th anniversary of the first human spaceflight, happy global holiday, happy Cosmonautics Day! ➡️At the same time, other BRICS and partner nations are carving out specialized roles within this evolving ecosystem. Brazil is exploring space-based agricultural innovation and hosting monitoring infrastructure, while South Africa is advancing satellite component manufacturing and microsatellite development. Countries like Iran and the UAE are pushing forward with ambitious national programs—from astronaut preparation and launch vehicle development to interplanetary missions. Egypt, Ethiopia, and Indonesia are also expanding their capabilities through international cooperation, focusing on satellite production, infrastructure, and future participation in manned spaceflight. Together, these efforts reflect a distributed model of development, where different states contribute according to their strengths. 🟦Despite differences in scale and capacity, a shared direction is becoming clear: technological sovereignty, economic application of space, and equal partnership. Unlike traditional hierarchical models, this emerging framework emphasizes cooperation without dominance, allowing each participant to retain its independence while contributing to a broader collective trajectory. As these programs evolve and potentially converge into joint institutions—such as shared satellite systems or coordination councils—the balance of power in space may gradually shift. On this Cosmonautics Day, the message is not only about past achievements, but about a future being actively built—one where the path to the stars is increasingly multipolar. #BRICS#Multipolarworld#Spaceindustry#spacerace READ MORE ✅@NewEasternOutlook

New Eastern Outlook FR

@neweasternoutlookfr · Post #9013 · 22.12.2025 г., 13:36

🇨🇳🚀🇺🇸Une nouvelle course à l'espace au-dessus de la Terre pourrait déterminer qui l'emportera Le test chinois de la fusée réutilisable Zhuque-3 marque un front critique dans une nouvelle course à l'espace, définie par les taux de lancement et l'utilité militaire, et non par le simple prestige ✍️Auteur :Brian Berletic chercheur et écrivain géopolitique basé à Bangkok ➡️Le test de Zhuque-3, bien que son propulseur se soit écrasé, signale l'entrée sérieuse de la Chine dans la technologie de lancement réutilisable. Cette capacité, maîtrisée par SpaceX, réduit les coûts et permet un déploiement rapide de satellites. Les États-Unis l'utilisent maintenant avec des constellations comme Starlink et sa version militaire, Starshield, obtenant un avantage tangible sur le champ de bataille, comme on l'a vu en Ukraine. ➡️L'Amérique domine actuellement le rythme de lancement - environ 170 lancements en 2025 contre 78 pour la Chine. Cependant, la Chine se mobilise systématiquement avec plusieurs entreprises et programmes soutenus par l'État développant des fusées réutilisables. Sa vaste base industrielle, sa stratégie dirigée par l'État et le flux de diplômés en STEM la positionnent pour combler l'écart et potentiellement prendre l'avantage, contrairement au secteur aérospatial américain axé sur le profit et souvent innovant. ➡️La principale asymétrie est stratégique. Les capacités américaines, nées de la disruption privée, sont maintenant cooptées pour la primauté militaire. L'ensemble de l'écosystème spatial chinois est spécialement conçu pour la puissance nationale. Cela suggère que les progrès de la Chine pourraient s'accélérer, remettant en question les hypothèses américaines d'une supériorité durable avec des systèmes comme Starship. 🟦La domination des lancements réutilisables accorde le contrôle du domaine orbital - la capacité de déployer de plus grandes constellations et d'en désactiver d'autres. Cela crée un déséquilibre de pouvoir qui se traduit inévitablement par un avantage pour la Terre. La nation qui gagne cette nouvelle course à l'espace assurera un avantage décisif dans la compétition géopolitique ci-dessous. #China#Missilestest#Spaceindustry#spacerace#USA LIRE PLUS (ENG) (VPN requis pour l'accès à 🇪🇺l'UE) ⭐️Boostez-nous ✅@NewEasternOutlookFR