Tootfinder

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

@heiseonline@social.heise.de
2025-06-06 11:33:00

heise | Python-Grundlagen: Wie Sie for-Schleifen richtig einsetzen
for-Schleifen gehören zu den grundlegenden Konzepten in der Programmierung. Richtig eingesetzt sparen sie sehr viele Codezeilen.

@rasterweb@mastodon.social
2025-06-05 15:33:07

Okay, spent a little time with Python's Matplotlib to get this graph of miles biked so far this year...
At some point I should be able to pull the data from Run Gap's SQLite database to automate this more, and get more granular.
I still need to figure out how to space the bars and some other formatting stuff but it's a good start!
#python

A bar graph showing miles I've ridden my bike this year (by month).
@mgorny@pol.social
2025-07-05 15:31:38

Jakiś czas temu, zainspirowany #Fedorą, wyodrębniłem paczki .whl z Pythonowego ensurepip w #Gentoo (właśnie sprawdziłem — "jakiś czas" to 3 lata). Umożliwiło to nam aktualizowanie ich razem z paczkami pip i setuptools, dzięki czemu nowe środowiska wirtualne otrzymują najnowszą dostępną wersję, a …

@JGraber@mastodon.social
2025-06-06 05:56:19

#Python Friday #282: Working With Temporary Files
pythonfriday.dev/2025/06/282-w

@arXiv_csSE_bot@mastoxiv.page
2025-06-05 07:23:54

VisCoder: Fine-Tuning LLMs for Executable Python Visualization Code Generation
Yuansheng Ni, Ping Nie, Kai Zou, Xiang Yue, Wenhu Chen
arxiv.org/abs/2506.03930

@arXiv_csNE_bot@mastoxiv.page
2025-06-05 07:20:03

IntLevPy: A Python library to classify and model intermittent and L\'evy processes
Shailendra Bhandari, Pedro Lencastre, Sergiy Denysov, Yurii Bystryk, Pedro G. Lind
arxiv.org/abs/2506.03729

@mgorny@social.treehouse.systems
2025-06-29 16:44:37

So #Gentoo #Python eclasses are pretty modern, in the sense that they tend to follow the best practices and standards, and eventually deal with deprecations. Nevertheless, they have a long history and carry quite some historical burden, particularly regarding to naming.
The key point is that the eclasses were conceived as a replacement for the old eclasses: "distutils" and "python". Hence, much like we revision ebuilds, I've named the matching eclasses "distutils-r1" and "python-r1". For consistency, I've also used the "-r1" suffix for the remaining eclasses introduced at the time: "python-any-r1", "python-single-r1" and "python-utils-r1" — even though there were never "r0"s.
It didn't take long to realize my first mistake. I've made the multi-impl eclass effectively the "main" eclass, probably largely inspired by the previous Gentoo recommendations. However, in the end I've found out that for the most use cases (i.e. where "distutils-r1" is not involved), there is no real need for multi-impl, and it makes things much harder. So if I were naming them today, I would have named it "python-multi", to indicate the specific use case — and either avoid designating a default at all, or made "python-single" the default.
What aged even worse is the "distutils-r1" eclass. Admittedly, back when it was conceived, distutils was still largely a thing — and there were people (like me) who avoided unnecessary dependency on setuptools. Of course, nowadays it has been entirely devoured by setuptools, and with #PEP517 even "setuptools" wouldn't be a good name anymore. Nowadays, people are getting confused why they are supposed to use "distutils-r1" for, say, Hatchling.
Admittedly, this is something I could have done differently — PEP517 support was a major migration, and involved an explicit switch. Instead of adding DISTUTILS_USE_PEP517 (what a self-contradictory name) variable, I could have forked the eclass. Why didn't I do that? Because there used to be a lot of code shared between the two paths. Of course, over time they diverged more, and eventually I've dropped the legacy support — but the opportunity to rename was lost.
In fact, as a semi-related fact, I've recognized another design problem with the eclass earlier — I should have gone for two eclasses rather than one: a "python-phase" eclass with generic sub-phase support, and a "distutils" (or later "python-pep517") implementing default sub-phases for the common backends. And again, this is precisely how I could have solved the code reuse problem when I introduced PEP517 support.
But then, I didn't anticipate how the eclasses would end up looking like in the end — and I can't really predict what new challenges the Python ecosystem is going to bring us. And I think it's too late to rename or split stuff — too much busywork on everyone.

