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

Резултати

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

Пребарај: #feminism

当前筛选 #feminism清除筛选
Venezuelanalysis

@venanalysis · Post #2081 · 29.08.2025 г., 21:15

📝 INTERVIEW | Pending Tasks for Chavista Feminism: A Conversation with Roraima Rivas-Liendo In the latest VA interview, Roraima Rivas-Liendo, activist and spokesperson for the Venezuelan feminist collective FaldasR, discusses legislative advances, ongoing challenges, and the state of sexual and reproductive rights in Venezuela. For over a decade, FaldasR has provided information and support to women and people capable of gestation across the country. The organization’s latest report highlights two trends: a rise in unsafe abortion attempts and increased early engagement from those seeking guidance. Rivas-Liendo notes that many now recognize abortion as a collective right, signaling a shift toward self-determination despite legal restrictions. 🔗 Read the full interview here: shorturl.at/YjpgI #Feminism#Sanctions

Venezuelanalysis

@venanalysis · Post #1922 · 31.03.2025 г., 15:31

📸 IN IMAGES | Venezuela: 1,600 Women Discuss ‘Communal Feminism’ at First National Gathering On March 29, more than 1,600 women took part in the Communard Union’s first national gathering on communal feminism in Caracas. The meeting set four key priorities: developing a feminist economy, strengthening healthcare, eliminating gender-based violence, and expanding political participation. A commission was appointed to oversee these initiatives, with annual follow-up meetings planned. 🔗 Don’t miss the full gallery here 👉🏼https://venezuelanalysis.com/images/venezuela-1600-women-discuss-communal-feminism-at-first-national-gathering/ #CommunardUnion#Communes#Feminism

Venezuelanalysis

@venanalysis · Post #1907 · 12.03.2025 г., 15:28

🎙PODCAST | The Venezuelanalysis Podcast Episode 35: Popular Feminism in Venezuela Our latest podcast episode coincides with International Working Women’s Day (March 8) to take stock of popular feminist struggles under the Bolivarian Revolution in Venezuela. VA staff member Cira Pascual Marquina joins host José Luis Granados Ceja to discuss the impact of sanctions on women, the role of women in popular power, a recent conservative/religious offensive, and lots more! Watch the full episode here: https://www.youtube.com/watch?v=ZO_aA0Zf2t8&t=2607s #Feminism#GrassrootsMovements

Venezuelanalysis

@venanalysis · Post #1901 · 07.03.2025 г., 17:37

📝 INTERVIEW | Feminism and Revolution: A Conversation with Alejandra Laprea In the latest VA interview, Alejandra Laprea, a popular feminist and member of the World March of Women, discusses how popular feminism in Venezuela continues to shape the revolution from the ground up. She stresses the importance of unity within the feminist movement, advocating for a collective, consensus-based agenda. "We are experiencing a moment of setbacks at the global, continental, and national levels. In Venezuela, the feminist movement must come together and build a common agenda – one that is truly collective and based on consensus, rather than a mere compilation of different perspectives." States Alejandra. 🔗 Read the full interview here: https://shorturl.at/ppCss #Feminism#Sanctions#WomensRights

Venezuelanalysis

@venanalysis · Post #1502 · 15.03.2024 г., 16:43

Explore the intricacies of Venezuela's battle against women's oppression as feminist anthropologist Aimee Zambrano Ortiz delves into the subject in this interview. Highlighting legislative strides and the significance of initiatives like the Femicide Monitor, Zambrano Ortiz underscores the ongoing struggle for gender equality within the Bolivarian Process. Click here to read the full interview 👉🏼https://bit.ly/43yXiHn #feminism#sanctions#women

Venezuelanalysis

@venanalysis · Post #1904 · 10.03.2025 г., 00:11

Our latest podcast episode coincides with International Working Women's Day (March 8) to take stock of popular feminist struggles under the Bolivarian Revolution in Venezuela. VA staff member Cira Pascual Marquina joins host José Luis Granados Ceja to discuss the impact of sanctions on women, the role of women in popular power, a recent conservative/religious offensive, and lots more! Follow the link to subscribe and watch/listen: https://www.patreon.com/posts/123944102 #InternationalWomensDay#Feminism#Venezuela#Podcast

Venezuelanalysis

@venanalysis · Post #1902 · 08.03.2025 г., 13:42

🗓️ MILESTONE | International Working Women’s Day ✊🏽💜 Across the globe, this day serves as a vital reminder of the ongoing struggles for equality, justice, and the dismantling of oppressive systems. Solidarity extends to every corner of the earth, where working-class women continue to fight for their rights, equality, and recognition. 🔗 Click here to discover the revolutionary Venezuelan women who played a pivotal role in shaping history through their courage and commitment: https://www.instagram.com/p/DG8K7vStGHM/?igsh=MTkydWM1cGF1YXRqcA== #IWD#feminism#InternationalWorkingWomensDay

Venezuelanalysis

@venanalysis · Post #2049 · 01.08.2025 г., 17:18

📝 INTERVIEW | Women’s Emancipation through Economic Transformation: A Conversation with Sandra Angeleri Historian Sandra Angeleri speaks about the legacy of Nora Castañeda, a feminist economist who led one of the Bolivarian Revolution’s most innovative institutions, in her newly published book. From her early political formation in the barrios of Caracas to her leadership of Banmujer (the Women’s Development Bank), Castañeda pushed for structural change, fighting to include unpaid domestic work in Venezuela’s Constitution and helping to build institutional models that challenged both patriarchy and capitalism. Her work laid the foundation for economic autonomy among working-class women. 'Banmujer wasn’t just about lending money, it was about collective empowerment,' Angeleri notes. 👉 Follow the link to read the interview: https://shorturl.at/ubpwR #Banks#Feminism#WomensDevelopmentBank