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…
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.
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…
BREAKING: #CPython 3.13.10 and 3.14.1 changed the multiprocessing message format in patch release. As a result, programs using multiprocessing may break randomly if they are running while #Python is upgraded (i.e. need restarting).
But apparently it's not a big deal, since all the cool kids are running Python in containers, and nobody is using Python for system tools anymore. Everything has been RIIR-ed and Python is only omnipresent in some backwaters like #Gentoo.
https://github.com/python/cpython/issues/142206
Legacy Python Bootstrap Scripts Create Domain-Takeover Risk in Multiple PyPI Packages
Cybersecurity researchers have discovered vulnerable code in legacy Python packages that could potentially pave the way for a supply chain compromise on the Python Package Index (PyPI) via a domain takeover attack.
:python: https:/…
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
The current AI models let you easily experiment with application ideas like never before. For experimentation, quickly trying out ideas, they are great. That is something completely different from serious/professional use I am fully aware. Still your creativity is now the limit, not your knowledge of python, jscript etc and that is fascinating .
#AI
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 just found a Starter Pack called Women in #Python: https://fedidevs.com/s/NjY3/
Ceated by Python Core Developer @…
@…
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…
@…
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…
@… 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…
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:
https://blog.surya…
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 …
4 mois de #Python de manière intensive: mon retour sur le langage
https://mcorbin.fr/posts/2025-12-26-python-langage/
Any #Python newbies out there? (Or experts that need to teach Python)
Would you have a specific online tutorial to recommend for someone who wants to learn Python without any prior programming experience? One that also explains how to install it ?
I was thinking of something like this:
Worked on some more #Gentoo global #jobserver goodies today.
Firstly, Portage jobserver support patch: #PyTest jobs will also be counted towards total job count.
Again, it's not a perfect solution, but it works reasonably. The plugin still starts -n jobs as specified by the arguments, but it acquired job tokens prior to executing every test, therefore delaying actual testing until tokens are available. It doesn't seem to cause noticeable overhead either.
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.
@… FYI
285957 – lang/python312 as default python — <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285957>
292105 – lang…
Over Thanksgiving I’ve been using TypeScript more, after previous experience with Python typing. Some things are way better. Some are worse.
In Python, you can declare and initialize a field together:
self.foo: int = 5
In TS, you can do this in two ways. You can write in the class declaration
foo: number = 5;
but the expression is evaluated before the constructor(!). Or you can write
constructor(public foo: number)
but this only works if i…
Python Folks, in my old Perl days I used HTML::Template, is there something comparable (or better) for simple HTML generation with templates in the Python world?
#python #html #perl
I'm doing Advent of Code in Typst this year. I forgot to do it when AoC started so I had to do day 1-4 all today.
The scripting language in Typst has a Python / JavaScript -like feel to it, with iterators that work a lot like in Rust.
#adventofcode
The new BMS is in and things appear to be working. Given that my monitoring system for the old setup was 50% custom code, I'm very tempted to offload development to someone else for the new and switch everything to ESPHome rather than Python on a RPi.
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
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 !
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.
Hi #Linux team - any recommendations for a work desktop computer with the following requirements:
- can do basic research stuff (reading, writing) and also a little bit of basic data analysis (with python or Matlab)
- would run a distribution like #ZorinOS or Mint
- with a Max…
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.
https://
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…
#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…
I’m planning the 50th calendar week in Berlin: DevOps workshop during the day and meeting with friends and Christmas party with all Berlin Pythonistas in the evening: https://www.meetup.com/python-users-berlin-pub/events/311702582/
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)
My very first experience with Python was generating programmatic art using the Turtle module.
Don’t let anyone tell you coding is only for pros, it can be an incredibly fun and liberating experience.
#PythonIsForEveryone #Python
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
RT: Tim Bouma 🚴🏻♂️
@trbouma Feb 18, 2024
"Typical deployment of a Python Docker container"
RE: https://framapiaf.org/@newsycombinator/115821144818566451
Les vitesses d’exécution et l’espace pris par les variables et les fonctions de base de python. Je trouve que ça prend une place de dingue et que c’est super lent. Mais bon c’est pas pour …
i implemented Ascon-Hash256 in Amaranth! (as well as laid the groundwork for the rest of Ascon family functions, including Ascon-AEAD128)
it comes at 1268 LUTs for iCE40 in the "compact" configuration, processing an average of 5.3 bit/cycle. a little expensive, but modern and cheaper than many better known alternatives
In #FreeCAD, what can I do from the UI and from Python macros to cause all the topological naming links to be recreated in the current shape?
I have a Part Design Body that for which I can mark it to recalculate and then recalculate and it's fine, but if I modify a driving parameter trivially, including by an inconsequential .001mm, suddenly it tells me that I have an invalid edge …
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).
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
#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…
The state of programming in 2025. Anyways, off to write a CLAUDE•md…
I rewrote a data analysis pipeline, moving it from #python to #julialang . I am now in love with the threading support in Julia.
The task is very parallelizable but each thread needs random read access to a tens-of-GB dataset. In Python (with multiprocessing, shared stores, etc) data bookkeeping was a nightmar…
On the way to Cologne for an ‘Object orientation with Python’ workshop.
#Python #OO
@…
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…
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…
uv is amazing. Makes Python as easy to run as Rust.
I know we’ve all memorized the AMC Nicole Kidman monologue and the entirety of the movies Monty Python and the Holy Grail and The Rocky Horror Picture Show but how in the HELL are we making a meme out of
1/2
📋 #SkillSeekers - #Python tool automatically transforms documentation, #GitHub repos & PDFs into production-ready AI skills
He was so clueless and so computer-oriented that he thought pyongyang was some sort of weird python library.
Let's get this straight: it is entirely normal for a #OpenSource project to accumulate bug reports over time. They're not a thing to be ashamed of.
On the contrary, if you see a nontrivial project with a very small number of bug reports, it usually means one of the following:
a. you've hit a malicious fake,
b. the project is very young and it doesn't have many users (so it's likely buggy),
c. the project is actively shoving issues under the carpet.
None of that is a good sign. You don't want to use that (except for b., if you're ready to be the beta tester).
#FreeSoftware #Gentoo #GitHub #Python
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.
RE: https://mastodon.social/@jpmens/115991637684247459
I’m sure that it is great but I’m a bit amused by a complaint about indentation sensitivity being answered by a Python solution…
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…
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
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
#Python "do not pin your new dependencies to a version that's already obsolete by the time you release your package" challenge.
This one also has difficulty: impossible.
#packaging
#Steady
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 Notepad immer genügt, aber jetzt will ich endlich auf IDE umsteigen und auch mal einen integrierten Code-Assitenten…
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…
Between #Matlab and #Python, which one would you recommend to learn, for a student who wants to learn programming (from scratch) to do data analysis? And why?
I am conflicted because I think Matlab is maybe slightly more straightforward to learn, but Python should be more useful in the long …
How to absolutely *not* do #OpenSource: require people to commit to work on other issues with your project in order to file bugs. So, sorry, #Typer, I won't be filing bugs. You figure out how you messed up your release yourself.
Also, please don't use #FastAPI. They are clearly bothered by the fact that people dare use their projects and waste their precious time with support requests.
#Python #FreeSoftware #Gentoo
#Steady-#Klimacrew
#BahnMonitor-Projekt: 1. Wie kommt man an Live-Daten der Deutschen Bahn?
Im November konnte ich per Zufall mit einem
When you notice twine uploading a 400M sdist for a tiny #Python package, you know something went wrong.
With ty, Astral has released a fast Python type checker and language server (LSP): https://astral.sh/blog/ty
It can also be easily integrated into Visual Studio Code and other editors:
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
#Steady
Wie lassen sich #Wechselrichterdaten vom APsystems EZ1 lokal speichern?
Für statistische Auswertungen müssen alle Daten kontinuierlich gespeichert werden. Wie das mithilfe von #Python
Just spotted: ‘Why Python is the language of AI: insights from Guido van Rossum’: https://www.youtube.com/watch?v=QXE5rEVlu20
See also:
from my link log —
Python consumes a lot of memory; how to reduce the size of objects?
https://habr.com/en/post/458518/
saved 2019-07-10 https://dotat.…
0 days since random #Python project used `pytest.raises()` for warnings.
#pytest
(Troll, but not really)
It's official: #CPython is planning to kill the #Gentoo WD40 profiles.
https://discuss.python.org/t/pre-pep-rust-for-cpython/104906
The #Pathfinder2E character data structure is in progress, figured a good ol'-fashioned JSON schema would be the way to go. Still, progress continues.
#python #characterSheet