‪@todbot@mastodon.social‬
2025-07-05 19:12:37

I wrote a little tool to show what "board.*" defines for a #CircuitPython build. I got tired for always trawling through ports/*/boards for it. It's called "cirpy-showpins" and its output looks like the below. I used #Perl originally but here's it in Python:

@todbot@mastodon.social
2025-07-05 19:12:37

I wrote a little tool to show what "board.*" defines for a #CircuitPython build. I got tired for always trawling through ports/*/boards for it. It's called "cirpy-showpins" and its output looks like the below. I used #Perl originally but here's it in Python:

screenshot of terminal run of circpy-showpins with the output from three different boards
@dingsextrem@mas.to
2025-06-05 10:50:27

#Ukraine #Putin #MontyPython

"They are the same picture" meme, two panels

top panel, someone showing a picture of Putin in front of a russian flag and a picture of the 'black knight' from Monty python, all his limbs chopped off.
Caption: "Corporate needs you to tell the differences between this picture and this picture"

Below, a woman replies: "They're the same picture"
@veit@mastodon.social
2025-05-06 09:21:14

Mein Vortrag für die Tübix wurde angenommen:
Wie uns LLMs beim Programmieren helfen
#LLM

@deprogrammaticaipsum@mas.to
2025-07-06 08:40:13

"Professor Cain uses various programming languages to explain these concepts: he starts with C (roughly from the second lecture to the 8th), then Assembly (lectures 9 to 11), C (lectures 12 to 18), Scheme (lectures 19 to 23), and Python (from 24 to 26). The last lecture (27) dives into some other functional programming languages like ML, Miranda, and even Haskell, as well as some advanced type design concepts, to round up your general programming knowledge."

@arXiv_mathMG_bot@mastoxiv.page
2025-06-06 09:42:56

This arxiv.org/abs/2505.22652 has been replaced.
initial toot: mastoxiv.page/@arXiv_mat…

@fanf@mendeddrum.org
2025-06-03 08:42:03

from my link log —
The first year of free-threaded Python.
labs.quansight.org/blog/free-t
saved 2025-05-14

@theodric@social.linux.pizza
2025-07-06 13:28:21

Most crossplatformy way to create the random fortune-motd file seems to be to use fuse to create the special file and just symlink it to /etc/motd. 66 lines of Python, and ta-daaa:

catting motd and having it return random zippy fortunes
@arXiv_astrophIM_bot@mastoxiv.page
2025-07-04 09:20:01

exoatlas: friendly Python code for exoplanet populations
Zach K. Berta-Thompson, Patcharapol Wachiraphan, Autumn Stephens, Mirielle Caradonna, Catriona Murray, Valerie Arriero, Jackson Avery, Girish M. Duvvuri, Sebastian Pineda
arxiv.org/abs/2507.02210

@datascience@genomic.social
2025-06-03 10:00:01

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

@simon_brooke@mastodon.scot
2025-06-04 08:11:54

I've been asked to run an AI text summariser over a bunch of survey responses. I'm skeptical anyway, so probably approaching the task with a bad attitude, but none of the open source AI text summarisers I've tried so far actually run at all, due to the usual Python bit-rot and lack of stable libraries.
Tried AI-News-Summariser, sumeval, ParaSum, SummerTime... currently trying Transformers, but it's taking an age to install.
Can anyone suggest one which at least ru…

@arXiv_astrophHE_bot@mastoxiv.page
2025-06-06 09:49:47

This arxiv.org/abs/2502.00278 has been replaced.
initial toot: mastoxiv.page/@arXiv_…

@arXiv_csSE_bot@mastoxiv.page
2025-07-04 09:09:31

Precisely Detecting Python Type Errors via LLM-based Unit Test Generation
Chen Yang, Ziqi Wang, Yanjie Jiang, Lin Yang, Yuteng Zheng, Jianyi Zhou, Junjie Chen
arxiv.org/abs/2507.02318

@unixorn@hachyderm.io
2025-07-02 14:16:49

