Tootfinder

Opt-in global Mastodon full text search. Join the index!

@chrysn@chaos.social
2025-11-05 09:49:08

A feature which I'm really looking forward to is brewing in #Python packaging: Specifying default extras.
The aiocoap library I maintain can (and is tested to) work with no other dependencies than Python, but most users will like the additional features such as pretty-printing support, or more security options than just TLS. So far, they have to `pip run --spec "aiocoap[all]" aio…

@mgorny@social.treehouse.systems
2025-12-03 05:05:25

BREAKING: #CPython 3.13.10 and 3.14.1 changed the multiprocessing message format in patch release. As a result, programs using multiprocessing may break randomly if they are running while #Python is upgraded (i.e. need restarting).
But apparently it's not a big deal, since all the cool kids are running Python in containers, and nobody is using Python for system tools anymore. Everything has been RIIR-ed and Python is only omnipresent in some backwaters like #Gentoo.
github.com/python/cpython/issu

@hynek@mastodon.social
2026-01-05 15:52:34

how did i not know about tox’s version range syntax!? (i.e., 3{9-14} == 3{9,10,11,12,13,14}) 😍
(added in tox 4.25.0 on 2025-03-27) #python

@tinoeberl@mastodon.online
2025-11-04 11:41:41

📊 Meine Top4-Beiträge der letzten Woche mit den meisten Boosts sind:
1. Die #Python Software Foundation hat 1,5 Mio USD #Förderung von US-Regierung abgelehnt.

@cark@social.tchncs.de
2026-01-02 10:53:39

I just found a Starter Pack called Women in #Python: fedidevs.com/s/NjY3/
Ceated by Python Core Developer @…

@frankel@mastodon.top
2025-12-30 09:00:09

4 mois de #Python de manière intensive: mon retour sur le langage
mcorbin.fr/posts/2025-12-26-py

@elduvelle@neuromatch.social
2025-11-19 14:21:15

Any #Python newbies out there? (Or experts that need to teach Python)
Would you have a specific online tutorial to recommend for someone who wants to learn Python without any prior programming experience? One that also explains how to install it ?
I was thinking of something like this:

@hynek@mastodon.social
2025-11-02 08:19:15

#SlowHorses
🤝
#Python

Pseudo hacker TV nonsense featuring Python code
@tinoeberl@mastodon.online
2025-10-31 17:18:45

Die #Python Software Foundation hat eine #Förderung von 1,5 Millionen US-Dollar durch die US-Regierung abgelehnt, da sie an Auflagen gegen #Diversität und

@veit@mastodon.social
2025-11-30 14:02:44

On the way to Cologne for an ‘Object orientation with Python’ workshop.
#Python #OO

@michabbb@social.vivaldi.net
2025-11-01 19:50:15

💻 New Tech Unveiled Meet TSUs (Thermodynamic Sampling Units)! The X0 prototype chip proves these primitives work in silicon at room temp. Plus, XTR0 desktop kit for early researchers—available this fall.
📚 #OpenSource Kickstart Dive in with Thermal, the #Python library to simulate TSUs on GPUs. Build thermoAI algorithms now & collaborate!

@mgorny@social.treehouse.systems
2026-01-02 04:23:29

Yeah, why not neglect all the good recommendations in the #Python ecosystem, and instead fork your own C extension package, force people to build it with #ZigLang (it's still C), add unconditional dependency on that, and on top of that, refuse to publish wheels, "allowing for optimised compilation according to your machine's specific architecture and capabilities, instead of some (low performance) common denominator."
Fortunately, looks like #Gentoo can just ignore all the fancy crap and compile it with GCC.
pypi.org/project/ruamel.yaml.c
[UPDATE: didn't last long: sourceforge.net/p/ruamel-yaml/]

@rasterweb@mastodon.social
2025-11-17 22:11:27

Python Folks, in my old Perl days I used HTML::Template, is there something comparable (or better) for simple HTML generation with templates in the Python world?
#python #html #perl

@rmdes@mstdn.social
2025-12-29 19:22:52

So … I have been busy contributing to this
tldr: real-time #telegram archive of the Russian War against Ukraine.
It’s 100% built with Claude Code in a bit more than 2 months
it’s near 200.000 lines of #python code, without counting with documentation of course.
check it out !

@frankel@mastodon.top
2025-10-10 08:05:02

#Python 3.14.0
python.org/downloads/release/p

@unixorn@hachyderm.io
2025-10-27 18:52:23

Bravo #Python Software Foundation!
pyfound.blogspot.com/2025/10/N

@mgorny@pol.social
2025-10-24 02:25:22

No kto by pomyślał, że tworzenie języka programowania, w którym można szybko tworzyć, wdrażać i porzucać mnóstwo paczek mogłoby doprowadzić do czegoś takiego…
"Forking confusing: Vulnerable Rust crate exposes #uv #Python packager"

@mgorny@social.treehouse.systems
2025-11-01 06:07:39

0 days since random #Python package switched #PEP517 backend and published an incomplete source distribution.

@philip@mastodon.mallegolhansen.com
2025-11-19 22:55:05

My very first experience with Python was generating programmatic art using the Turtle module.
Don’t let anyone tell you coding is only for pros, it can be an incredibly fun and liberating experience.
#PythonIsForEveryone #Python

@frankel@mastodon.top
2026-01-03 17:24:22

When NOT to use #Pydantic
#python

@hynek@mastodon.social
2025-10-21 04:14:59

LWN: Explicit lazy imports for #Python
I'm VERY excited by this PEP.
lwn.net/SubscriberLink/1041120

@gedankenstuecke@scholar.social
2025-12-20 16:19:41

As someone who so far just used pipenv for his #Python dependency management (as most of my stuff is web dev that isn't packaged but rather deployed):
If I'd want to write a library that I wanna properly package/release, which dependency manager would you recommend when starting a project from scratch in (the last days of) 2025?

@jamesthebard@social.linux.pizza
2025-11-21 06:28:44

The #Pathfinder2E character data structure is in progress, figured a good ol'-fashioned JSON schema would be the way to go. Still, progress continues.
#python #characterSheet

A view of the JSON schema for validating PF2E character information.
@rasterweb@mastodon.social
2025-10-23 03:18:39

Years ago I had this Processing app that I used to create time stamped images from a webcam. It no longer works. (It’s been years since I used it.)
I was able to rewrite what I need in Python fairly easily, so that’s pretty awesome.
I used to really love Processing but I guess I love Python now.
#processing

@davidshq@hachyderm.io
2025-10-31 14:03:25

Proud of the Python Software Foundation for withdrawing its proposal for grant funding from the Nation Sciences Foundation due to onerous anti-DEI requirements:
#psf #python #nsf #dei

@peter_mcmahan@mas.to
2025-12-10 16:58:59

I rewrote a data analysis pipeline, moving it from #python to #julialang . I am now in love with the threading support in Julia.
The task is very parallelizable but each thread needs random read access to a tens-of-GB dataset. In Python (with multiprocessing, shared stores, etc) data bookkeeping was a nightmar…

A screenshot of a part of one row from `top` showing a julia process using 4388% CPU and 51% memory, with a running time of 3 weeks.
@cark@social.tchncs.de
2025-10-21 17:25:15

#TIL
#Python :python: #Flask web development detail:
If you change data in a nested structure in your `session` object you might need to set
`session.modified = True`.
(I took me q…

@frankel@mastodon.top
2025-12-21 09:30:04

Use #Python for #Scripting!
hypirion.com/musings/use-pytho

@mgorny@social.treehouse.systems
2025-11-29 10:11:58

#Python "do not pin your new dependencies to a version that's already obsolete by the time you release your package" challenge.
This one also has difficulty: impossible.
#packaging

@frankel@mastodon.top
2025-12-31 09:19:35

How #uv got so fast
#python

@elduvelle@neuromatch.social
2025-12-12 13:37:50

Between #Matlab and #Python, which one would you recommend to learn, for a student who wants to learn programming (from scratch) to do data analysis? And why?
I am conflicted because I think Matlab is maybe slightly more straightforward to learn, but Python should be more useful in the long …

@hynek@mastodon.social
2025-10-06 14:06:25

I’m somewhat exhausted to announce attrs 25.4.0!
The main reason for this release (and why it's published today) is that it ships the first pieces of work for Python 3.14 and PEP 749. There will be more work required and there's going to be a lot more churn once everyone starts testing 3.14 earnestly. We hope to receive more feedback before spending more time on this. #Python

@mgorny@social.treehouse.systems
2025-12-29 17:48:33

When you notice twine uploading a 400M sdist for a tiny #Python package, you know something went wrong.

@neverpanic@chaos.social
2025-10-08 06:15:12

Also yesterday at #OpenSSLCon25: Alex Gaynor of #Python #Cryptography saying their own X.509 parser written in Rust is six times faster than

@tinoeberl@mastodon.online
2025-12-11 06:07:02

#Steady
Wie lassen sich #Wechselrichterdaten vom APsystems EZ1 lokal speichern?
Für statistische Auswertungen müssen alle Daten kontinuierlich gespeichert werden. Wie das mithilfe von #Python

@Gord1i@fosstodon.org
2025-10-09 07:02:16

@… and @… let's goooo!!!! It's hybrid, so there is still time to join online
#python

Modular PyConZA and PyConAfrica badge with super cool speaker attachment
@mgorny@social.treehouse.systems
2025-12-23 06:48:38

Well, I suppose someone had to say it: I'm really disappointed that #PyPI / #PSF went as far as to use dark patterns in the donation banner.
#Python

@mgorny@pol.social
2025-10-17 18:27:40

O, fajno. Wygląda na to, że do wsparcia Pythona 3.14 w #Django w #Gentoo brakowało tylko jednej łatki. I działa!
#Python

@unixorn@hachyderm.io
2025-10-11 14:21:30

Released v0.22.0 of the ha-mqtt-discoverable #python module.
New features: Lock devices
Thanks again to Steffan for all his work on the module.
#homeassistant @… @…

@hynek@mastodon.social
2025-10-17 06:13:16

hot take: a big reason for the collective anxiety around free-threading is the result of decades of copium where we assured each other that it's good, actually, that #Python has a bad threading story, because threads are dAnGeRoUs and our feeble minds need protection

@mgorny@social.treehouse.systems
2025-12-20 07:40:05

0 days since random #Python project used `pytest.raises()` for warnings.
#pytest

@michabbb@social.vivaldi.net
2025-11-26 12:40:38

📦 #Copyparty - Turn Any Device Into a Feature-Rich File Server #opensource #selfhosted #Python

@mgorny@social.treehouse.systems
2025-10-17 18:27:11

Oh nice, I see that #Django 5.2.7 was missing only one patch for #Python 3.14 support in #Gentoo. Now in!

@mgorny@social.treehouse.systems
2025-11-13 13:27:48

< ionen> I feel like I'm updating uv/uv-build more often than I use it and it takes like 10000x longer to build than the package I use it for
Who would have thought that the #RustLang fad will make people force others to install humongous tools that don't bring any benefit to them.
#Python #PEP517

@mgorny@social.treehouse.systems
2025-11-28 02:53:54

"Do not introduce #NIH #RustLang dependencies in your #Python package when there's no performance, security or any other benefit to it, and it just limits portability and creates more work for packagers" challenge.
Difficulty: impossible.
#packaging

@mgorny@social.treehouse.systems
2025-12-20 11:48:43

#Sphinx joined the list of packages dropping #Python 3.11 (and therefore #PyPy) support. Of course, we could just go through the effort of dropping it from respective packages in #Gentoo, given it's not technically that common… but honestly, at this point I have zero motivation to put the extra effort for this, just to learn that next month some core package starts requiring Python 3.12.
So, would anyone really mind if I removed Python 3.11 and PyPy support completely from Gentoo packages?

@mgorny@social.treehouse.systems
2025-10-22 06:52:00

Remember the package that recently had some trailing junk in the .tar.gz that broke GNU tar, and replied to my bug report with a comprehensive #LLM analysis and a slightly sloppy release checking workflow?
They've made a new release and this time the source distribution is completely broken gzip stream.
Honestly, bumping #Python packages for #Gentoo all these years, I don't recall ever seeing a problem with gzip streams. And then, #autobahn starts using #ClaudeCode heavily, and two bad releases in a row. I can't help but consider the project compromised at this point.
#NoAI #AI

@mgorny@social.treehouse.systems
2025-12-12 05:17:12

I've almost missed my train today while filling bugs over another #slop release of #autobahn. This was the last straw. Well, the penultimate one, though I don't know why I'm even bothering.
#Python #NoAI

@mgorny@social.treehouse.systems
2025-10-24 02:24:26

Who would have thought that creating a programming language for rapidly developing, deploying and abandoning lots of packages would have lead to this…
"Forking confusing: Vulnerable Rust crate exposes #uv #Python packager"
#RustLang #security

@mgorny@social.treehouse.systems
2025-12-15 04:47:34

Totally normal #Python upstream attitude:
1. Ignore a reply on a bug report for 3 years.
2. Install a #StaleBot in the middle of the night.
3. 7 minutes after the bug is marked stale, claim that you "never heard back on this" and that "the issue was somewhere downstream", without even checking another linked issue.
#Matplotlib

@mgorny@social.treehouse.systems
2025-10-25 19:41:41

🤚 Free Saturday
👉 Saturday spent working on Free Software
Highlights from #Gentoo:
#Gemato is now compatible with #FreePG and mostly compatible with #SequoiaPGP chameleon.
• Prepared patches to support FreePG and SequoiaPGP chameleon as "gpg" symlink providers.
#FlexiBLAS is now enabled by default on ~arch.
• Finally finished working on #PkgCheck check for missing #PyPI provenance checks.
• gpy-list-pkg-impls now includes "does this package have tests?" state, can optionally include PythonCompatUpdate results from PkgCheck and output mIRC colors. In other words, our IRC bot will now tell us when dependencies let us port new packages to #Python 3.14, and whether these packages have tests.

@mgorny@social.treehouse.systems
2025-10-16 18:16:45

I've filed a report about a minor problem with a #Python package, namely that the source distribution contained some trailing junk that breaks GNU #tar. On one hand, I'm happy that upstream took the issue seriously. On the other hand, I'm terrified of how much #AI slop was involved in the response.
I mean, my short bug report yielded a few walls of text of #LLM analysis of what the cause of the problem might be, of suggested solutions… and praise of the author's fix. These are interspersed with short comments from the author, all pasted under their own personal account. And the linked pull request is also huge, with "verification code" that's quite sloppy (bits that don't do anything, conditions that will never be true… but at least it seems to do what it was supposed to do).
Honestly, I don't know what to do. Not that I ever planned using this package, but at this point I will definitely stay away from it. It's in #Gentoo, and I'll have to continue maintaining it for the sake of reverse dependencies, but I feel like it's unfair to expose our users to packages that have clearly proven to accept AI slop without reviewing it properly. Or rather, AI slop that's being reviewed… by AI. How can anyone think this a good idea?!
There were multiple times in my life when I've considered retiring from Gentoo, for variety of reasons. There were also multiple times when I wanted to get away from computers altogether. Unfortunately, we're living in a truly fucked up world, and there is no escape. The best you can do is put an ever increasing effort to keep fixing all that crap that will just keep piling on faster and faster.
#FreeSoftware #OpenSource

@mgorny@social.treehouse.systems
2025-12-09 06:48:47

Uh, I'm seriously starting to wonder if I should start filing bugs to people "please move away from autobahn / txaio, it's turned into complete #AI #slop, with every release introducing major issues, and depending on it is plain dangerous."
#Python #NoAI #LLM