python

Back Open Paginator
19.11.2025 22:34
laravista (@laravista@mastodon.uno)

🔍 / #software / #tutorial / #python

Uploading Files Using FastAPI: A Complete Guide to Secure File Handling

#FastAPI has changed how developers build web APIs. It's fast, easy to use, and handles complex tasks like file uploads without the usual headaches. File uploading is crucial for modern web apps, but developers often mess it up. They create security holes or build systems that frustrate users.

🐱🔗 laravista.altervista.org/CatLi

#catlink #softwaretutorial




Show Original Post


19.11.2025 22:26
AmenZwa (@AmenZwa@mathstodon.xyz)

"PGAS for Distributed Numerical Python, Targeting Multi-Core Clusters", Kristensen (2012)

It was inevitable that, eventually, #Python was going to squeeze and swallow the #PGAS SPMD parallel #programming model. Nothing is sacred anymore....

ieeexplore.ieee.org/document/6




Show Original Post


19.11.2025 22:17
CuratedHackerNews (@CuratedHackerNews@mastodon.social)

Show HN: Marimo VS Code extension – Python notebooks built on LSP and uv

github.com/marimo-team/marimo-




Show Original Post


19.11.2025 22:00
gtronix (@gtronix@infosec.exchange)

A decades-old threat command is making a comeback - so don't let the "finger" of doom affect you

A legacy network command resurfaces in malicious campaigns, exploiting users to execute hidden Python programs and steal data.

techradar.com/pro/a-decades-ol

#Python




Show Original Post


19.11.2025 21:48
sajal24x7 (@sajal24x7@mastodon.social)

The joy of coding

I wrote a solution to a python exercise today. With the University of Helsinki MooC, a fun thing that they do is they have an option to show model solution. I guess some LLM provides a solution for the exercise as well.

📖 Read more: sajalchoudhary.net/blog/the-jo




Show Original Post


19.11.2025 21:34
e_es (@e_es@chaos.social)

Sprache kann auch eingestellt werden: result = model.transcribe(audiofile, language="de")

#python




Show Original Post


19.11.2025 21:33
treyhunner (@treyhunner@mastodon.social)

What online communities would you most recommend?

For someone new to Python?

For someone using Python but not yet tapped into a community? (outside of their work place / friends)




Show Original Post


19.11.2025 21:22
astraluma (@astraluma@tacobelllabs.net)

After sitting on this a few days, I think the answer is creating a pipe, handing that to the process, and then shuffling the data in my test infra.

Thankfully, I wrote github.com/xonsh/slug/blob/79b a pile of years ago.

#Python #PyTest




Show Original Post


19.11.2025 21:18
ubernostrum (@ubernostrum@infosec.exchange)

Suppose you run your #Python web app with gunicorn. And for metrics, you run the Python Prometheus client in multiprocess mode, since you have multiple worker processes. And you set PROMETHEUS_MULTIPROC_DIR the way the docs tell you to.

Now, what's your favorite way to implement the other thing the docs tell you to do?

> This directory must be wiped between process/Gunicorn runs (before startup is recommended).

So. Do you wipe it only when gunicorn itself boots? Do you wipe it on every worker process start? Periodically via cron-type job? Something else?

Genuine question. Asking for a friend, and the friend happens to be me.




Show Original Post


19.11.2025 21:00
gtronix (@gtronix@infosec.exchange)

Blender 5.0 launches with ACES color, enhanced rendering, and tighter VFX integration

The free open-sourceBlenderproject has finally releasedversion 5.0with a wide set of updates across color, rendering, simulation, and geometry.

alternativeto.net/news/2025/11

#Python




Show Original Post


19.11.2025 20:55
zopyx (@zopyx@mastodon.world)

@hynek you did a great job for the #Python community and your YT contributions are always welcome and always of value - even for grumpy old Python guys like me...keep up the good work but never forget your work-life-balance




Show Original Post


19.11.2025 20:15
winslowjosiah (@winslowjosiah@hachyderm.io)

This is very much inspired by @xavdid 's own AoC blog, by the way. Check it out if you want to see some well-explained #Python solutions to #AdventOfCode ! advent-of-code.xavd.id/

I've been adapting my solutions to use (a modified form of) his solution template as well.




Show Original Post


1 ...961 962 963 964 965 966 967 968 969 970 971 ...1568
UP