Released v0.20.0 of the ha-mqtt-discoverable python module.
This is a pure-python library for creating #MQTT entities that will be automatically detected by #HomeAssistant
Added a 'set_blob' method to the Image class to allow publication of images directly from code. HA will take base64 encoded images directly via MQTT
Details at github.com/unixorn/ha-mqtt-dis
@…

@arXiv_csAR_bot@mastoxiv.page
2025-06-06 07:15:26

hdl2v: A Code Translation Dataset for Enhanced LLM Verilog Generation
Charles Hong, Brendan Roberts, Huijae An, Alex Um, Advay Ratan, Yakun Sophia Shao
arxiv.org/abs/2506.04544

@mgorny@social.treehouse.systems
2025-07-01 16:20:14

One of the goals I've set for further development of #Python eclasses in #Gentoo was to avoid needless complexity. Unfortunately, the subject matter sometimes requires them. However, many of the functions added lately were already manually done in ebuilds for years.
We've started disabling plugin autoloading years ago. First we just did that for individual packages that caused issues. Then, for these where tests ended up being really slow. Finally, pretty much anywhere `python_test()` was declared. Doing it all manually was particularly cumbersome — all I needed for `EPYTEST_PLUGINS` is a good idea how to generalize it.
Similarly, `EPYTEST_XDIST` was added after we have been adding manually `epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal` — and while at it, I've added `EPYTEST_JOBS` to override the job count.
Perhaps `EPYTEST_TIMEOUT` wasn't that common. However, it was meant to help CI systems that could otherwise get stuck on hanging test.
Similarly, "standard library" version (like `3.9`) matching to `python_gen_cond_dep` was added after a long period of explicitly stating `python3_9 pypy3`. As an extra benefit, this also resolved the problem that at the time `pypy3` could mean different Python versions.

@netzschleuder@social.skewed.de
2025-06-16 02: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
@samerfarha@mastodon.social
2025-06-04 15:28:50

Lazy internet: Does anyone know of a Python (or other if it’s easy enough to configure) filtering RSS proxy? Instead of pointing my feed reader to example.com/rss, I’d point it at my server which would get that feed, filtering out things I don’t want to see.

@heiseonline@social.heise.de
2025-07-02 14:08:00

heise | Schneller zum Arzt: Doctolib-Chatbot für frühere Termine einrichten
Abspringende Patienten sorgen bei Doctolib regelmäßig für Terminlücken. Mit Python und Telegram können Sie einen Chatbot erstellen, der freie Termine meldet.

@hynek@mastodon.social
2025-06-03 05:11:59

I'm happy to announce structlog 25.4.0 that adds support for exception groups but more importantly fixes an incompatibility with the upcoming Python 3.13.4
github.com/hynek/structlog/rel

@candide@vis.social
2025-06-04 09:37:40

5. Another very minor thing: there's no way of rebuilding your existing Spoti-Tidal-Apple playlists to Navidrome (using your library's existing files) or transferring your iTunes listen counts out of the box. I *was* able to find a nice Python script thing for the playlists, but I had to transfer my Tidal playlists to Spotify first:

@frankel@mastodon.top
2025-06-03 16:06:02

Pyrefly vs. ty: Comparing Python’s Two New Rust-Based Type Checkers
#types

@arXiv_mathOC_bot@mastoxiv.page
2025-07-01 11:28:13

AutoLyap: A Python package for computer-assisted Lyapunov analyses for first-order methods
Manu Upadhyaya, Adrien B. Taylor, Sebastian Banert, Pontus Giselsson
arxiv.org/abs/2506.24076

@fanf@mendeddrum.org
2025-05-29 08:42:12

from my link log —
Sneak peek: A new ASN.1 API for Python.
blog.trailofbits.com/2025/04/1
saved 2025-04-18

@arXiv_csRO_bot@mastoxiv.page
2025-06-30 09:02:50

Ark: An Open-source Python-based Framework for Robot Learning
Magnus Dierking, Christopher E. Mower, Sarthak Das, Huang Helong, Jiacheng Qiu, Cody Reading, Wei Chen, Huidong Liang, Huang Guowei, Jan Peters, Quan Xingyue, Jun Wang, Haitham Bou-Ammar
arxiv.org/abs/2506.21628

