Tune in to our livestream for a fun-packed experience with an incredible guest lineup!
Michael Kennedy will be joining us as a special guest! More to come
Get a Free ticket and join the conversation!
https://za.pycon.org/friends-of-pycon-africa
#FriendsOfPyConAfrica #Python #PyConAfrica #PyConZA

ellmer (for #RStats) and chatlas (for #Python) integrate LLMs directly into your code. They also support local LLMs (like #Ollama) so you can run models on your own machine, in case you have sensitive data, a lack of API access, or cost restrictions.
Check out how here! https://posit.co/blog/setting-up-local-llms-for-r-and-python/

Minimizar al tray un programa hecho en PyQt5 https://myblog.clonbg.es/minimizar-al-tray-un-programa-hecho-en-pyqt5/ #Programación #PyQT #Python https://clonbg.es

This was posted yesterday.
PyPi Preventing Domain Resurrection Attacks https://blog.pypi.org/posts/2025-08-18-preventing-domain-resurrections/ @pypi
More:
The Hacker News: PyPI Blocks 1,800 Expired-Domain Emails to Prevent Account Takeovers and Supply Chain Attacks https://thehackernews.com/2025/08/pypi-blocks-1800-expired-domain-emails.html @thehackernews #Python #cybersecurity #infosec
If I turned https://pym.dev/format into a #Python command-line tool, what should the PyPI package name be?
So far I've thought of fguess and a BUNCH of other names that are already taken on PyPI.
#LabPlot isn't exactly an open-source #MATLAB, but it is a an open-source and cross-platform tool for visualizing and analyzing data.
It focuses on creating interactive scientific plots and offers features like curve fitting, Fourier and Hilbert transforms, data manipulation, and live data support.
Computing with e.g. #Python, #R, #Maxima is also possible with interactive notebooks available in LabPlot.
You can see a list of LabPlot features here:
➡️ https://labplot.org/features
un article intéressant, critique sur la syntaxe des compréhensions (de liste, mais valable pour les autres) en #Python : https://graic.net/p/left-to-right-programming
Nos #IDE nous assistent difficilement dans leur écriture, surtout lorsqu'on a des méthodes à appeler sur la variable d'itération de la compréhension, ou alors il faut faire des allers-retours entre le "moteur d'itération" ("for value in values") et l'utilisation de la variable d'itération pour créer les nouvelles valeurs ("[value.upper() ...]")
"Rye is no longer developed. We recommend that Rye users migrate to uv, the successor project from the same maintainers. uv is actively maintained and much more widely used, and it supports almost all of Rye's features (as well as several features not available in Rye)."
Migration guide: https://rye.astral.sh/guide/uv/
It proved to be just a matter of combining various "clever bits" already in other parts of the application.
The situation where I needed a tool to do this ... still exists but I have no recollection of which folders of files it was. I guess when I run into them again I'll have the tool ready to use.
I do like that I re-used existing smarts for "suitable match" detection, doing any/all of timestamp, name, size, content-hash. Thanks for Python letting tuples be dictionary keys.
#Python
Managed to achieve functionality of a new feature in Foldatry.
This scans two folder locations and for any files that suitably match, will rename those in the first folder to the same names as those in the second folder.
The main use case for this is when you copied a lot of files, then renamed them, and would now like the originating files renamed the same way.
Is now working in the dev branch, needs to be given stock logging and threading calls before merging to main.
#Programming #Python
In #MSNBC there is more GitHub than #python.
Instead of deleting files/folders irreversibly via `rm -rf`, I recommend using `trash` CLI #tools such as the one bundled with MacOS 15+.
Alternatively, the following cross-platform #Python tool can be easily installed via Pipx, APT, or your preferred package manager and is also handy to have installed on remote #Linux servers so you can recover trashed files you later realize you need: https://github.com/andreafrancia/trash-cli