Tootfinder

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

@netzschleuder@social.skewed.de
2026-03-26 18: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
@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…
@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.

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

@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

@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

@shriramk@mastodon.social
2025-12-26 20:32:09

The state of programming in 2025. Anyways, off to write a CLAUDE•md…

Jealous girlfriend meme with Python annoyed that coders are now focused on CLAUDE.md.
@cybertailor@craba.cab
2026-02-24 17:16:38

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

@veit@mastodon.social
2026-01-25 14:58:51

On the way to Cologne for a week-long workshop on Python for Data Science.
#Cologne

@tinoeberl@mastodon.online
2026-03-21 06:07:01

#Steady #Klimacrew
#BahnMonitor-Projekt: 7. Zufall ist nicht gleich Zufall. 🤭
Nach der Verspätungsmeldung kommt ein Wissenshäppchen. Der

@stsquad@mastodon.org.uk
2026-03-24 15:01:52

Looks like there is another supply chain attack on open source, this time the #python based #litellm package. I had a look at the #github page and I can see over a thousand open pull requests and a core t…

@bthalpin@mastodon.social
2026-02-25 22:15:23

I've finally gotten Termux to rsync files via crontab. Needed to set up keychain, something I used to understand in the distant past. Now I have my own quantified-self data (well, location and battery) uploading to my private cloud.
#termux termux.api, python, rsync, crontab, keychain.

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

@Techmeme@techhub.social
2026-03-24 19:55:53

Two versions of LiteLLM, an interface for accessing LLMs, have been removed from PyPI after a supply chain attack injected them with credential-stealing code (Thomas Claburn/The Register)
theregister.com/2026/03/24/tri

@rasterweb@mastodon.social
2026-03-24 01:20:20

I was using the Python csv library for a script but decided I should dig into the pandas DataFrame stuff instead.
It was more complex, and it took me awhile to figure things out, and I had to read a bunch of web pages explaining things.
But in the end, I am 100% happy I did it that way.
I did not want to ask some AI/LLM for the answers, or to write the code for me.
Because for me, the struggle and the journey is part of creating something worthwhile.

@kornel@mastodon.social
2026-01-24 01:56:01

uv is amazing. Makes Python as easy to run as Rust.

xkcd: python3 sandwich.py - what? make it yourself. uv run me a sandwich. okay.
@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.

@netzschleuder@social.skewed.de
2026-03-23 13: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
@lpryszcz@genomic.social
2026-03-15 12:30:11

#Cython promises to make "writing #C extensions for Python as easy as #Python itself." The reality is: learn C's mental model, express it in Python syntax, and use a separate diagnostic tool to verif…

@fanf@mendeddrum.org
2026-01-26 12:42:01

from my link log —
Python consumes a lot of memory; how to reduce the size of objects?
habr.com/en/post/458518/
saved 2019-07-10 dotat.…

@frankel@mastodon.top
2026-03-18 09:18:49

#Python #Type Checker Comparison: Typing #Spec Conformance

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

@mgorny@social.treehouse.systems
2026-03-24 14:29:27

#Python is just doing great. We're not having impossible constraints, as some projects need old #setuptools for pkg_resources, and other projects are starting to require newer setuptools for some fancy new features. And ofc after promising to release pkg_resources standalone over a month ago, setuptools upstream didn't deliver.
#Gentoo

@hynek@mastodon.social
2026-03-19 14:39:53

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! 💛
github.…

@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

@qbi@freie-re.de
2026-03-15 09:08:43

Thonny, Python IDE for beginners
#IDEsofMarch #python

@gray17@mastodon.social
2026-02-24 00:30:19

finally got around to "move my archive of scanned documents out of google drive" with the help of a lovely program "ocrmypdf", which is basically a python wrapper around tesseract and various pdf tools, but it's a really well done wrapper.
the simple invocation:
`ocrmypdf input.pdf output.pdf`
does what I want. the defaults are sensible. and now I can pdfgrep when I need to find that thing from 20 years ago that I still have for questionable "I do…

@roland@devdilettante.com
2026-03-24 15:47:46

Remember 2013 when i wrote ruby scripts, github.com/rtanglao/momogs , that used the get satisfaction API to report on Mozilla Thunderbird Desktop SUMO metrics? Neither do I :-) but i'm cooking up something better in python! hooray for "free compute" and i wish ruby was as popular as p…

@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
@joe@toot.works
2026-01-13 16:57:16

Only $1.5mil?
#Python #Anthropic

@datascience@genomic.social
2026-01-23 11:00:01

Beautiful palettes based on art for R and python: #rstats #ggplot

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