@Gord1i@fosstodon.org
2025-07-01 19:11:52

It's a small thing, the syntactic sugar of using `/` to concatenate paths and strings is reason enough to use pathlib. And then you find out about all the built in methods...
mastodon.social/@treyhunner/11

@fortune@social.linux.pizza
2025-07-02 20:00:02

Mate, this parrot wouldn't VOOM if you put four million volts through it!
-- Monty Python

@toussi@social.linux.pizza
2025-04-30 05:37:54

hackster.io/news/pyxl-promises

@arXiv_csCR_bot@mastoxiv.page
2025-06-04 07:22:23

Improving LLM Agents with Reinforcement Learning on Cryptographic CTF Challenges
Lajos Muzsai, David Imolai, Andr\'as Luk\'acs
arxiv.org/abs/2506.02048

@JGraber@mastodon.social
2025-05-02 17:54:44

#Python Friday #277: Access Local #LLMs Through LM Studio
pythonfriday.dev/2025/05/277-a

@arXiv_csDC_bot@mastoxiv.page
2025-06-04 07:24:48

eACGM: Non-instrumented Performance Tracing and Anomaly Detection towards Machine Learning Systems
Ruilin Xu, Zongxuan Xie, Pengfei Chen
arxiv.org/abs/2506.02007

@heiseonline@social.heise.de
2025-06-23 10:20:00

heise | Reddit-Crawler für Aktien in Python bauen: So geht es Schritt für Schritt
Reddits r/wallstreetbets ist ein riesiges Forum für Börsenwetten. Welche Aktien die Mitglieder diskutieren, verrät ein Python-Crawler, den wir hier erstellen.

@adulau@infosec.exchange
2025-07-01 09:46:49

The Python-based data-exfiltration utility used by the Cl0p ransomware group (commonly distributed as part of the toolset during the 2023 – 2024 MoveIt campaigns) constructs operating-system commands by directly concatenating attacker-supplied strings without input sanitization. An authenticated endpoint on the Cl0p operators’ staging/collection host passes file-or directory-names received from compromised machines straight into a shell-escape sequence. No official patch or cooperation from …

@arXiv_csLG_bot@mastoxiv.page
2025-07-03 13:59:50

Replaced article(s) found for cs.LG. arxiv.org/list/cs.LG/new
[2/5]:
- optimizn: a Python Library for Developing Customized Optimization Algorithms
Akshay Sathiya, Rohit Pandey

@guerda@ruhr.social
2025-05-30 14:31:13

Kennt jemand gute Video-Kurse /#eLearning / #mmoc für Datenanalyse mit #Python? Am Besten für Programmieranfänger*innen und auf Deutsch.
Googlen kann ich selbst, Erfahrungen wären super.
:boost_ok:

@dingsextrem@mas.to
2025-06-04 10:57:18

"Ich spuke dir ins Auge und blende dich!"
#ukraine #russia #MontyPython

Satellite image of a totally  burned russian bomber
the "black knight" from monty python, all limbs chopped off
@arXiv_physicsmedph_bot@mastoxiv.page
2025-06-06 09:53:24

This arxiv.org/abs/2501.07973 has been replaced.
initial toot: mastoxiv.page/@arX…

@arXiv_csSE_bot@mastoxiv.page
2025-07-03 08:17:30

Bugs in the Shadows: Static Detection of Faulty Python Refactorings
Jonhnanthan Oliveira, Rohit Gheyi, M\'arcio Ribeiro, Alessandro Garcia
arxiv.org/abs/2507.01103

@dennisfaucher@infosec.exchange
2025-05-19 18:08:41

TIL: #UV
#Python

@hanno@mastodon.social
2025-06-08 09:22:05

In case anyone here has connections with the Python team: can you please tell them to update their docs on XML security? The way it is is quite misleading, and it's been annoying me for a while. I raised this a while ago in their issue tracker, but it got no reaction whatsoever. github.com/python/cpython/issu

@simon_lucy@mastodon.social
2025-05-28 12:18:54

