python

Back Open Paginator
19.09.2025 15:42
HaraldKi (@HaraldKi@nrw.social)

Hi lazyweb, a #Python package question. The structure:

packagerepo
↳ mystuff
↳ __init__.py
↳ mystuff.py
↳ extraA.py

I want mystuff.py to be "the package" such that anyone using it can write

from mystuff import ...

to get identifiers from mystuff.py. With __init__.py being

from .mystuff import *

this looks OK.

Yet pydoctor does not show this correctly. May be a pydoctor thing, but maybe there is a better way than this import in __init__.py ?

#pythonpackage




Show Original Post


19.09.2025 14:56
villares (@villares@ciberlandia.pt)

villares-shop.fourthwall.com (International)
umapenca.com/villares (BR)

#Python #CreativeCoding #Processing #py5 #TShirt #GenerativeArt #SupportArtists





Show Original Post


19.09.2025 14:53
driscollis (@driscollis@mastodon.social)

How often do you use the ternary operator in ?

Here's an example in case you haven't heard of it:





Show Original Post


19.09.2025 14:52
emilyselect (@emilyselect@mastodon.social)

大手・ベンチャーのAI案件で活躍する現役AIエンジニアにAI関連職種を聞いてみました

emilyselect.com/%e5%a4%a7%e6%8





Show Original Post


19.09.2025 14:48
ehmatthes (@ehmatthes@fosstodon.org)

I've spent most of this week following up on conversations from DjangoCon US last week. One of the people I was happy to finally meet in person was @radiac.

Yesterday afternoon, I made a proof-of-concept plugin for django-simple-deploy that deploys nanodjango to Fly.io.

If you have a nanodjango project to work with, this is all it takes to get a working* deployment:

#Django #Python





Show Original Post


19.09.2025 14:48
mahmoudoov (@mahmoudoov@techhub.social)

🚨 Silence is a Crime 🚨
I’m reaching out from Gaza, where every moment counts and every voice matters. Your support can make a real difference for me and my family in these desperate times.

If you can, please consider helping through my donation link:

gofundme.com/f/fled-gaza-bombs

Every contribution, no matter how small, gives us hope and a chance to survive. Thank you from the bottom of my heart. ❤️

#gaza #palestine #genocide #Apple #coding #scala #iOS #rust #python





Show Original Post


19.09.2025 14:35
mahryekuh (@mahryekuh@hachyderm.io)

New blog article, one for the Django folks this time!

In honor of one of my blocktranslate pet peeves:

"Use trimmed in Django blocktranslate"

marijkeluttekes.dev/blog/artic

#Django #Python




Show Original Post


19.09.2025 14:22
habr (@habr@zhub.link)

Простоту охота навести: как легко тестировать клиент-серверные взаимодействия на примере WebSocket

При тестировании распределенных систем разработчики сталкиваются с асинхронным взаимодействием с серверами, громоздкими сценариями отправки и сложным входом для новичков. Это приводит к ошибкам, долгой отладке и росту затрат. Привет, Хабр! Меня зовут Максим Попов, я инженер по автоматизированному тестированию внутренних продуктов в Сбере — в том числе SCPL. В этой статье расскажу, как упростить настройку клиент-сервер взаимодействия в рамках фреймворка автотестирования.

habr.com/ru/companies/sberbank

#python




Show Original Post


19.09.2025 14:04
technadu (@technadu@infosec.exchange)

⚠️ PyPI revokes all tokens stolen in the GhostAction supply chain attack
Malicious GitHub Actions exfiltrated tokens
- No PyPI packages compromised
- Developers advised to use short-lived Trusted Publisher tokens

💬 How do you safeguard DevOps pipelines against supply chain threats?

Follow @technadu for updates.

#CyberSecurity #SupplyChainAttack #PyPI #Python #DevSecOps #GhostAction #OpenSourceSecurity #TokenSecurity #GitHubActions





Show Original Post


19.09.2025 14:01
PyConUK (@PyConUK@fosstodon.org)

💚 A huge thank you to the Bennett Institute for Applied Data Science for supporting PyCon UK 2025! 💫

We appreciate your commitment to helping us deliver an educational and inclusive conference, empowering the Python community to share knowledge and grow skills! 🚀

🌐 Learn more about the Bennett Institute: bennett.ox.ac.uk/

🐍 PyCon UK 2025 Sponsors page: 2025.pyconuk.org/sponsors/

#Python #Community #Sponsor #TechCommunity #manchester #development #pythonprogramming #PyConUK2025





Show Original Post


19.09.2025 13:55
stevensanderson (@stevensanderson@mstdn.social)

If your looking for some good resource lists that are growing, I have some freely available here:

LLM: lnkd.in/eMqJRu8F

Python: lnkd.in/ewvDGuBp

R: lnkd.in/e5mp7WvE

#R #RStats #Python #LLM #GenAI




Show Original Post


19.09.2025 13:41
pieq (@pieq@floss.social)

Je viens de découvrir le programme de la PyCon France de cette année. Mention spéciale à "Le duo comique accélère une suite de tests Django/Pytest" avec @tut_tuuut et @arthru. J'ai hâte de voir ça !

Pour le reste du programme :

pycon.fr/2025/fr/schedule.html

#Python #PyCon #PyConFr




Show Original Post


1 ...1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 ...1554
UP