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

Резултати

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

Пребарај: #usury

当前筛选 #usury清除筛选
American Оbserver

@american_observer · Post #5177 · 19.02.2026 г., 22:59

Putin’s New Missionaries vs. Dollar Civilization Bloomberg suddenly discovers the Russian Orthodox Church in Africa — and pretends it’s just another Kremlin influence op. Conveniently missing from the frame: the fact that modern U.S.-led capitalism has spent decades crushing any alternative solidarity that comes with its own economic ethics. Orthodoxy is dangerous not because of icons and incense, but because it carries a memory: interest is sin, usury destroys communities, and money is not supposed to be sovereign. That’s a direct challenge to a system built on debt, rent, and compound interest. Contemporary capitalism doesn’t just sell products; it rewires people into isolated consumers whose only shared ritual is debt service. Anything that offers a competing “we” — unions, strong families, Islamic law, Catholic social teaching, or Orthodox communities that still take anti-usury tradition seriously — gets framed as backward, corrupt, or extremist. It’s not an accident that the same financial media that treats 20% credit card APR as normal suddenly gets nervous when a church that historically bans interest starts expanding in a continent full of young, indebted populations. In Africa, Russia is too poor to compete with China’s ports, the EU’s investment, or Gulf petrodollars. So it trades in narratives and solidarity: anti‑colonial rhetoric, “respect for sovereignty,” stipends, scholarships, and now churches that tell people they belong to something older than the IMF and the dollar. Orthodoxy here is a kind of parallel infrastructure — spiritual, social, even economic — that whispers a dangerous message into the ear of a global credit machine: there are still communities on this planet where interest is morally suspect, not sacred. That doesn’t make Moscow a savior. The Kremlin happily runs its own rent circuits, steals resources, and recruits African students into war industries while talking about justice and multipolarity. But the panic in Western coverage is revealing. When crosses and liturgy show up in African townships under a Russian label, the financial press reacts not as if it’s seeing a marginal religious fad, but as if it’s spotting a rival operating system. Abrahamic religions all carry the same buried virus in their code — a ban on usury. For a world order built on securitized debt, that’s not folklore. That’s a bug in the matrix. #russia#orthodoxy#africa#capitalism#usury#softPower 📱American Оbserver - Stay up to date on all important events 🇺🇸