Not upgrading all the SQS code using boto.sqs.Message to boto3 has finally bitten me on the ass as boto just doesn't work on Python 3.12 which is what I'm moving to.
And I'm moving it because 3.7 has become the 2.7 of Python 3. Whilst I originally targeted 3.9 that is slipping away too.
There is a lot of SQS going on, not just pipelining but logging. The logging is kind of Schroedinger logging as I don't bother with it unless I need to.

@arXiv_physicsaccph_bot@mastoxiv.page
2025-06-05 07:32:24

Geoff: The Generic Optimization Framework & Frontend for Particle Accelerator Controls
Penelope Madysa, Sabrina Appel, Verena Kain, Michael Schenk
arxiv.org/abs/2506.03796

@cyrevolt@mastodon.social
2025-06-27 00:37:34

sad :3 github.com/qilingframework/qil
someone's gotta retry ^^

@arXiv_astrophCO_bot@mastoxiv.page
2025-06-04 13:44:43

This arxiv.org/abs/2404.07249 has been replaced.
initial toot: mastoxiv.page/@arXiv_…

@rasterweb@mastodon.social
2025-06-30 17:35:03

I still need to get around to automating this stuff a bit more, but for now I just type a few numbers each month for my biking stats...
#bikeTooter #python

A chart showing hours biked per month.
A chart showing miles biked per month.
@arXiv_physicsinsdet_bot@mastoxiv.page
2025-06-04 07:47:11

Classification of Hoyle State Decay Branches in Active Target Time Projection Chamber using Neural Network
Pralay Kumar Das, Nayana Majumdar, Supratik Mukhopadhyay
arxiv.org/abs/2506.02506

@arXiv_physicscompph_bot@mastoxiv.page
2025-06-26 08:50:50

Resolvent4py: a parallel Python package for analysis, model reduction and control of large-scale linear systems
Alberto Padovan, Vishal Anantharaman, Clarence W. Rowley, Blaine Vollmer, Tim Colonius, Daniel J. Bodony
arxiv.org/abs/2506.20539

@arXiv_quantph_bot@mastoxiv.page
2025-06-24 12:27:30

Finite-size security analysis for quantum protocols: A Python framework using the Entropy Accumulation Theorem with graphical interface
Piotr Mironowicz, Mohamed Bourennane
arxiv.org/abs/2506.18888

@arXiv_csSE_bot@mastoxiv.page
2025-06-03 07:49:02

SPAC: A Python Package for Spatial Single-Cell Analysis of Multiplex Imaging
Fang Liu, Rui He, Andrei Bombin, Ahmad B. Abdallah, Omar Eldaghar, Tommy R. Sheeley, Sam E. Ying, George Zaki
arxiv.org/abs/2506.01560

@frankel@mastodon.top
2025-05-31 16:05:00

Apache Fury (incubating)
#java #python

@Leon@liker.social
2025-05-24 18:06:42

blog.csdn.net/wuShiJingZuo/art

@kurtsh@mastodon.social
2025-06-29 19:36:41

🚚 Move your #Azure resources across subscriptions or resource groups—without downtime!
Use CLI, PowerShell, Python, or REST API to stay flexible and in control. ⚙️📦 Just update those resource IDs! #CloudManagement
Learn more:

@arXiv_statME_bot@mastoxiv.page
2025-06-25 09:05:20

gcor: A Python Implementation of Categorical Gini Correlation and Its Inference
Sameera Hewage
arxiv.org/abs/2506.19230

@arXiv_csSE_bot@mastoxiv.page
2025-07-03 08:43:20

Combining Type Inference and Automated Unit Test Generation for Python
Lukas Krodinger, Stephan Lukasczyk, Gordon Fraser
arxiv.org/abs/2507.01477

@mgorny@social.treehouse.systems
2025-07-05 15:24:22

