Tootfinder

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

@netzschleuder@social.skewed.de
2026-02-15 01:00:06

python_dependency: Python Dependency Network
Python's package dependency networks. Nodes in the network are Python's packages registered to PyPI and edges are dependencies among packages.
This network has 58743 nodes and 108399 edges.
Tags: Technological, Software, Unweighted
networks.sk…

python_dependency: Python Dependency Network. 58743 nodes, 108399 edges. https://networks.skewed.de/net/python_dependency
@hynek@mastodon.social
2026-02-13 11:26:39

ok so newsletter is out, and i’ve finally posted my PyCon UK keynote with additional material to my homepage.
if you wanna know what took me so long: check out my latest newsletter ;)
back to sauna!
hynek.me/talks/python-superpow

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

Only $1.5mil?
#Python #Anthropic

@netzschleuder@social.skewed.de
2026-02-15 04:00:06

python_dependency: Python Dependency Network
Python's package dependency networks. Nodes in the network are Python's packages registered to PyPI and edges are dependencies among packages.
This network has 58743 nodes and 108399 edges.
Tags: Technological, Software, Unweighted
networks.sk…

python_dependency: Python Dependency Network. 58743 nodes, 108399 edges. https://networks.skewed.de/net/python_dependency
@ellie@ellieayla.net
2026-03-13 19:44:01