#Steady #Klimacrew
#BahnMonitor-Projekt: 5. Automatisierte Skripte brauchen Kontrolle – besonders bei API-Aufrufen.
Jetzt bekommt das

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

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

@floheinstein@chaos.social
2026-03-19 13:52:17

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:

Danny Glover saying "I'm too old for this shit."
@rasterweb@mastodon.social
2026-02-24 11:47:46

So last week I asked people to share their blog URLs, and I got a whole bunch of them! And I’ve been trying to go through them, and some go back to 2015… So there’s a lot to do. I did find a really interesting one about GPX files and Python, but it uses Google maps, and I’m not sure I want to do that since I prefer OpenStreetMap. Nice to find interesting gems though, in the 1,500 (gulp!) blog posts I’m going through.

@cyrevolt@mastodon.social
2026-01-22 08:52:46

If you mirror uv (the Python tool), you get uwu.

@netzschleuder@social.skewed.de
2026-03-22 04: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
@publicvoit@graz.social
2026-03-22 10:48:53

#MyDeepGuide with some #privacy network tests on #epaper devices. He developed a test method and an interesting Python analysis/report workflow that is supposed to be published. 👍
First run:

@dawid@social.craftknight.com
2026-03-18 09:03:27

Moje 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

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

@heiseonline@social.heise.de
2026-03-19 19:48:00

Integration in Codex: OpenAI übernimmt das Start-up Astral
OpenAI baut mit der Übernahme des Python-Tool-Entwicklers Astral das Engagement im Bereich Coding weiter aus und will seine Codex-Plattform weiterentwickeln.

@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

@rocksongoftheweek@mastodon.world
2026-02-20 09:10:14

We go back to the 60s this week for a bit of bluesy rock as our spotlight falls on a track from Python Lee Jackson.
As always we invite you to give it a listen and see what we had to say about the track and the band behind it.
Don't forget to follow us for more from our weekly showcase, exploring great tracks from across the universe of #rock and

@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

@arXiv_nlinPS_bot@mastoxiv.page
2026-02-24 17:21:34

Replaced article(s) found for nlin.PS. arxiv.org/list/nlin.PS/new
[1/1]:
- sangkuriang: A pseudo-spectral Python library for Korteweg-de Vries soliton simulation
Dasapta E. Irawan, Sandy H. S. Herho, Faruq Khadami, Iwan P. Anwar
arxiv.org/abs/2601.12029 mastoxiv.page/@arXiv_nlinPS_bo
- Piecewise integrability of the discrete Hasimoto map for analytic prediction and design of helica...
Yiquan Wang
arxiv.org/abs/2602.16255 mastoxiv.page/@arXiv_qbioBM_bo
toXiv_bot_toot

@kurtsh@mastodon.social
2026-03-21 22:40:52

Very smart of Pantages Theater in Hollywood advertising with the RenFair in Los Angeles. I bought tix immediately. 😁
✅ Monty Python's Spamalot - Mar 24-Apr 12, 2026 - Pantages Theater, Hollywood
broadwayinhollywood.com/events

@seeingwithsound@mas.to
2026-02-17 17:27:55

Blindsight Simulator github.com/Satoshi88818/Blinds Stand-alone python script by James Squire to simulate visual experience through cortical and retinal visual prostheses a la Cortigent Orion or Neuralink Blindsight;

Screenshot using "python blindsight.py --grid_size 48 --patient_profile early_cortical_orion_like"
@Techmeme@techhub.social
2026-03-19 13:15:44

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)
bloomberg.com/news/articles/20

@guerda@ruhr.social
2026-02-17 17:57:19

If you create visualizations with #Python, what would be your 2026 choice?
I recently learnt that #seaborn which I liked hasn't had a release over a year (which is not necessarily bad, but their move to an object interface was not nearly completed and now it's stuck).
Let me know your fav…

@UlrikeHeiss@eldritch.cafe
2026-03-15 09:23:25
Content warning: CN Schlange

Ausbeute eines wundervollen Ausflugs ins Naturkundemuseum Karlsruhe:
Die Python widme ich aus Gründen @…. Das Buch "Die Frau als Mensch" von @… lag dort im Museumsshop aus und ich habe es mir gleich gekauft - weil ich …