A while ago, I've followed the example given by #Fedora and unbundled ensurepip wheels from #Python in #Gentoo (just checked — "a while ago" was 3 years ago). This had the important advantage that it enabled us to update these wheels along with the actual pip and setuptools packages, meaning new virtual environments would get fresh versions rather than whatever CPython happened to bundle at the time of release.
I had considered using our system packages to prepare these wheels, but since we were already unbundling dependencies back then, that couldn't work. So I just went with fetching upstream wheels from PyPI. Why not build them from source instead? Well, besides feeling unnecessary (it's not like the PyPI wheels are actually binary packages), we probably didn't have the right kind of eclass support for that at the time.
Inspired by @…, today I've tried preparing new revisions of ensurepip packages that actually do build everything from source. So what changed, and why should building from source matter now? Firstly, as part of the wheel reuse patches, we do have a reasonably clean architecture to grab the wheels created as part of the PEP517 build. Secondly, since we're unbundling dependencies from pip and setuptools, we're effectively testing different packages than these installed as ensurepip wheels — and so it would be meaningful to test both variants. Thirdly, building from source is going to make patching easier, and at the very least enable user patching.
While at it, I've refreshed the test suite runs in all three regular packages (pip, setuptools and wheel — we need an "ensurepip" wheel for the last because of test suites). And of course, I hit some test failures in testing the versions with bundled dependencies, and I've discovered a random bug in #PyPy.
github.com/gentoo/gentoo/pull/ (yes, we haven't moved yet)
github.com/pypy/pypy/issues/53

@jay@cuthrell.com
2025-06-24 19:07:55

Jumping between node (my blog) and python (frontmatter changes) today was fun but I made an oops with #activepieces 😂 which then required more python (bulk deletes) which then required making edits to mastodon/config/initializers
/rack_attack.rb
Sorry to those I spammed on the #Fediverse

Jay made an oops
@Techmeme@techhub.social
2025-06-24 13:50:48

Eventual, which develops Daft, a Python-native open-source data processing engine, raised a $7.5M seed led by CRV and a $20M Series A led by Felicis (Rebecca Szkutak/TechCrunch)
techcrunch.com/2025/06/24/how-

@nobodyinperson@fosstodon.org
2025-06-20 11:54:49

TIL that #Python's strptime can't handle unix timestamps, wtf... 😑
time.strptime("1750420325","%s")
ValueError: 's' is a bad directive
(Yes, I know there's datetime.fromtimestamp, but here I'd much prefer to keep everything with %Y %m %d et al. due to reasons)

@arXiv_csMA_bot@mastoxiv.page
2025-06-03 07:22:03

Sorrel: A simple and flexible framework for multi-agent reinforcement learning
Rebekah A. Gelp\'i, Yibing Ju, Ethan C. Jackson, Yikai Tang, Shon Verch, Claas Voelcker, William A. Cunningham
arxiv.org/abs/2506.00228

@jovian34@social.linux.pizza
2025-05-30 15:18:34

Switched my most updated #Django project to #uv this morning. I was using vanilla pip and venv and building #Python from source before.
—That was it? —
Seemed crazy too easy. It all just w…

@hynek@mastodon.social
2025-06-16 05:57:05

I've just tagged build-and-inspect-python-package 2.13.0 of my popular GitHub Action.
It now offers the package name as an output and uses it in the job summary which should be useful to people building multiple packages at once.
github.com/hynek/build-and-ins

@timbray@cosocial.ca
2025-06-22 03:34:26

AaŠaargh.
functional.cafe/@loke/11472478

@arXiv_csDB_bot@mastoxiv.page
2025-06-17 09:30:23

CPN-Py: A Python-Based Tool for Modeling and Analyzing Colored Petri Nets
Alessandro Berti, Wil M. P. van der Aalst
arxiv.org/abs/2506.12238

@arXiv_csNI_bot@mastoxiv.page
2025-07-02 13:11:23

Replaced article(s) found for cs.NI. arxiv.org/list/cs.NI/new
[1/1]:
- ECLYPSE: a Python Framework for Simulation and Emulation of the Cloud-Edge Continuum
Jacopo Massa, Valerio De Caro, Stefano Forti, Patrizio Dazzi, Davide Bacciu, Antonio Brogi

@arXiv_physicsoptics_bot@mastoxiv.page
2025-06-25 08:39:20

Numerical solution of the Lindblad master equation using the Runge-Kutta method implemented in Python
Leonardi Hern\'andez S\'anchez, Iv\'an Alejandro Bocanegra Garay, Ariel Flores Rosas, Ir\'an Ramos Prieto, Francisco Soto Eguibar, H\'ector Manuel Moya Cessa
arxiv.org/abs/2506.19238

@lightweight@mastodon.nzoss.nz
2025-06-26 01:04:35

'Beneath the surface of external dominance lies an “invisible” European strength: a long-standing presence in open-source software (OSS) and open standards that form the backbone of critical digital infrastructures. From Linux and Python to core internet protocols, Europe has made significant
contributions to open source initiatives.'
3/n

@davidaugust@mastodon.online
2025-06-26 00:17:02

Asked 5 different local AIs (not internet based nor connecting to the internet):
What is the average airspeed of a fully laden swallow?
And they attributed it to 3 novels: Alan Sillitoe's "The Lonely Voice"(which does not exist), Douglas Adams's "A Hitchhiker's Guide to the Galaxy," George Orwell's "Animal Farm" and also the correct answer, the movie Monty Python and the Holy Grail.
So as long as we're good with AI being 75%…

@unixorn@hachyderm.io
2025-06-01 15:21:55

Released 0.19.2 of ha-mqtt-discoverable.
This is a pure-python library for creating #MQTT entities that will be automatically detected by #HomeAssistant
github.com/unixorn/ha-mqtt-dis
Fixes Select behavior (Thanks mhentschke!)
@…

@arXiv_csDM_bot@mastoxiv.page
2025-07-02 07:56:20

Verification of Hamiltonian Path Conjecture (BHR Conjecture) for Integers up to p=31
Ranjan N Naik
arxiv.org/abs/2507.00059

@arXiv_csRO_bot@mastoxiv.page
2025-06-03 08:07:11

Learning with pyCub: A New Simulation and Exercise Framework for Humanoid Robotics
Lukas Rustler, Matej Hoffmann
arxiv.org/abs/2506.01756

@mgorny@pol.social
2025-05-28 13:02:40

Paczka Pythona, której nie idzie zainstalować na Pythonie 3.14, bo autor koniecznie musiał zaimplementować przetwarzanie AST na ponad 200 linii w `setup.py`? Dlaczego nie.
#Gentoo #Python #setuptools

@arXiv_mathOC_bot@mastoxiv.page
2025-07-03 13:24:27

Replaced article(s) found for math.OC. arxiv.org/list/math.OC/new
[2/2]:
- optimizn: a Python Library for Developing Customized Optimization Algorithms
Akshay Sathiya, Rohit Pandey

@mgorny@social.treehouse.systems
2025-06-06 05:13:54

New reason not to use #PythonPoetry just dropped: they reinvented "reproducible builds", poorly. The problem is, they missed the purpose of reproducible builds entirely and they use it for source distributions too, and when you don't use SOURCE_DATE_EPOCH, they force all files to epoch (as in timestamp 0) instead of leaving them alone.
Like, all source distributions created by Poetry and uploaded to #PyPI now have 1970 timestamps that, simply speaking, break stuff. The most absurd thing is that ZIP can't handle that timestamp, so they override it and use another date for wheels 🤦.
#Gentoo #PEP517

@JGraber@mastodon.social
2025-06-13 07:48:53

#Python Friday #283: Play Audio Files in Python
pythonfriday.dev/2025/06/283-p

@theodric@social.linux.pizza
2025-06-23 16:10:22

Having a bizarre Python performance issue:
same program running on three systems. On the system which has the best Python benchmark scores, it performs the worst. On the oldest system with the worst Python benchmark scores, it performs the best. The worst and best systems are both Ryzen 7 zen4 and zen3 running openSUSE TW; the middle child is a 2020 MacBook Air M1.
wtf?

@arXiv_mathMG_bot@mastoxiv.page
2025-05-29 07:26:19

PyRigi -- a general-purpose Python package for the rigidity and flexibility of bar-and-joint frameworks
Matteo Gallet, Georg Grasegger, Matthias Himmelmann, Jan Legersk\'y
arxiv.org/abs/2505.22652

@fanf@mendeddrum.org
2025-06-20 17:42:03

from my link log —
A Rust API inspired by Python, powered by Serde.
ohadravid.github.io/posts/2025
saved 2025-05-15

@veit@mastodon.social
2025-04-22 10:43:44

On the way to the PyConDE in Darmstadt. I look forward to hopefully see you soon.
@… #Python

@hynek@mastodon.social
2025-05-30 09:03:57

sweet setup.py you've got there for your pure-python project. i, too, am a big fan of the 1990s.

@JGraber@mastodon.social
2025-05-16 16:15:25

#Python Friday #279: Sentiment Analysis in Python - #ai
pythonfriday.dev/2025/05/279-s

@mgorny@social.treehouse.systems
2025-06-04 02:28:36

When you spend an hour backporting #CPython #security fixes to all versions of #Python #Gentoo, because there was no planned security release, and a few hours later you spend time again bumping to the unexpected security releases.
And then you are surprised why you didn't mask Python 3.8 yet, and repeat the same mistake.
Oh, and ofc update your CPython and PyPy (fixed PyPy only in Gentoo).

@arXiv_astrophIM_bot@mastoxiv.page
2025-06-24 10:35:50

TasVisAn and InsPy -- Python Packages for Triple-Axis Spectrometer Data Visualization, Analysis, Instrument Resolution Calculation, and Convolution
Guochu Deng
arxiv.org/abs/2506.18216

@arXiv_physicscompph_bot@mastoxiv.page
2025-07-03 08:57:40

An Algorithm for Automated Extraction of Resonance Parameters from the Stabilization Method
Johanna Langner, Anjan Sadhukhan, Jayanta K. Saha, Henryk A. Witek
arxiv.org/abs/2507.01382

@arXiv_csSE_bot@mastoxiv.page
2025-06-04 07:33:19

Poster: libdebug, Build Your Own Debugger for a Better (Hello) World
Gabriele Digregorio, Roberto Alessandro Bertolini, Francesco Panebianco, Mario Polino
arxiv.org/abs/2506.02667

@mgorny@pol.social
2025-06-22 15:03:56

Dzisiejsi programiści: "zgoda? po co nam zgoda, po prostu nadpiszemy ci wszystkie menadżery paczek Pythona — naszą paczką. Co może pójść nie tak?!"
A dowcip w tym taki, że ja nawet tego tak naprawdę nie zainstalowałem — tylko robiłem przypadkowe poprawki, i uruchomiłem testy w venvie.
github…

@JGraber@mastodon.social
2025-07-04 13:12:18

#Python Friday #286: Advanced Text-to-Speech With Coqui TTS - #ai #nlp

@mgorny@pol.social
2025-06-21 05:49:07

Osobiście, polecałbym trzymać się z daleka od "#Python Code Quality Authority". Projekty tej organizacji zostały właściwie przejęte przez wyjątkowo toksyczną osobę. #Ruff to dobra alternatywa, z bardzo przyjaznymi autorami.

@arXiv_csSE_bot@mastoxiv.page
2025-06-03 07:37:38

CODEMENV: Benchmarking Large Language Models on Code Migration
Keyuan Cheng, Xudong Shen, Yihao Yang, Tengyue Wang, Yang Cao, Muhammad Asif Ali, Hanbin Wang, Lijie Hu, Di Wang
arxiv.org/abs/2506.00894

@mgorny@social.treehouse.systems
2025-06-22 15:02:24

Modern programmers: "oh, let's hijack all #Python package managers in your bashrc without asking for consent, what could possibly go wrong."
And the best joke is, I didn't even really install the package — I was just making a random bugfix and running its test suite in a virtual environment.
#Gentoo #security

@JGraber@mastodon.social
2025-05-30 09:24:29

#Python Friday #281: Language Detection in Python - #ai #nlp

@mgorny@pol.social
2025-06-29 17:00:28

Biblioteki eclass związane z Pythonem w #Gentoo są całkiem aktualne. Stosują się do aktualnych zaleceń i standardów, i usuwają na bieżąco rzeczy przestarzałe. Niemniej, mają za sobą długą historię, i najlepiej chyba to widać po nazewnictwie.
Biblioteki te powstały w celu zastąpienia wcześniejszych "distutils" i "python". Dlatego też nazwałem je odpowiednio "distutils-r1&…

@arXiv_csSE_bot@mastoxiv.page
2025-06-18 08:59:19

Quality Assessment of Python Tests Generated by Large Language Models
Victor Alves, Carla Bezerra, Ivan Machado, Larissa Rocha, T\'assio Virg\'inio, Publio Silva
arxiv.org/abs/2506.14297