Does VSCode (eg in pylance) have a feature to display a clickable link to the language standard library documentation (eg #python #vscode #askfedi

@fanf@mendeddrum.org
2026-02-14 15:42:04

from my link log —
Writing C with indent-based syntax similar to CoffeeScript or Python, via Guile.
sph.mn/computer/guides/c/c-ind
saved 2026-02-14

@heiseonline@social.heise.de
2026-01-09 13:41:00

heise | Python-Listen für Einsteiger erklärt: Daten clever und effizient organisieren
Listen in Python sind mächtig. Wir zeigen, welche Methoden wichtig sind und wie man Daten elegant und kompakt verarbeitet.

@veit@mastodon.social
2026-02-12 08:05:47

Final preparations for the Python Users Berlin (@…) meeting tonight. I’m looking forward to meeting all the Pythonistas in Berlin and Rodrigo’s (@…) talk on itertools.tee:

@mgorny@social.treehouse.systems
2026-03-11 13:58:34

Fun case of circular logic in #Python #standards:
discuss.python.org/t/spaces-no
1. Use "globs" in the specification.
2. Decide that "glob" may be ambiguous, so add severe restrictions on what's supported.
3. Because of the severe restrictions, people may have reinvented the wheel instead of using system `glob` module.
4. Since people may have used their custom implementations, just relaxing the spec is a problem.

@rasterweb@mastodon.social
2026-03-15 01:35:08

I still think the dumbest thing about Python is how all the functions have to go at the top of the file instead of the end of the file.

@socallinuxexpo@social.linux.pizza
2026-02-14 01:25:01

Jacob Coffee will speak on 'Thoughtful Observability: Monitoring the Python infrastructure' as part of our Observability track at SCaLE 23x. Full details: socallinuxexpo.org/scale/23x

@lpryszcz@genomic.social
2026-03-11 16:04:05

python -c "import this"
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.…

@rasterweb@mastodon.social
2026-02-14 12:21:40

I had a question about Olympic success and wealth, and I’m glad someone else did too. And, they brought all the Python!
towardsdatascience.com/the-pri

@jovian34@social.linux.pizza
2026-01-14 16:32:30

How testing made vibe coding work for me
Creating complex logic for standing tiebreakers in web app
jovian34.com/j34/blog/26/
Every year I add features to apps.iubase.com before the start of college baseball season in mid-February. This off-season has been particularly bold as…

ChatGPT generated this Python code block
@penguin42@mastodon.org.uk
2026-01-12 22:03:53

I'm seeing hangs in 'meld' at the moment with a couple of (large but not huge) log files; hmm - just 100% in the python.
Switched to kdiff3 for the moment.

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

@UP8@mastodon.social
2026-02-12 15:46:08

Logged into Google using Chrome at work and found it's become a Kakfa-esque experience where I had to log in five times before I realized what was going on with "profiles" I've never asked for. Reminds me of the time I did a shoot-out of ten visual recognition APIs and I got demos of the others done in 20 minutes each but Google Cloud Compute took two hours because it trashed my Python #google

@Techmeme@techhub.social
2026-03-11 05:25:57

The AI-assisted overhaul of a Python character encoding detection library raises questions about software relicensing and derivative versions of the original (Thomas Claburn/The Register)
theregister.com/2026/03/06/ai_

@netzschleuder@social.skewed.de
2026-03-06 19:00:05

python_dependency: Python Dependency Network
Python's package dependency networks. Nodes in the network are Python's packages registered to PyPI and edges are dependencies among packages.
This network has 58743 nodes and 108399 edges.
Tags: Technological, Software, Unweighted
networks.sk…

python_dependency: Python Dependency Network. 58743 nodes, 108399 edges. https://networks.skewed.de/net/python_dependency
@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

@jamesthebard@social.linux.pizza
2026-03-07 18:11:46

The rewrite of the Sisyphus server continues, I've got all of the GET endpoints and about 60% of all the endpoints finished overall. Some initial testing on the `/workers` and `/queue` endpoints show some worrying results from the old version and some great results from the new version. The `/workers` endpoint started throwing errors at about 800 RPS on the Python/Flask version (the old one), the rewrite is showing around 4800 RPS (Golang/Gin). The `/queue` endpoint doesn't show a…

The graph of the `/workers` endpoint.  The left-hand graph is the Python/Flask version (old) and the right-hand graph is Golang/Gin (new)
The graph of the `/queue` endpoint.  The left-hand graph is the Python/Flask version (old) and the right-hand graph is Golang/Gin (new)
@elduvelle@neuromatch.social
2026-02-15 20:53:36

Slightly technical coding question, #Matlab to #Python:
What's the simplest way to read a Matlab table in Python?
Or, if that's not possible, what should I convert my Matlab table to so I can read it in python? 🙏
It's quite a big table with "nested" data i.e. some of th…

@joxean@mastodon.social
2026-03-05 16:22:26

I have just updated this old #IDA Plugin of mine: IDA Magic Strings.
github.com/joxeankoret/idamagi
It now supports installation using hcli (

@rasterweb@mastodon.social
2026-03-10 20:14:18

Here's two examples of running command line stuff on iOS via Apple Shortcuts and a-Shell.
One shows the uptime of my phone, the other runs a Python script and shows the output.
#iOS #apple #python

Screen shot of an Apple Shortcut
Screen shot of an Apple Shortcut
@thomasfuchs@hachyderm.io
2026-03-02 20:15:38

My wife is currently trying to get a python script working on her computer and she's encountering the "fun" of python not having any package manager built-in

@mgorny@social.treehouse.systems
2026-03-11 07:57:54

Always grateful for the new levels of stability and reliability that #RustLang rewrites of #Python stuff bring.
> a = Tibs.from_i(-1, 128)
^^^^^^^^^^^^^^^^^^^^
E pyo3_runtime.PanicException: attempt to negate with overflow
github.com/scott-griffiths/tib

@eana@s.1a23.studio
2026-03-06 01:00:39

⭐ Starred a repository

aitorres/barkr
Yet another social media cross-posting tool in Python
github.com/aitorres/barkr

@netzschleuder@social.skewed.de
2026-02-05 08:00:06

python_dependency: Python Dependency Network
Python's package dependency networks. Nodes in the network are Python's packages registered to PyPI and edges are dependencies among packages.
This network has 58743 nodes and 108399 edges.
Tags: Technological, Software, Unweighted
networks.sk…

python_dependency: Python Dependency Network. 58743 nodes, 108399 edges. https://networks.skewed.de/net/python_dependency
@heiseonline@social.heise.de
2026-01-07 13:56:00

heise | FastAPI: So härten Sie Ihre REST-Schnittstelle gegen unbefugte Zugriffe ab
REST-Schnittstellen im Netz brauchen ein Zugriffskonzept. So gelingt ihre Absicherung inklusive Rollenmodell zur Rechtevergabe auf Basis von FastAPI in Python.

@kubikpixel@chaos.social
2026-02-09 06:35:11

»quicktype — Convert JSON into gorgeous, typesafe code in any language.
Convert JSON to Swift, C#, TypeScript, Objective-C, Go, Java, C and more.«
In my opinion, this open source tool is good for quickly creating a prototype, but then the programming only begins.
⚙️ quicktype.io

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

@maxheadroom@hub.uckermark.social
2026-02-05 08:56:43

If you have a WordPress blog and want to retrospectively update your media library with image descriptions ... consider my little python script repos.mxhdr.net/maxheadroom/wp
This will generate images descriptions using various LLM providers …

@karlauerbach@sfba.social
2026-01-29 08:16:25

Once upon a time Python just worked.
Now, on Mac OS, Python is a disaster. Different versions in different virtual environements, homebrew vs pip vs pip3 vs pipx vs ...
It is hard to image how the Python world got itself so bollixed up on MacOS.

@fanf@mendeddrum.org
2026-02-11 21:42:03

from my link log —
cysqlite: a new SQLite driver for Python.
charlesleifer.com/blog/cysqlit
saved 2026-02-11

@tinoeberl@mastodon.online
2025-12-27 15:16:49

#Steady-#Klimacrew
#BahnMonitor-Projekt: 3. Klappt der erste Zugriff auf die Bahn-API?
Im nächsten Schritt wurde die API-Abfrage getestet udn geprüft, ob die zurückgelieferten Datenstru…

@fluchtkapsel@nerdculture.de
2026-02-08 19:27:07

I did skim through a Python GTK Adwaita tutorial in the last few days. Besides stumbling over some deprecations here and there it worked really well so far. For some stuff I needed to look up other projects how they solved my current issues. It's interesting how more experienced developers structured their code to layout their applications' windows. And it's interesting that I begin to understand what's going on in the code.

@ellie@ellieayla.net
2026-02-14 02:42:36

Everything #uv #ruff #ty #python

@vform@openbiblio.social
2026-02-18 20:00:00

Boah, ernsthaft? Kauf mir nen Zi-Stick im Handel und muss erstmal durch dieses Firmware-Prozedere (aeotec.freshdesk.com/support/s

@veit@mastodon.social
2026-01-04 13:16:18

Organise the @… meeting on 12 February with a talk by Rodrigo Girão Serrão (@…) on the paradox of itertools.tee:

@mgorny@social.treehouse.systems
2026-03-02 14:12:28

Oh, in other news, Wheel Variants (formerly PEP 817) is being split into smaller PEPs that will be easier to comprehend. The draft of the first split part, PEP 825, titled "Wheel Variants: Package Format" has been merged. We'd appreciate your feedback!
#Python #packaging

@daniel@social.telemetrydeck.com
2026-03-07 14:33:42

A buddy of mine is looking for work! Hit me up if you’re interested in a great developer and leader

Software Developer with 25 years of
experience in frontend and backend
development. In my last job, I mostly
worked as a product owner for an external
attack surface management system (Saas,
Vue.js. Python, Kotlin) while also being the
architect and project lead of our internal
component library and design system
efforts. Recently I acquired the official
German trainer aptitude certificate,
allowing me to train IT specialists.
@almad@fosstodon.org
2026-03-09 18:09:08

Oh man, #LLM and licensing is going to he so much fun, does everybody miss ‘90s so much?
github.com/chardet/chardet/iss

@hynek@mastodon.social
2026-03-08 15:45:39

This is such an end of an era that fresh Python programmers can’t even fathom.
PyPy used to be our hope! No major Python conference that didn’t suggest that they’re gonna fix the GIL and make time go backwards. And yeah, it’s really fast! I suspect the money-backed focus on performance in CPython combined with the compat paper cuts PyPy always came with has sealed its fate. I‘ve watched its decline over the years so I’m not surprised, but damn.

@cheeaun@mastodon.social
2026-03-05 15:38:47

omg it's Mark Pilgrim 😮 github.com/chardet/chardet/iss

@ErikJonker@mastodon.social
2026-02-05 09:45:56

My local Python installation on my Windows 11 laptop was a complete mess and i am not an experienced developer/programmer (far from it). I used Google Antigravity to fix and improve this. It fixed problems , installed "uv" and my life is simpler now... Agents have a role to play i think.
#google #antigravity

@fanf@mendeddrum.org
2025-12-25 21:42:01

from my link log —
Python anti-patterns.
docs.quantifiedcode.com/python
saved 2019-07-24 do…

@carlos@social.perceptiveconstructs.com
2025-12-26 00:03:59
@…

I guess it depends on the language. I use polars heavily with Python. It works really really well. It's not just faster than pandas, it's more ergonomic, more regular, more composable and less quirky.

Python is very flexible and accommodating. And you are strongly discouraged from doing fine grained computation in Python a…
@frankel@mastodon.top
2025-12-21 09:30:04

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

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

@cybertailor@craba.cab
2026-02-24 17:16:38

Вопрос к гуру #Python и #SQLite: что вы передаете в функции, Cursor или Connection? Какие плюсы и минусы, или нет никакой разницы?
Если нужно коммитить, то насколько странно делать это через cur.connection.commit()?

@andyq@mastodon.social
2026-01-25 21:13:00

Got one of those little Polono P31s thermal label printers from shown on TikTok - actually a neat little gadget, only thing I'm not a fan of the Labelnise app - no idea what/if its sending out. So with the assistance of Claude, knocked up a small Python CLI to print text, images, qr and barcodes to it over BLE.

@rasterweb@mastodon.social
2026-03-11 15:08:19

Why does it feel like Python did everything in the world to not just use printf?

@gla@mastodon.social
2026-01-04 18:40:07

I wrote up how I set up #ty with #helix, with a focus on finding third-party packages (a.k.a. virtualenvs, which I keep on a central location!)

@mgorny@social.treehouse.systems
2026-03-11 07:26:39

So, remember how all the cool kids dumped #Sphinx and went for the shiny #MkDocs thing? And then used the shiny Material for MkDocs theme?
Well, apparently MkDocs 1.x is dead, and MkDocs 2.0 is coming with no support for plugins, incompatible theming system, closed contribution model and unclear licensing.
So which hype train are the cool kids jumping to these days?
#Python

@carlos@perceptiveconstructs.com
2026-01-07 02:01:50
@…

Data Science is different things to different people so the list of things you need to know is hard to pin down.
It's often understood to go beyond data analysis.

In addition to Python programming and statistics you need to know at least:
- data manipulation tools including SQL, dataframes (polars, pandas)
- fund…
@grumpybozo@toad.social
2025-12-25 23:13:39

Just started reading through a thread about Python tooling by actual working Python devs and I had to bail out. It was too horrifying. I need to go read Epstein Files to clean the palate… (kidding)

@netzschleuder@social.skewed.de
2026-02-24 12:00:06

python_dependency: Python Dependency Network
Python's package dependency networks. Nodes in the network are Python's packages registered to PyPI and edges are dependencies among packages.
This network has 58743 nodes and 108399 edges.
Tags: Technological, Software, Unweighted
networks.sk…

python_dependency: Python Dependency Network. 58743 nodes, 108399 edges. https://networks.skewed.de/net/python_dependency
@shanmukhateja@social.linux.pizza
2026-01-07 17:10:24

I hacked together a Python GTK project to inhibit/uninhibit sleep via a simple GUI.
This was put together in 3 hours and I am very proud of this janky code.
My blog goes into the background for this as well as its implementation.
Give it a read:
blog.surya…

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

#Steady-#Klimacrew
#BahnMonitor-Projekt: 3. Klappt der erste Zugriff auf die Bahn-API?
Im nächsten Schritt wurde die API-Abfrage getestet udn geprüft, ob die zurückgelieferten Datenstru…

@grahamperrin@bsd.cafe
2026-02-05 07:27:13

@… FYI
285957 – lang/python312 as default python — <bugs.freebsd.org/bugzilla/show>
292105 – lang…

@al3x@hachyderm.io
2026-01-27 13:30:38

Life with Visual Studio Code #VSCode
1. I learned about `code --disable-extensions. This helped pinpoint the selection issue to most probably an extension.
2. I have removed most of the extensions. I have Go, Java, Python, XML, YAML. Go is from Google, Java from Oracle, Python from MS, XML & YAML from RedHat. This is very interesting!
3. I still feel very lost in terms of shortcuts. I'm struggling to decide if I should introduce the ones I'm familiar with or continue to experience #VSCode

@dawid@social.craftknight.com
2026-02-06 17:49:54
@… Editor with properly set language server is key here, then jumping between "nodes" (or however editor will name it), go outside, inside, to siblings, parents etc.

In python, it's useful, but not necessary, here is starting to be necessary to don't get lost...

At least with fmt you don't need to care about those…
@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).

@sauer_lauwarm@mastodon.social
2026-02-28 17:06:31

my python boot is too tight

@gray17@mastodon.social
2026-01-02 08:49:02

spent some time looking at rust html5ever and the vibe-translated python justhtml and its vibe-translated js, ocaml, swift descendants.
there are some weird things going on.
tokenization in the html spec is a well-defined state machine. one state is Data, which is normal chars between tags. it's a small, simple state.
the vibe-translated Data states are all different, unrelated implementations, clearly not derived from their example code. they're hallucinated from a…

@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

@netzschleuder@social.skewed.de
2026-02-21 00:00:07

python_dependency: Python Dependency Network
Python's package dependency networks. Nodes in the network are Python's packages registered to PyPI and edges are dependencies among packages.
This network has 58743 nodes and 108399 edges.
Tags: Technological, Software, Unweighted
networks.sk…

python_dependency: Python Dependency Network. 58743 nodes, 108399 edges. https://networks.skewed.de/net/python_dependency
@jamesthebard@social.linux.pizza
2026-03-08 05:14:59

So, decided to get them rookie `/queue` numbers up so did a quick bit of caching. For a 12-job queue, I went from 240 RPS (Python/Flask) to 680 (Golang/Gin) then to 3400 RPS with some proper caching. The `/workers` endpoint would benefit as well, but I think its performant enough though I may end up adding a bit of caching later.
#golang

The old endpoint (left) versus the new endpoint (right).  What's more, the rewritten endpoint still had headroom resource-wise on the VM whereas the old one had maxed out the VM's CPU.
@ellie@ellieayla.net
2026-01-07 07:12:33

#python #pytest

@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
2026-03-09 06:07:09

#Steady #Klimacrew
Vom Puristen zum #IDE-Nutzer
Ganz langsam. 😁 Wie verändert sich der Workflow, wenn man statt eines simplen Editors mit einer IDE arbeitet? Als Hobby-Entwickler hat mir Notepa…

@veit@mastodon.social
2025-12-21 14:25:20

I took a look at the changes coming with Python 3.15 – and I can’t wait to put them to productive use. I’ve already updated our tutorials:
• utf-8 as the default encoding: python-basics-tutorial.readthe

@thomasfuchs@hachyderm.io
2026-03-02 20:36:03

RE: hachyderm.io/@thomasfuchs/1161
many brew install and virtualenvs and pips later the script is working!
(also curse you apple for shipping python essentially in a broken state)

@fanf@mendeddrum.org
2025-12-27 18:42:01

from my link log —
How the CPython compiler works.
tenthousandmeters.com/blog/pyt
saved 2020-09-24

@rasterweb@mastodon.social
2026-03-09 19:52:56

Has it really been a year since I released this? I'm still really (mostly) enjoying Python, though I keep hearing good things ago Go and Rust...
rasterweb.net/raster/2025/03/0

@carlos@social.perceptiveconstructs.com
2026-01-07 02:01:50
@…

Data Science is different things to different people so the list of things you need to know is hard to pin down.
It's often understood to go beyond data analysis.

In addition to Python programming and statistics you need to know at least:
- data manipulation tools including SQL, dataframes (polars, pandas)
- fund…
@ErikJonker@mastodon.social
2026-01-02 10:13:59

Playing around with Antigravity, vibe coded a social media summarizer that makes a summary of the last 48 hours of my bluesky and mastodon timelines, using python, a local database of the posts on my laptop and APIs of mentioned services. Works greats after squashing some bugs and a few iterations. Interestingly you need to know a little bit about coding to use it efficienctly, even in "vibecode" mode.

My vibecoded app that summarizes my mastodon and bluesky timelines
@frankel@mastodon.top
2025-12-31 09:19:35

How #uv got so fast
#python

@fanf@mendeddrum.org
2026-01-28 09:42:04

from my link log —
How we made Python's packaging library 3x faster.
iscinumpy.dev/post/packaging-f
saved 2026-01-27

@hynek@mastodon.social
2026-03-03 06:31:49

As of 26.1, Black forces 1 line after imports which—no matter how you feel about that—conflicts with flake8’s E302 that enforces 2 empty lines btw classes/functions.
I've been told that it was in --preview for a yr & nobody complained… I can hear Douglas Adams giggling.
As one of the OG Black cheerleaders this makes me sad since this change seems entirely unnecessary. Making THE Python-based formatter incompatible w/ THE Python-based linter… This was the fallback in case…

@tinoeberl@mastodon.online
2026-03-07 06:07:02

#Steady #Klimacrew
Was tun, wenn falsche Einträge im #Marktstammdatenregister die Auswertung ruinieren?
Das Register ist berüchtigt für Fehleinträge durch Anlagenbetreiber. …

@ErikJonker@mastodon.social
2026-01-02 10:13:00

Playing around with Antigravity, vibe coded a social media summarizer that makes a summary of the last 48 hours of my bluesky and mastodon timelines, using python, a local database of the posts on my laptop and APIs of mentioned services. Works greats after squashing some bugs and some iterations. Interestingly you need to know a little bit about coding to use it efficienctly, even in "vibecode" mode.
#AI

@ellie@ellieayla.net
2026-03-07 15:19:27

github.com/ellieayla/argparse- extracts all the --command-line=arguments supported by a CLI tool built with the Python argparse library, and writes them as a markdown table.
It's like your-cool-script.py --help, but for embedding into README.md during CI.
No dependencies outside of standard library. Single file module. Works great with @… 's cog.

@veit@mastodon.social
2025-12-18 10:18:49

With ty, Astral has released a fast Python type checker and language server (LSP): astral.sh/blog/ty
It can also be easily integrated into Visual Studio Code and other editors:

@fanf@mendeddrum.org
2026-01-24 18:42:03

from my link log —
pywidevine: Python implementation of Google's Widevine DRM CDM (Content Decryption Module).
github.com/devine-dl/pywidevine
saved 2026-01-23

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

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

#Steady-#Klimacrew
#BahnMonitor-Projekt: 1. Wie kommt man an Live-Daten der Deutschen Bahn?
Im November konnte ich per Zufall mit einem

@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

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

When NOT to use #Pydantic
#python

@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

@ellie@ellieayla.net
2026-02-17 06:42:41

Finally put together type stubs for an old (last release 2017!) python library I've been depending on for years. And now wondering whether it would have been easier to just contribute types to the library directly. I thought it abandoned but then the maintainer responded up on an unrelated ticket.
(Though there's no CI infra actually working anymore. Makes testing contributions painful. Wonder whether building that first would be worthwhile & welcome...)
#python #packaging

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

@rasterweb@mastodon.social
2026-02-17 02:41:30

It's been a while but I was reminded that Java is shit.
Python is better, but has issues, mostly because of macOS.
And macOS permissions for user-created applications are a nightmare!
But a big, big thanks goes out to tools like Platypus.
"Platypus is a developer tool that creates native Mac applications from command line scripts such as shell scripts or Python, Perl, Ruby, Tcl, JavaScript and PHP programs."

@ellie@ellieayla.net
2026-02-25 17:25:29

The document-wide in-scrollbar thumbnail / minimap has been around for a while. Most people are familiar with it from RockScroll (2008) or Sublime Text (2012) or VSCode (2015).
#coverage #python

@mgorny@social.treehouse.systems
2026-02-17 13:30:33

Did you know that #PEP425 ("Compatibility Tags for Built Distributions") said:
> Why isn’t there a . in the Python version number?
>
> CPython has lasted 20 years without a 3-digit major release. This should continue for some time. Other implementations may use _ as a delimiter, since both - and . delimit the surrounding filename.
This didn't age well.
#Python

@mgorny@social.treehouse.systems
2026-02-25 15:16:07

Aaand we're seeing the first '#setuptools < 82' runtime dependencies in random packages because they are trying hard to workaround breakage due to pkg_resources removal.
#Python

@ellie@ellieayla.net
2026-02-22 17:00:25

Argument type is "list[tuple[dict[str, list[list[Unknown]]], list[str]] | tuple[dict[str, list[list[Unknown]]], list[Any]]]"
Utterly ridiculous statements made about parsed json that no-one should have to read in the morning.
#python #typing

@mgorny@social.treehouse.systems
2026-02-22 15:44:22

> The next great […] library for #Python
Checks.
> Last commit: 4 years ago. Already broken.

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

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