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 don't often write #python but when I do I can apparently write python inefficient enough to start the fans spinning on my workstation for half an hour. It looks like Path's match involves a glob compile for every invocation and I have a lot of files (14k) to check against a lot of patterns (2314).
I got some Python code working yesterday after being convinced I could not figure it out… but figured it out!
Realized I needed extra code today, thought it would be a pain but figured it out in no time.
Maybe I can write Python okay…
I got nerd sniped so hard by this CTF puzzle in my feed and tried to solve it for the better part of the weekend...
https://infosec.exchange/@rebane2001/116977242964328537
from my link log —
SIMD within a bignum in pure Python.
https://www.da.vidbuchanan.co.uk/blog/python-swar.html
saved 2026-07-25 https://…
Also, zero days (well, minus a lot of days because I've been slacking) since a random #Python package got a new #NIH dependency on another Python package which is actually a "fastest" #RustLang package which cannot be built because the author thinks it a great idea to require a nightly Rust compiler.
…and of course it's full of "unsafe" calls. Because Rust is obviously such a great language for making secure code.
https://github.com/awolverp/cachebox/issues/62
On my way to Cologne for the next workshop on test-driven development with Python.
#TDD #Python #Testing
Good morning! Since it's become a drag to support in mainline, I've extracted svcs's Pyramid support into an own package svcs-pyramid.
That means, the next svcs version will ship WITHOUT a `svcs.pyramid` module.
You can start using svcs-pyramid TODAY to avoid breakage the moment 26.2.0 drops – there are no code changes, just adjust the import statement:
EVE Online startet die Migrierung von Python 2 auf 3. Das kommt mir etwas verfrüht vor, ist das schon stable?
#eveonline #python
My wife nerd sniped me into answering some deep questions about Criminal Minds using nothing but the subtitles.
It's the worst case scenario docs for my RAG system so tried to solve that using some Graph storage and LLMs to make sense of the subtitle files.
Now I can answer things like "list all the episodes with female unsubs" etc
Not yet wrote the code - but Claude did a POC in Python and it worked \o/
Here's a short video,
Old good time? 🤔
«Finger Protocol Malware — Python RAT via a 1970s:
The finger protocol is older than the web, disabled on every server that matters, and still a working malware delivery channel on a default Windows install. Here it planted a Python RAT that was alerting the whole time. One genuine compromise, drowned in thousands of benign look-alikes, invisible until something cut through the noise»
📧
I fully understand the saying "if it works, don't touch it"... but **this** is something else entirely
#Python #LegacySystem
Yes, the command line can be powerful, but I was tired of spinning up a terminal window regularly only to convert a #Markdown file to a certain output format with #pandoc. So to scratch my own itch, I wrote a small python extension for
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…
Zero days since I've discovered a random #CPython bug that triggers in very specific circumstances and I don't really have time to report it, nor can expect anyone to do it for me.
This time it's a test failure and refcounts being broken while running fastjsonschema's test suite on #Python 3.15 freethreading with pytest's --junit-xml option enabled 😱. And of course removing --junit-xml makes all tests pass.
EDIT: and of course I cannot reproduce outside Portage. Yet inside, it reliably crashes every single time.
A cool recent #Python change is PEP 783 <#pyodide
It's kind of crazy that both GPT and Claude really love to manipulate files by writing Python scripts that do text search-and-replace. First of all, why isn't this a dedicated tool? Second, the generated scripts usually don't check that the search-and-replace was successful. Are they just good enough at regurgitating text that they never make mistakes? What if the file was modified in the mean time?
🧮 cuda.compute brings parallel algorithms from the CUDA Core Compute Libraries: sort, scan, reduce, transform, unique, histogram, top-k
🔧 cuda.bindings offers direct bindings for all C APIs, cuda-pathfinder detects installed CUDA components, nvmath-python adds math libraries
Who still uses Python 2?
Apparently, the library used for checking device trees in Linux.
The code is NOT compatible with Python 3 though, due to one single type.
Hopefully this gets accepted:
https://github.com/devicetree-org/pylibfdt/pull/9
heise | Webseiten intelligent auslesen: Smarter scrapen mit Python und KI
Mit Python lassen sich Webseiten scrapen. KI macht den Scraper flexibler: Sie erkennt Inhalte auch dann, wenn HTML-Strukturen oder Formulierungen variieren.
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…
Is there somewhere a good open source software in Python to act as bridge between RSS and ActivityPub act as actor? Before I write something new.
#activitypub #opensource #rss
It's 2026 and :python: #Python's standard library *still* does not have a flatten function? 🤨
(Yes, more-itertools, that's not the point)
A Java Geek weekly 155
Writing an agent skill. Why we built Pion. What are Open Weights? Smetana. On learning programming in an age of LLMs. Shopify Drops React Native for Swift and Kotlin. DNS-AID will make AI agents easier to discover. HarnessTax: How Much Does the Harness Matter for Coding Agents? Cloudflare Introduces the Agent Development Lifecycle to Replace Traditional SDLC. Unit tests mark territory more than squash bugs. Python 3.
TIL " #Python, for example, is a popular programming language that is famously smooth at handling integers of any size. If you peek into Python's underlying source code (search “Karatsuba” here)"
Alongside CUDA 13.3, Nvidia is releasing CUDA Python 1.0 as a direct CUDA interface for Python: #Nvidia #CUDA #Python
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…
speaking of slophub, here's environ-config 26.1.0 (my #Python take on loading config from env variables and secrets from safe places) a minor modernization update. thanks so much to every single name in the thanking section and to github who made it possible:
What are we using to package up Python application & dependencies into a single distributable file now?
I'm thinking of bundlers like RollupJS.
PEX? Zipapp? Docker image? Trying really dang hard to only use stdlib and shipping a boring wheel?
#python #packaging #askfedi
🔒 Semantic versioning promised: breaking changes only in major releases, deprecations follow predictable rules; docs and learning materials on #GitHub
🌐 https://www.
Drafter: A Python Library for Full-Stack Web Development in CS1
Austin Cory Bart, Nazim Karaca
https://arxiv.org/abs/2609.28481 https://arxiv.org/pdf/2609.…
RE: https://mastodon.social/@lemonde/116961723731827043
That reminds me of Monty Python's suicide squad. "That showed them, ha?"
Ich bekomme Spam mit Absender "support@python.org". Gnah! #alleskaputt
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 received a spam mail from python.org - with a valid DKIM signature. Should I report this somewhere? ... @…
#Python #uv users on #Debian: I've been using this setup:
apt install extrepo
extrepo enable uv
apt install uv
That worked perfectly for all local users using standard Debian package management …
Zero days since I regret filing a bug since it meant that some random asshole used life-destroying, nazi-supporting #slop machine to (checks notes) perform a two-line change that was precisely suggested in the bug report and add a test case that was also literally given on the bug. Well, at least they added a wall-of-slop explanation to the changes, so they wouldn't have to copy the one sentence explanation given on the bug.
#NoAI #Python
📉 According to Nvidia, third-party libraries like #PyTorch, #CuPy or #RAPIDS become dispensable in many cases
📌 Install: pip install cuda-python cuda-cccl numba-cuda-mlir[cu13]
My credit card details seem to have been cloned. Fun fact: I only used this card to buy a few Kindle books, donate to the Python Software Foundation and pay to reserve a seat with British Airways.
So, which one do you think leaked my card data?
Or is there any other way some asshole was trying to buy shit in the US with my money?
#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…
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…
Had to hand-edit a python library source to get offlineimap working. Backwards compatibility has no priority for python developers, useless behaviour, useless programming language.
Holy cow, remember to clean your #uv cache from time to time, folks 😅
UPDATE: Seems to contain some links, deleting the cache only freed like 9GiB, but still...
#Python
#Python in a nutshell:
1. Let's use this new fancy #TOML thing for everything, it's so cool!
2. Everyone starts depending on third-party TOML libraries.
3. TOML library is finally added to the standard library, so people are moving to conditionally using it.
4. As old versions of Python become irrelevant, people are finally dropping fallbacks to the third-party library.
5. TOML 1.1 is introduced, and everyone has to start using a third-party library again… (at least until Python 3.15)
That's in case anyone is wondering why dev-python/tomli is suddenly getting installed on #Gentoo systems again.
My bike riding has been poor this year, due to spinal stenosis and then spinal surgery in June... but hopefully the numbers will go up for the rest of the year.
(And who knows? Maybe I'll update some of the Python code that generates these.)
#bikeTooter #python
Opus 5.5 efficiency jump — but only at lower effort levels. At low, medium and high effort it is 1.9–3.3× faster and 1.6–2.4× cheaper than Opus 5. Python at low effort now costs $0.38 and 35 seconds, against Opus 5's $0.75 and 117 s. At xhigh the two models are indistinguishable; at max 5.5 is 1.3× slower in Python and 1.9× slower in Go with high variability. Three Python runs at max took 1030, 1688 and 3333 seconds. Opus 5's defaults to high; 5.5's defaults to medium. https://github.com/adrianco/retort/blob/main/model-blog.md
TFW your client decides to convert the whole codebase from Python to C because of “performance”, but nobody on the team is well versed in C .
Apparently it won’t be a problem because “Claude knows C ”
🤦♂️🤦♂️🤦♂️
#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…
📊 Requires #NodeJS 20 , #Python 3.11 with PyYAML and Bash 4.3 . Expected trade-off is about 3x the time and 2x the tokens. MIT licensed
🌐 https://
fun fact: these videos are rendered on request (and then cached for a short time, cache is cleared every 5 mins) by the furbnet server and a series of 2010 python scripts i got off github
I received a spam mail from python.org - with a valid DKIM signature. Should I report this somewhere? ... @…
Python one-liner to generate a random string (takes one optional argument for length – default 16):
python3 -c 'import secrets,string,sys;print("".join([secrets.choice(string.ascii_letters string.digits) for _ in range(int(sys.argv[1]) if len(sys.argv)>1 else 16)]))'
Can be set as alias in bashrc/zshrc, e.g. via:
alias rand="python3 -c 'import secrets,string,sys;print(\"\".join([secrets.choice(string.ascii_letters string.digits) for _…
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…
🔐 Ships with zero credentials: bring your own free #GoogleCloud OAuth client for the YouTube Data API v3 (~5 minutes setup). Requires Python 3.9 and is safe to point at an existing vault without overwriting content
I wish #mypy would slow down with adding new features to mypyc, and instead focused on fixing the train wreck that mypyc is right now (since 2023 at least). Like, if your code crashes hard with assertions enabled, then it's broken, period. Ignoring proper testing and shoving the issue under the carpet doesn't make it right.
#Python
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…
In 1979, #MontyPython released their epic #film "Monty Python's Life of Brian": https://en.wikipedia.org/wiki/Life_of_
from my link log —
In Python 2, node.example.com is an IPv6 address.
https://tuckersiemens.com/posts/node-example-com-is-an-ip-address/
saved 2020-12-30
Final preparations for tomorrow’s BBQ for all Python user groups in Berlin @…: https://www.meetup.com/python-users-berlin-pub/events/314905083
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…
Happy to announce v3.0.0 of my build-and-inspect-python-package GitHub Action that does what the name says.
If u maintain a Python pkg u should really give it a look! Much, much fewer broken pkgs have been pushed to PyPI & who doesn't love automatic trove classifier − GHA test matrix conversion‽
This release brings you Twine 7 & with that packaging metadata 2.5 & PEP 794 (Import Name Metadata) – also a new release procedure: no more trailing v3 tags – only full ve…
🎯 #Caddy on the VPS handles HTTPS with on-demand TLS. Certificates are auto-provisioned per subdomain, with a #ZeroSSL fallback when Let's Encrypt hits its 50-certs-per-week rate limit.
🔧 A small #Python
I’m somewhat embarrassed to finally announce svcs 26.1.0 – my solution to #Python service location and dependency injection.
It’s been a minute, and the changelog is chuck-full, but the main features are autowiring, which looked like a simple add-on that grew to a four-digit monster diff, and of course, TypeForms that allow registering/getting abstract types!
The state of #Python ecosystem right now: almost everything is slop. Some projects are complete vibe-coded slop (autobahn, chardet, cryptography). Some projects are disguised slop ("Coding agents shouldn't co-author themselves.")
There is only a handful of human projects left (Flask being one bright example). And they're being killed. They're being killed by the neverending slew of slop pull requests. They're being killed by all their dependencies becoming slop. They're being killed because this whole ecosystem has became such a complete cesspit that you have zero motivation to do anything.
EDIT: and honestly, this is only going to get worse. When you kill the incentive to work on projects, you only get more slop. Maintainers give in, and more projects become slop. Or they give up, and projects get forked unto slop.
#NoAI #NoLLM
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…
📋 #ClaudeCode ships with a built-in cron scheduler. #Codex CLI does not. So I built one myself — one skill file plus one #Python helper, no daemon, no service, no queue
➡️ fstring.help: Python f-string Guide
#bookmarks
In the meantime, #GitPython, the package that used to be dead (because the author is busily working on their next great thing) is now slopping out 4 "security" releases a week, as their #slop machine is busily fixing unintended variable expansion in every single URL they call. Unfortunately, they probably don't have enough tokens to fix them all at once, so instead all downstreams have to deal with the churn of endless security releases. Or the brain to figure out that maybe they could just disable variable expansion by default and solve them all at once.
It's truly a great time to be a #Python packager.
#NoAI #NoLLM
#Steady #Klimacrew
Wie lassen sich #Wechselrichterdaten vom APsystems EZ1 lokal speichern?
Für statistische Auswertungen müssen alle Daten kontinuierlich gespeichert werden. Wie…
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…
🐍 #Nvidia releases #CUDAPython 1.0 — direct #CUDA access from #Python at the same level as C …
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…
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…
🔧 The backend is #Python-based on top of #pipecat, the UI is #TypeScript. The architecture is modular so components can be swapped, and
#TIL that the Python Pillow library uses the PING command as a #Windows equivalent of sleep.
#cmd
I have a #Python favor to ask. Could someone look at Python 3.15 test failures in itsdangerous? It's blocking quite a large part of package dependency graph in #Gentoo, and the failure looks, errr, dangerous.
https://github.com/pallets/itsdangerous/issues/420
The conclusion from a big #Python 3.15 #Gentoo porting run today: the most common kind of #NIH Python package is one providing colorful output on the terminal…
Zero days since I've named my variable `os`, in #Python.
#Python Hypothesis package now requires #RustLang. This is a scale of reverse dependencies I can't handle. I guess this means it's the end of WD40 profiles on #Gentoo, and therefore the end of support for Alpha, ARM<v6, HPPA, M68k, i486 and some other random subsets of architectures and profiles. Thanks for all the fish, etc.
https://github.com/HypothesisWorks/hypothesis/issues/4740
And the next big blocker for #Python 3.15 in #Gentoo is time-machine. Which is obviously broken. There's a patch but it's #slop and complex, and it's sitting for 3 months already with no reply. Because obviously patching CPython internals is so much a better idea than freezegun ever were. All these time-based tests need all the ricing you can get; portability doesn't matter.
https://github.com/adamchainz/time-machine/pull/618
Challenge: have a #Python package use the same environment variable to disable building extension and to make tests not expect extension.
Difficulty: impossible.
So now that #awscli 1.x is pretty much dead, I've finally gotten around to packaging 2.x properly for #Gentoo. You know, the one where other developers claimed it was impossible to build from source because (checks notes) upstream said so. So we instead must use their horrible 70M binary package that bundles its own Python interpreter along with all the random libraries and dependencies.
And guess what? Sure, they don't publish it to PyPI anymore, but it still is a regular #Python package branched out from 1.x. It has regular Python package dependencies, a regular Python build backend and when you build it with it, you get a regular Python wheel that can be installed and just works with the system Python and system dependencies.
Sure, it's crap, but it's no worse than the 1.x crap. It bundles a modified fork of the unreleased 2.x branch of botocore (now dead for 5 years, apparently) and a fork of s3transfer. It has some random meaningless dependency pins that we patch out. It has a horrible test suite that can eat tons of memory if run via xdist, but with some hackery, I've gotten it to work reasonably.
Honestly, I feel like Gentoo developers these days just don't care to even try.