Tootfinder

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

@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

@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

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

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

@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 !

@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.

@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:

@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

@joe@toot.works
2026-01-13 16:57:16

Only $1.5mil?
#Python #Anthropic

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

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

@scottmiller42@mstdn.social
2026-01-23 17:45:15

In #Python, you could write sensible and transparent code, like this:
if (curNode):
curNode = curNode.next
But if you prefer something that is functionally identical, but harder to read, try this:
curNode and (curNode := curNode.next)
Follow me for more great tips on how to make life hell for the next person working with your code (which could be you).

@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

@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

@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…

@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 @…

@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.
@datascience@genomic.social
2026-01-19 11:00:01

Video tutorials for modern ideas and open source tools. #python

@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

@michabbb@social.vivaldi.net
2026-01-21 00:19:52

📋 #SkillSeekers - #Python tool automatically transforms documentation, #GitHub repos & PDFs into production-ready AI skills

@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.
@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

@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 …

@ellie@ellieayla.net
2026-01-07 07:12:33

#python #pytest

@gla@mastodon.social
2026-01-22 10:16:03

MapToPoster is a beautiful utility to create minimalist posters of the (water)ways of a city.
If you have uv installed, it takes a moment to get going
#python

@hynek@mastodon.social
2026-01-09 05:43:08

Santa #Python came super early in 2026!
With build 1.4.0, it is now possible to easily dump effective package metadata!
So getting the version of a package in the current directory is now as easy as `pipx run build --metadata 2>/dev/null | jq -r .version`.
This is NOT like parsing pyproject.toml or whatever. It builds the package and looks at the result. So it works even with…

@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

@sascha_wolfer@fediscience.org
2026-01-22 08:35:08

What‘s your go-to #python or #rstats tool(chain) for splitting #German compounds? I‘ve tried a few but was not really satisfied. Maybe I missed something. #NLP #linguistics

@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-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

@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.

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

How #uv got so fast
#python

@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

@mgorny@social.treehouse.systems
2026-01-27 09:49:48

0 days since random project started failing because someone decided to process a version number as a floating-point number, and didn't account for 2.10 🤦.
#Python #WTF

@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
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

@michabbb@social.vivaldi.net
2026-01-24 00:28:06

🧠 #Headroom - The Context Optimization Layer for #LLM Applications #opensource #Python

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

When NOT to use #Pydantic
#python

@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/]

@ellie@ellieayla.net
2026-01-11 22:35:27

Binary partitioning with k-d trees is silly amazing. And with OSM data in radians and pretending the planet is a perfect sphere, scikit-learn's BallTree works wonderfully for quickly finding things nearby some reference point.
Like how far away the nearest bicycle_parking is for every building in a city.
#IMadeAThing #python #osm #overpassql

@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-11-01 06:07:39

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

@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-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
2026-01-15 15:58:32

> Concretely, we expect to add ML-KEM and ML-DSA APIs that are only available with #LibreSSL/#BoringSSL/AWS-LC, and not with #OpenSSL.
(from #Cryptography and #Qt simultaneously, right? (Qt rejected LibreSSL support.)
#Python

@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

@mgorny@social.treehouse.systems
2026-01-07 04:46:42

Let's get this straight: it is entirely normal for a #OpenSource project to accumulate bug reports over time. They're not a thing to be ashamed of.
On the contrary, if you see a nontrivial project with a very small number of bug reports, it usually means one of the following:
a. you've hit a malicious fake,
b. the project is very young and it doesn't have many users (so it's likely buggy),
c. the project is actively shoving issues under the carpet.
None of that is a good sign. You don't want to use that (except for b., if you're ready to be the beta tester).
#FreeSoftware #Gentoo #GitHub #Python

@mgorny@social.treehouse.systems
2026-01-07 03:55:58

How to absolutely *not* do #OpenSource: require people to commit to work on other issues with your project in order to file bugs. So, sorry, #Typer, I won't be filing bugs. You figure out how you messed up your release yourself.
Also, please don't use #FastAPI. They are clearly bothered by the fact that people dare use their projects and waste their precious time with support requests.
#Python #FreeSoftware #Gentoo