Tootfinder

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

@netzschleuder@social.skewed.de
2025-12-06 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
@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.

@jamesthebard@social.linux.pizza
2025-12-07 18:18:30
Content warning: Advent of Code Solution - Day 7 (Nim)

I'm so glad I'm writing the solutions in both #nim and Python because I tend to find ways to improve the Python solution with the Nim one and vice versa. Today was one of those days. The biggest thing I learned though is that solving these damned puzzles exhausted will never lead to good things quality-wise.
Solution:

@ellie@ellieayla.net
2026-01-07 07:12:33

#python #pytest

@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
2025-12-03 05:05:25

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.
github.com/python/cpython/issu

@kubikpixel@chaos.social
2025-11-29 20:40:53

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:

@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

@ErikJonker@mastodon.social
2025-12-07 10:48:46

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

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

@netzschleuder@social.skewed.de
2025-12-04 20: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
@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 @…

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

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

@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

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

@elduvelle@neuromatch.social
2025-11-19 14:21:15

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:

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

#Steady
Wie kann man die tägliche #Solarstromproduktion automatisiert auf #Mastodon teilen?
Hier erfahrt Ihr, wie man mit Vibe Coding ein

@jamesthebard@social.linux.pizza
2025-12-07 08:41:50
Content warning: Advent of Code Solution - Day 7 (Python)

Once I pulled my head out of my ass this wasn't horrible. Part 1 was straightforward, decided to do some set stuff and managed to get it right the first time. Part 2 made my brain hurt a bit because all of the ideas that came to me were very, very slow and memory intensive. Then decided to scrap it and just do what the directions told me to do: count the paths...so I replaced the dumb with a dictionary which was so much better as an idea.
Solution:

@mgorny@social.treehouse.systems
2025-12-06 17:32:10

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.

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

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

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

@… FYI
285957 – lang/python312 as default python — <bugs.freebsd.org/bugzilla/show>
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…

@rasterweb@mastodon.social
2025-11-17 22:11:27

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

@trogluur@social.linux.pizza
2025-12-04 20:12:00

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

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

Only $1.5mil?
#Python #Anthropic

@theodric@social.linux.pizza
2026-02-04 16:41:48

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.

@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

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

@jamesthebard@social.linux.pizza
2025-12-04 18:45:52
Content warning: Advent of Code Solution - Day 4 (Nim)

Changed the code structure slightly from the Python solve, added the `itertools` package because I wanted `product`. Works perfectly and I'd argue slightly more readable than the Python version. Overall pretty satisfied with the solution.
Solution: git.jamesthebard…

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

@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

@elduvelle@neuromatch.social
2025-12-04 17:08:40

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

@frankel@mastodon.top
2025-12-21 09:30:04

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

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

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

@veit@mastodon.social
2025-11-21 13:00:17

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: meetup.com/python-users-berlin

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

@philip@mastodon.mallegolhansen.com
2025-11-19 22:55:05

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

@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

@LillyHerself@Mastodon.social
2025-11-29 22:04:55

RT: Tim Bouma 🚴🏻‍♂️
@trbouma Feb 18, 2024
"Typical deployment of a Python Docker container"

A video showing two interlocking keys, and the puzzle involved in taking them apart.
@nico@lepoulsdumonde.com
2026-01-01 18:20:01

RE: framapiaf.org/@newsycombinator
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 …

@jamesthebard@social.linux.pizza
2025-12-06 06:02:16
Content warning: Advent of Code Solution - Day 6 (Python)

This one was disturbingly easy for Part 1, then got more fun on Part 2. The name of the game is rotations, and rotating the input was the key to getting it done without too much bother.
Solution: git.jamesthebard.net/jweatherl

@whitequark@mastodon.social
2025-12-27 15:51:59

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

screenshot of test vectors output by a python process in terminal
@mcdanlj@social.makerforums.info
2025-11-29 13:47:30

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 …

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

@cwensel@fosstodon.org
2025-12-31 20:28:46

Notes on building Arcaneum via RDRs
chris.wensel.net/post/arcaneum

@underdarkGIS@fosstodon.org
2025-11-28 08:44:19

Wohoo, QGIS Arrow support has been merged: github.com/qgis/QGIS/pull/63749
Thanks @… & @…

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

@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

@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.
@peter_mcmahan@mas.to
2025-12-10 16:58:59

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…

A screenshot of a part of one row from `top` showing a julia process using 4388% CPU and 51% memory, with a running time of 3 weeks.
@datascience@genomic.social
2026-01-19 11:00:01

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

@veit@mastodon.social
2025-11-30 14:02:44

On the way to Cologne for an ‘Object orientation with Python’ workshop.
#Python #OO

@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…
@netzschleuder@social.skewed.de
2025-11-14 02: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
@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.
@todbot@mastodon.social
2025-11-27 01:01:15

