Hey #python folks -- what's everyone's favorite python profiling tools these days? My goal is to capture data during a run so I can shove it in a flamegraph and identify where the actual bottlenecks are.
Thanks!
Hey #python folks -- what's everyone's favorite python profiling tools these days? My goal is to capture data during a run so I can shove it in a flamegraph and identify where the actual bottlenecks are.
Thanks!
Do you ever forget how to format a number like 1,234.50 in #Python?
Forget the weird f-string syntax for zero-padding and space-padding strings?
Me too.
Over the weekend, I made a tool to help: https://pym.dev/format
Paste an example of the output string and it'll guess the f-string format spec you need.
PyPI now checks for expired domains to prevent domain resurrection attacks, a type of supply-chain attack where someone buys an expired domain and uses it to take over #PyPI accounts through password resets. #Python #OpenSource #SupplyChain #Security
https://blog.pypi.org/posts/2025-08-18-preventing-domain-resurrections/
Qiitaのこと。配慮のCW
【エヴァンゲリオン】ヤシマ作戦みたいな臨場感と緊張感があるタイマーアプリを作りたい #Python - Qiita https://qiita.com/Necoze/items/1b3ec72415dec3039304
ソースコードを見て悶絶した。なんでこれをGoogle先生はぼくのためだと言って拾ってきたんだい?
Just released: Python 3.14.0 release candidate 2!
This was planned for 2025-08-26, but we fixed a bug that required bumping the magic number stored in bytecode (.pyc) files
This means .pyc files created for rc1 will be recompiled for rc2
The ABI isn’t changing
Wheels built for rc1 should be fine for rc2, rc3 and 3.14.x
Did I mention Android binaries?
Bonus: We also released an early Python 3.13.7!
https://discuss.python.org/t/python-3-14-0rc2-and-3-13-7-are-go/102403
#Python #CPython #Python314 #Python313 #release
We're excited to announce the nominees for the 2025 PSF Board Election make sure to check out everyone's nomination statements to learn more about this years candidates! (Reminder to affirm your intention to vote by August 26th, 2 PM UTC!) #python
https://pyfound.blogspot.com/2025/08/announcing-psf-board-candidates-for-2025.html
The pytest.mark.parametrize feature is amazing, and more people should use it, especially people new to writing #Python tests. But it looks scary. I wrote an explainer: https://nedbatchelder.com/blog/202508/starting_with_pytests_parametrize.html
Python 3.14:
We'll make the next release candidate (rc2) this Thursday, two weeks early, and add a rc3 on 2025-09-16.
We fixed a code generation bug that required the "magic number" to be increased for rc2. This means .pyc files compiled by rc1 can't be used in rc2 and will be recompiled.
The ABI isn't changing, and wheels built for rc1 should still work for rc2, rc3 and 3.14.x, but it's better to get this out for testing sooner.
https://discuss.python.org/t/early-3-14-0-rc2-and-extra-rc3/102151
「EuroPython & PHPers Day 2025 参加報告会」8/26に開催 ―海外カンファレンス参加者の体験や学びを共有
https://gihyo.jp/article/2025/08/europython-phpers-day-report-event?utm_source=feed
Coming back to the more mundane (and therefore probably also the more immediately useful ) is #Formulas, which plans to bring Excel-compatible formula evaluation to #Python
https://nlnet.nl/project/Formulas/
As someone who avoid spreadsheets when I can, but also sometimes ends up working with people who think and dream in them, this sounds like something that could form a workable solution for both sides
7/n
I created a simple Python CLI program to easily add configurable watermark text to an image or directory of images.
Re: https://lgbtqia.space/@alice/114988947359085193
Here's the #Codeberg repo: https://codeberg.org/alicewatson/watermarker
Want easier, cleaner #container testing workflows? Check out this #oSC25 talk on #pytest_container, which is a plugin that automates setup, testing, and teardown using familiar #Python tools. No #bash, no mess. #DevOps #openSUSE https://youtu.be/kU9NS1FpfY8?si=qyjoR5zfMWI7qpY3
In case you have not heard, PyCon Africa is coming to South Africa this year - marking the first major international Python conference in Southern Africa!
We're not just hosting an event - we're growing the Southern African #Python community. Part of how we do that is by offering financal help to folks who would get a lot of benefit from the event, but can't afford to attend. Students, teachers, community leaders, young professionals... we want to open as many doors as we can!