Blick in ein Terrarium. Ein großes Stück trockenes Wurzelholz liegt in rötlichem Sand, im Hintergrund felsartige Steine. Aus einer Lücke im Holz ist ein Abschnitt des Körpers einer Python zu sehen, die sich darunter zusammengerollt hat. Ihre Grundfarbe ist hell mit grau-braunen Schuppen.
Buchcover von "Die Frau als Mensch". Auf hellgrauem Grund, der eine vereiste Landschaft darstellt, sind zwei Frauen abgebildet, die eine Höhle erkunden, die wie eine Vulva geformt ist. Eine Frau hat ein Baby auf den Rücken gebunden. Ihre Kleidung wirkt urzeitlich.
Beschriftung an Toilettentür: Damen / Divers
Femmes / unisexe
Women / all gender
Beschriftung an Toilettentür:
Herren / Divers
Hommes / unisexe
Men / all gender
@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-02-22 15:44:22

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

@kexpmusicbot@mastodonapp.uk
2025-12-26 02:28:52

🇺🇦 #NowPlaying on KEXP's #VarietyMix
Monty Python:
🎵 Christmas in Heaven
#MontyPython
#Christmas)

@paulusm@scholar.social
2026-02-20 20:13:28

Downloading all my old Gmail attachments using this great Python script tool
github.com/mjseeley/Gmail-Atta
Finding some great old photos, but also realising how much digital crap we collect!

@adlerweb@social.adlerweb.info
2026-03-19 15:49:01

#Astral, die Firma hinter Python-Tools wie uv und ruff, wurde an #OpenAI abgegeben
astral.sh/blog/openai

@philip@mastodon.mallegolhansen.com
2026-03-19 16:43:07

@… I mean, the python ecosystem was around long before uv.
Which aspects are you trying to replace?
Pip can still download packages, venv can still create virtual envs. It’s just not as neatly tied up into a package to use.

@tomkalei@machteburch.social
2026-02-26 10:35:41

Ich war ja bis ca. 2013 Entwickler bei :gentoo: und damals war das alles noch nicht so verfahren, obwohl der Mist bei python schon anfing.
Wo hat sich das Linux Ökosystem denn da reinmanövriert?
Selbst homebrew auf dem Mac macht das noch viel besser. Das kann man wiederum auch unter Linux nutzen, aber dann ist man ja auch schon wieder in diesem xkcd mit den Standards.
Es gibt 5 Paketmanager? Warum nicht einen?? 🔜 Es gibt 6 Paketmanager????

@datascience@genomic.social
2026-01-19 11:00:01

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

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

@tinoeberl@mastodon.online
2026-03-17 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…

@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

@hanno@mastodon.social
2026-01-15 10:53:04

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.
cryptography.io/en/latest/stat

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

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

@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

@hynek@mastodon.social
2026-03-19 15:34:36

And while we're releasing, here's a double-feature, mostly to avoid GitHub Actions complaining about deprecated actions:
- github.com/hynek/build-and-ins
-

@tinoeberl@mastodon.online
2026-03-16 06:07:12

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

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

@hynek@mastodon.social
2026-03-19 15:30:30

And while we're releasing, here's a double-feature, mostly to avoid GitHub Actions complaining about deprecated actions:
- github.com/hynek/build-and-ins
-

@netzschleuder@social.skewed.de
2026-03-17 17: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
@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

@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

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

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

@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

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

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

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

@hynek@mastodon.social
2026-03-14 13:05:12

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

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

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

@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
@veit@mastodon.social
2026-03-19 14:14:15

OpenAI will acquire Astral and integrate its tools into the Codex ecosystem. Perhaps it’s time for forks: #OpenAI

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

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

@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

@hynek@mastodon.social
2026-03-19 17:53:32

since I see a lot of gloom re Astral x OpenAI:
⁃ Even if Astral actively (malice) or passively (neglect) ruins uv, Python packaging is 1000x better today than 2 yrs ago.
⁃ Ruff is nice but only nice to have—ty is barely usable. We'll be fine if they vanish today.
⁃ Channelling Buddhism: it’s OK when things change or go away! Expecting things to last forever is an unnecessary source of suffering. But, worst case is that we get the community-maintained pkg mgr you always w…

@rasterweb@mastodon.social
2026-03-16 02:43:02

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 …

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

#Steady-#Klimacrew
#Datenanalyse von #Stromspeicher​n: Wieso wirken manche #Diagramme

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

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

@mgorny@social.treehouse.systems
2026-03-23 04:40:50

There's a new piece explaining "The Slow Collapse of #MkDocs": "How personality clashes, an absent founder, and a controversial redesign fractured one of Python's most popular projects."
#httpx?
Well, turns out no, not at all. It looks like encode has already crumbled and became immensely toxic.
httpx is not allowing bug reports anymore, apparently because of "absurdly skewed gender representation", whatever that means.
#OpenSource.
#FreeSoftware #Python

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

@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