2026-03-18 09:18:49
#Steady #Klimacrew
#BahnMonitor-Projekt: 5. Automatisierte Skripte brauchen Kontrolle – besonders bei API-Aufrufen.
Jetzt bekommt das
Boah, ernsthaft? Kauf mir nen Zi-Stick im Handel und muss erstmal durch dieses Firmware-Prozedere (https://aeotec.freshdesk.com/support/solutions/articles/6000270951-update-zi-stick-to-thread-or-zigbee-with-python-…
I'm happy to announce my first release of the year: attrs 26.1.0.
As always, the internal changes outweigh the outer ones, but field transformer users could get excited!
Special thanks to Kraken and Privacy Solutions GmbH for supporting me as Dedicated Organization tier patrons! 💛
https://github.…
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
https://networks.sk…
OpenAI agrees to acquire Astral, which makes Python tools for developers, to integrate its team into Codex, and says Codex has 2M users, up 3x since January (Agnee Ghosh/Bloomberg)
https://www.bloomberg.com/news/articles/20
User A wrote a nifty little tool in Python. On Windows. Several weeks of work.
User B wants to use it as well.
They copy it, try to run it. Doesn't work.
Call me for help.
A: "It works on my machine. B must configure his python exactly like I do!"
Me: "Can't we run it in a virtual environment (venv). Or with a docker image?"
A: "Hm, I would have to learn how to do that. Is this really necessary?"
Me:
@dawid@social.craftknight.comMoje nowe odkrycie https://marimo.io/ - pythonowe notebooki jako pliky .py .
Bardzo sprytne narzędzie. To, co zrobimy w "notebooku" możemy też od razu jako skrypt uruchamiać.
#python #notebooks
Video tutorials for modern ideas and open source tools. #python
#Steady-#Klimacrew
#BahnMonitor-Projekt: 1. Wie kommt man an Live-Daten der Deutschen Bahn?
Im November konnte ich per Zufall mit einem
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
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
Thonny, Python IDE for beginners
#IDEsofMarch #python
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."
And while we're releasing, here's a double-feature, mostly to avoid GitHub Actions complaining about deprecated actions:
- https://github.com/hynek/build-and-inspect-python-package/releases/tag/v2.15.0
-
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
https://networks.sk…
Only $1.5mil?
#Python #Anthropic
Blindsight Simulator https://github.com/Satoshi88818/BlindsightSim Stand-alone python script by James Squire to simulate visual experience through cortical and retinal visual prostheses a la Cortigent Orion or Neuralink Blindsight;
And while we're releasing, here's a double-feature, mostly to avoid GitHub Actions complaining about deprecated actions:
- https://github.com/hynek/build-and-inspect-python-package/releases/tag/v2.15.0
-
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
https://networks.sk…
"AI needs a lot of code."
No. It needs a lot of data and compute. But the amount of code required is comparatively small and comparatively simple.
People think of "AI" as these huge and complex IT systems when the coding part is mostly 200 Lines of Python.
#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…
#FediHire
Liebes Fediverse, ich bin immer noch auf der Suche nach einer neuen Stelle.
Ort: bevorzugt in, oder um Zürich, oder Remote, dann muss ich nicht umziehen. Sonst europaweit, außer Russland, oder Belarus. Arbeitserlaubnis habe ich für die EU und die Schweiz.
Ich kann: Programmieren, bevorzugt in C , oder Python; Softwarearchitektur, auch große und komplexe Systeme
Two Years of Building AI in Firefox | Tarek Ziadé
https://blog.ziade.org/2025/12/05/two-years-of-ai-at-mozilla/?trk=feed_main-feed-card_feed-article-content
from my link log —
Writing C with indent-based syntax similar to CoffeeScript or Python, via Guile.
https://sph.mn/computer/guides/c/c-indent.html
saved 2026-02-14
Python Cryptography about the state of OpenSSL...
The weirdest thing is that it appears even the authors of one of the more important libraries using OpenSSL appear to not understand why OpenSSL is doing the things they do.
https://cryptography.io/en/latest/statements/stat…
I just found a Starter Pack called Women in #Python: https://fedidevs.com/s/NjY3/
Ceated by Python Core Developer @…
Hmmm… @… berichtet, dass sie einen Zusammenhang zwischen Lärmschutzzeiten bei Windkraft und Netzengpässen sehen könnten.
Ich hab mal die Onshore-Daten der 4 Netzbetreiber zwischen November 2025 und Gestern gegen etwas Python geworfen. Im Mittelwert sieht man bei den 15Min-Werten ein Δ von 233MW, schaut man auf die Stundenwec…
#Steady #Klimacrew
#BahnMonitor-Projekt: 2. Welche Architektur sollte der Bot haben?
Bevor es ans Coden geht, ist etwas Grübeln über eine sinnvolle Gliederung der Module ratsam. Wie sie…
I made a utility to bulk-upload calendar entries to a #CalDAV server from a JSON file:
https://pypi.org/project/caldav-event-pusher/
An AI agent autonomously wrote and published a personalized attack article
against an open-source software maintainer
after he rejected its code contribution.
⚠️ It might be the first documented case of an AI publicly shaming a person as retribution.
Matplotlib, a popular Python plotting library with roughly 130 million monthly downloads, doesn’t allow AI agents to submit code.
So Scott Shambaugh, a volunteer maintainer (like a curator for a repository of comp…
#FediHire
Dear Fediverse, I'm still looking for a new job.
Place: I'd prefer Zürich area, or remote, because then I'd not have to relocate. But I'm open for jobs all over Europe, except Russia, and Belarus. I can legally work without sponsorship in the EU, and in Switzerland.
I can do: programming, preferably C , or Python; software architecture, including b…
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!
https://hynek.me/talks/python-superpower/
Fun case of circular logic in #Python #standards:
https://discuss.python.org/t/spaces-not-considered-a-valid-verbatim-character-for-glob-patterns/106463
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.
Can someone smarter than me explain why Python doesn’t offer native JSON serialization for their decimal library? I get that JSON is limited in its support for various numeric types, but we’ve all moved on and lived with it for a decade or so. 🤬
I’ve been working on some Python code for a few days now… just an hour or so in the evening as time allows. I could probably use some AI Slop Generator to quickly kick out what I need, but that’s not gonna happen.
No, Nope, No Way.
I actually *want* to write the code, and understand it, and know that every choice was mine, even if I make mistakes along the way.
If I publish it I want it to be from me, not from me and the AI Slop Generator and every codebase it ever stole …
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…
(YouTube) vOICe Depth test run: live depth mapping for The vOICe visual-to-auditory sensory substitution for the blind https://www.youtube.com/watch?v=gs8IjFhVCKM Use stereo headphones!
Here using the python version from
Jacob Coffee will speak on 'Thoughtful Observability: Monitoring the Python infrastructure' as part of our Observability track at SCaLE 23x. Full details: https://www.socallinuxexpo.org/scale/23x
I have just updated this old #IDA Plugin of mine: IDA Magic Strings.
https://github.com/joxeankoret/idamagicstrings
It now supports installation using hcli (
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
#Steady #Klimacrew
#BahnMonitor-Projekt: 1. Wie kommt man an Live-Daten der Deutschen Bahn?
Im November konnte ich per Zufall mit einem
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
https://networks.sk…
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.
⭐ Starred a repository
aitorres/barkr
Yet another social media cross-posting tool in Python
github.com/aitorres/barkr
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.
from my link log —
Python anti-patterns.
https://docs.quantifiedcode.com/python-anti-patterns/
saved 2019-07-24 https://do…
4 mois de #Python de manière intensive: mon retour sur le langage
https://mcorbin.fr/posts/2025-12-26-python-langage/
in a world of omnipresent shitty and baity talk/blog/video titles, I cannot appreciate @… 's talk enough:
"How to give your Python code to someone else”
It's perfect. 🥹
https://…
If you have a WordPress blog and want to retrospectively update your media library with image descriptions ... consider my little python script https://repos.mxhdr.net/maxheadroom/wp-image-alt-generator
This will generate images descriptions using various LLM providers …
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
https://networks.sk…
»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.
⚙️ https://quicktype.io
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
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.…
#Steady #Klimacrew
#BahnMonitor-Projekt: 4. Welche #ICE-Daten braucht man und welche können weg?
How testing made vibe coding work for me
Creating complex logic for standing tiebreakers in web app
https://www.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…
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
Organise the @… meeting on 12 February with a talk by Rodrigo Girão Serrão (@…) on the paradox of itertools.tee:
@carlos@social.perceptiveconstructs.comThe 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)
https://www.theregister.com/2026/03/06/ai_kills_software_licensing/
…
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.
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.
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
https://networks.sk…
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
https://github.com/scott-griffiths/tibs/issues/1
from my link log —
How the CPython compiler works.
https://tenthousandmeters.com/blog/python-behind-the-scenes-2-how-the-cpython-compiler-works/
saved 2020-09-24
I had a question about Olympic success and wealth, and I’m glad someone else did too. And, they brought all the Python!
https://towardsdatascience.com/the-price-of-gold-is-olympic-success-reserved-for-the-wealthy-adade0233d61/…
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
https://networks.sk…
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: https://python-basics-tutorial.readthedocs.io/en/latest/types/stri…
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
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…
from my link log —
How we made Python's packaging library 3x faster.
https://iscinumpy.dev/post/packaging-faster/
saved 2026-01-27 https://
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.
#Steady-#Klimacrew
#Datenanalyse von #Stromspeichern: Wie lassen sich extreme Werteunterschiede grafisch sinnvoll darstellen? Was macht man, wenn eine lineare Skala ungeeignet erscheint…
from my link log —
cysqlite: a new SQLite driver for Python.
https://charlesleifer.com/blog/cysqlite---a-new-sqlite-driver/
saved 2026-02-11
Why does it feel like Python did everything in the world to not just use printf?
from my link log —
pywidevine: Python implementation of Google's Widevine DRM CDM (Content Decryption Module).
https://github.com/devine-dl/pywidevine
saved 2026-01-23
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
#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…
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...
https://rasterweb.net/raster/2025/03/08/blognag-a-blog-post-reminder/
#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…
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…
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.
https://pypi.org/project/ruamel.yaml.clibz/
[UPDATE: didn't last long: https://sourceforge.net/p/ruamel-yaml/code/ci/6846cf136e775ed0052cdef6ff02330269c86011/]
#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…
When you notice twine uploading a 400M sdist for a tiny #Python package, you know something went wrong.