python

Back Open Paginator
19.08.2025 17:00
pyconza (@pyconza@fosstodon.org)

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!
za.pycon.org/friends-of-pycon-

#FriendsOfPyConAfrica #Python #PyConAfrica #PyConZA





Show Original Post


19.08.2025 16:42
ivelasq3 (@ivelasq3@fosstodon.org)

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! posit.co/blog/setting-up-local





Show Original Post


19.08.2025 16:33
clonbg (@clonbg@masto.es)

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





Show Original Post


19.08.2025 16:20
AAKL (@AAKL@infosec.exchange)

This was posted yesterday.

PyPi Preventing Domain Resurrection Attacks blog.pypi.org/posts/2025-08-18 @pypi

More:

The Hacker News: PyPI Blocks 1,800 Expired-Domain Emails to Prevent Account Takeovers and Supply Chain Attacks thehackernews.com/2025/08/pypi @thehackernews #Python #cybersecurity #infosec




Show Original Post


19.08.2025 16:17
treyhunner (@treyhunner@mastodon.social)

If I turned pym.dev/format into a 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.




Show Original Post


19.08.2025 16:03
LabPlot (@LabPlot@floss.social)

@blindbunny

#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:
➡️ labplot.org/features




Show Original Post


19.08.2025 14:59
pythonrennes (@pythonrennes@social.breizhcamp.org)

un article intéressant, critique sur la syntaxe des compréhensions (de liste, mais valable pour les autres) en #Python : graic.net/p/left-to-right-prog

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() ...]")




Show Original Post


19.08.2025 14:52
hugovk (@hugovk@mastodon.social)

"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: rye.astral.sh/guide/uv/




Show Original Post


19.08.2025 14:40
geraldew (@geraldew@fosstodon.org)

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




Show Original Post


19.08.2025 14:39
geraldew (@geraldew@fosstodon.org)

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




Show Original Post


19.08.2025 14:00
zeitgeisty (@zeitgeisty@mastodon.social)

In there is more GitHub than .




Show Original Post


19.08.2025 12:59
justin (@justin@ramble.space)

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: github.com/andreafrancia/trash




Show Original Post


1 ...1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 ...1547
UP