Thank you! This makes using the Uno Q much less mucky masto.ai/@shawnhymel/115611570

@billbert@mastodon.social
2026-01-31 01:50:32

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

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

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

@jorgecandeias@mastodon.social
2025-12-27 01:32:54

He was so clueless and so computer-oriented that he thought pyongyang was some sort of weird python library.

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

When NOT to use #Pydantic
#python

@mgorny@social.treehouse.systems
2026-01-07 04:46:42

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

@fanf@mendeddrum.org
2025-11-16 21:42:02

from my link log —
dnstap-receiver: a dnstap streams receiver in Python.
github.com/dmachard/dnstap-rec
saved 2020-11-09

@jamesthebard@social.linux.pizza
2025-12-04 16:56:30
Content warning: Advent of Code Solution - Day 4 (Python)

I was worried that this would be pathfinding. Thankfully it was not pathfinding. Was definitely a fun problem, and I used more than a couple of comprehensions to get this done.
Solution: git.jamesthebard.net/jweatherl

@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
@grumpybozo@toad.social
2026-01-31 22:16:35

RE: mastodon.social/@jpmens/115991
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…

@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

@frankel@mastodon.top
2025-12-31 09:19:35

How #uv got so fast
#python

@jamesthebard@social.linux.pizza
2025-12-05 06:28:13
Content warning: Advent of Code Solution - Day 5 (Python)

I stayed up far too long tonight for this one, but it was fun. Saw that we were dealing with an absolute metric ton of ranges at the very beginning so my initial thought was to reduce/merge those ranges and that's what I spent most of my time on before even tackling part 1.
It paid off tremendously and made solving everything very, very easy. There's still the Nim version to write, but I'll handle that after I get some sleep.
Solution:

@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

@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

@mgorny@social.treehouse.systems
2025-11-29 10:11:58

#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

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

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

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

@elduvelle@neuromatch.social
2025-12-12 13:37:50

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 …

@mgorny@social.treehouse.systems
2026-01-07 03:55:58

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

@jamesthebard@social.linux.pizza
2025-12-03 15:38:46
Content warning: Advent of Code - Day 3 (Python)

Ooooo, I knew that my initial solution for Part 1 was going to get absolutely discarded for Part 2 (which inevitably came true). Lots of string sorting, grabbing an index, and a moving window to find the largest value.
Pretty proud of the solve, it's fast and it's all that janky.
Solution: <…

@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-29 17:48:33

When you notice twine uploading a 400M sdist for a tiny #Python package, you know something went wrong.

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

@jamesthebard@social.linux.pizza
2025-12-03 17:29:12
Content warning: Advent of Code - Day 3 (Nim)

The #nim solution looks very similar to the Python one, but that works out well enough as the method works great on both. Didn't check to see if Nim had a `for/else` construction, but a friend threatened me with death if I tried.
Solution:

@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

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

#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

@veit@mastodon.social
2025-11-29 11:53:20

Just spotted: ‘Why Python is the language of AI: insights from Guido van Rossum’: youtube.com/watch?v=QXE5rEVlu20
See also:

@jamesthebard@social.linux.pizza
2025-12-03 02:37:05
Content warning: Advent of Code - Day 1 (Nim)

Figured I'd give `nim` some love this #aoc along with Python. I'm rusty as hell, but I think the initial take looks pretty great. Easy enough to compile/run and fairly readable.
Solution for day 1:

@jamesthebard@social.linux.pizza
2025-12-03 05:29:04
Content warning: Advent of Code - Day 2 (Nim)

This solve felt more like #nim and less like me writing Python. More uses of `map` and `apply`, using `if/then` as a proper ternary, integer -> string conversions, etc. Also the `sugar` module makes me a happy person.
The day 2 solution in Nim:

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

@jamesthebard@social.linux.pizza
2025-12-01 17:14:25
Content warning: Advent of Code - Day 1

Not a bad start, part 2 kinda kicked my ass because reading is really, really hard. I made the assumption that there wouldn't be any spins greater than 99 which was a horrible, horrible assumption to make.
However, not too difficult overall, happy enough with the solve.
#adventOfCode

The simple solve for Day 1, will probably do what I usually do and pick a second language to try and go with as the AoC continues.  The code is written in Python using VCS as the IDE.
@mgorny@social.treehouse.systems
2025-12-20 07:40:05

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

@mgorny@social.treehouse.systems
2025-11-17 19:18:11

(Troll, but not really)
It's official: #CPython is planning to kill the #Gentoo WD40 profiles.
discuss.python.org/t/pre-pep-r

@jamesthebard@social.linux.pizza
2025-11-21 06:28:44

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

A view of the JSON schema for validating PF2E character information.