social.dk-libre.fr is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.
This server runs the snac software and there is no automatic sign-up process.
@SnoopJ And this is why it's important to use td.total_seconds() and not td.seconds
https://docs.python.org/3/library/datetime.html#datetime.timedelta.seconds
#Python
excuse me, what?
```
>>> td = timedelta(minutes=-5)
>>> td
datetime.timedelta(days=-1, seconds=86100)
>>> td.total_seconds()
-300.0
```
Working on #AdventOfCode. My plan was to solve each day in both #Python and #RustLang. I thought I would be further by now. Yes, my Python answer to day 1 solves both parts, but I'm trying to be exemplary: good names, docstrings, comments-where-needed, tests, project structure, all the things.
For some reason, #HelixEditor keeps complaining about the #LSP (using both #Pyrefly and #Ruff, as usual). I'm concerned I haven't set things up right somehow, but I don't yet see where I've gone wrong.
Once this is working, further days will be easy. At least ... I hope!
Jazzband, a PSF Fiscal Sponsoree, ensures the long-term maintenance of #Python projects after their original authors step away 🐍💻 By supporting cooperative coding, Jazzband keeps well-tested, well-documented projects alive. Donate today 💝
"Django 6.0 brings template partials, background tasks, Content Security Policy, and more"
"Template partials are now available, allowing projects to modularize templates using small, named fragments. Django6.0 introduces several notable features aimed at improving code modularity, security, and developer workflow."
Django 6.0 is out 🎉 and includes some exciting new features like CSP, Tasks, or Template Partials 🤩 Many thanks to all 174 people who made this possible 💚 #django #openSource #python
https://gist.github.com/felixxm/99501cdbf6ed5a69295b4cb3f8c21d80
https://discuss.python.org/t/python-3-14-1-is-now-available/105163
This is the first maintenance release of Python 3.14
Python 3.14.1 is the first maintenance release of 3.14, containing around 558 bugfixes, build improvements and documentation changes since 3.14.0.
@mdione @xssfox requirements.txt and rrequirements.txt are indeed blocked from #PyPI
https://github.com/pypi/warehouse/blob/4e7e68a8ce9c31f3b383e3d19487d40c0e261b2d/warehouse/migrations/versions/1e2ccd34f539_move_existing_blacklisted_projects_into_.py#L27-L28
#Python
Grab PyCharm Pro from JetBrains at 30% off before Dec 12 🐍💸
Help us reach our $100Kπ fundraiser goal by snagging this great deal- ALL proceeds go to the PSF! https://lp.jetbrains.com/support-python/
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.
"Django security releases issued: 5.2.9, 5.1.15, and 4.2.27"
https://www.djangoproject.com/weblog/2025/dec/02/security-releases/
* CVE-2025-13372: Potential SQL injection in FilteredRelation column aliases on PostgreSQL
* CVE-2025-64460: Potential denial-of-service vulnerability in XML serializer text extraction
Just released! 🚀🐍
Python 3.14.1
Waiting for the .1 to upgrade? This one's especially for you!
🥧 Deferred type annotation evaluation!
🥧 T-strings!
🥧 Zstandard!
🥧 Syntax highlighting in the REPL!
🥧 Colour in unittest, argparse, json and calendar CLIs!
🥧 UUID v6-8!
🥧 And much more!
https://discuss.python.org/t/python-3-14-1-is-now-available/105163
If #Python has made an impact in your life, we welcome you to join our year-end fundraiser, grounded in a message we truly believe in: Python is for Everyone.
Every donation counts, no matter the size. Your gifts ensure Python is free, forever, for everyone 💝 https://donate.python.org/
On this Giving Tuesday, the PSF is reflecting with gratitude on the global #Python community, built from the ground up by individuals- line by line, event by event, connection by connection. We are so incredibly grateful to be in community with each of you.
I'd be happy to work for cheap on any paid projects while I look for a job -- provided they fit my skillset. I'm great with Python and machine learning, I've worked on ML research and developed novel ML algorithms, and I also have tons of experience working with automated file transfers, databases, automated Excel reporting, and probably other things you may find useful. Just ask! I take pride in doing quality work, and I'm a really clever monkey. :)
#Jobs #MachineLearning #JobOpportunities #Python #ETL #ResearchJobs #AI #Algorithms #FediHire #FediHired #GetFediHired #GetFediBHired #GigWork
After thought (thought I didn’t plan to put into it), I don’t think "NULL coalescing" and "NULL chaining" needs to be built in to the #ProgrammingLanguage, and here’s why:
* If you’re getting just one thing, the getter can take an optional default result value. #Python works like this in `getattr`, `.get`, and things of that nature. Having an operator for this is fine, but it seems obvious you don’t **need** the language to do it for you.
* If you’re walking down a long uncertain chain, I have two arguments:
* Knowing the path that leads down into the object to the specific thing you want kinda sounds like an #Encapsulation violation. Why do you know so much about the internals of this object. If this deep property is important, maybe it’s part of the interface of the top-level thing. Maybe this is just bad design.
* Diving deeply involves lots of possibilities: possible defaults, actual methods of finding the named thing (allow inheritance? Is it an attribute? Is it an element of an array? Etc), did you want to just stop or raise an exception?Does saying what you want really come out to a simple, clean, understandable, one-line, expression?
Maybe I’m biased because I don’t have these operators in my day-to-day language; and also can’t remember hitting this situation. And I can certainly see such operators could be helpful. I’m not a language designer. But from my actual experience, in this case, the juice just isn’t worth the squeeze.
I am so excited for another #AdventOfCode (https://adventofcode.com/2025/). I never get tired of writing code to solve new and different problems. What an amazing amount of work Eric Wastl puts into this. What an amazing thing he creates … year after year after year.
Thank you, Eric!
This year my plan is to solve in both #Python and #Rust. I want to do them all (a tall order even though Eric is cutting back). i want my work to be exemplary: something others might learn from. I want to make sure I don’t short-change my other responsibilities by spending too much time on this. And I have one final issue: by the time evening roles around, I suck. I need to figure out what the best time of day is to squeeze this in!
Did you know the PSF Grants Program has awarded over $3M USD to the #Python community since 2015? Though the program is currently paused, its impact lives on- and your donations pave the way for its return.
Read stories from our grantees and donate today 👉 donate.python.org
@travisshears To be fair a whole bunch of standards and tools solved that, piece by piece, over the last 5-10 years. #Python packaging became good even before uv. The benefits of uv are that it's fast, and it combines the functionality of a bunch of other tools that came before it into one program.
@wakame I have been thinking about this more and more: make another #ansible frontend to accept a more #python like language. After https://en.osm.town/@mdione/115629737380378014 I started reading Ansible's code. Nothing is going to come out of it any time soon, tho :)
Ho, ça a l'air pas mal ce petit truc là #opensource #linux #python #engineering #Shaarli https://dryusdan.link/shaare/a9uQ4Q
how to audit for open services with iproute2 https://anarc.at/blog/2023-03-10-listening-processes/ #debian-planet #python-planet #sysadmin
As a kind of coding vacation, the last couple of days I spent time working on my programming language, #Mifflin, and I've gotten it to the point where it can process and understand anything in the language spec, which is quite a lot.
Too bad it can't *run* anything just yet.
Looking forward to a day when my shell scripts aren't a debate of #Bash vs #Python vs #PowerShell.
Make sure you jump on the 30% discount on PyCharm Pro from JetBrains—ALL proceeds go to the PSF and every dollar counts 💝 Already got yours? Please like and share this post!
Get PyCharm Pro 30% off: https://lp.jetbrains.com/support-python/
#python #PythonForEveryone
https://lp.jetbrains.com/support-python/
@danderson Thanks for pointing it out, I've changed "multi-disk ZIP files" to "multipart ZIP files".
https://docs.python.org/3/library/zipfile.html
#Python #docs
Support for PEP 723 (inline script metadata) has landed on pip's main branch thanks to some helpful guidance from the maintainers.
https://github.com/pypa/pip/commit/36987b0c31b97ffb9fb7949ded628e9a6b10c016
Here's hoping it'll smooth out some distribution wrinkles for people who have been getting along with just-pip and single-file scripts paired with requirements files 🤞
si vous cherchez d'autres comptes #mastodon pour faire votre veille technique sur #Python, cette page vous liste quelques personnes très impliquées dans la communauté Python (à la @ThePSF ou contribuant à des bibliothèques / outils / frameworks largement utilisé·es) : https://fedidevs.com/s/Mzk/
des mises à jour de framework d'application web "tout #Python" 🎉
- #NiceGUI (#FastAPI + #vuejs sous le capot) passe en version 3.0
- #Gradio passe en version 6.0
Les créateurs de NiceGUI étaient interviewés dans cet épisode du podcast @talkpython : https://talkpython.fm/episodes/show/525/nicegui-goes-3.0
Retrouvez présentations & démos de NiceGUI, Gradio et #streamlit dans la session #PythonRennes du 1er décembre 2023 : https://www.youtube.com/watch?v=yspHNEFjKfQ&list=PLv7xGPH0RMUT1GSCGHJmqnswpk-nyz5aq&index=10
Support the Denver Python User Group, a PSF Fiscal Sponsoree, and help keep local #Python learning accessible to all. From weekly project nights to monthly talks, they create welcoming spaces- because Python is for everyone 🐍✨
Donate today: https://psfmember.org/civicrm/contribute/transact/?reset=1&id=48
⚠️ #cybersecurite : la cyber-attaque "Shai Hulud" venue de l'écosystème #npm peut toucher vos projets #Python s'ils font partie d'un même #monorepo : https://blog.pypi.org/posts/2025-11-26-pypi-and-shai-hulud/
- pour tester la vulnérabilité de vos projets : https://github.com/Cobenian/shai-hulud-detect, https://codeql.github.com/
- pour utiliser des tokens "trusted publisher" à courte vie si vous publiez des paquets sur #PyPI via @github : https://docs.pypi.org/trusted-publishers/
- pour auditer vos #githubaction : https://docs.zizmor.sh/
This could be a game changer for anyone using model custom QuerySets and Managers 🎉 I've just implemented an 11 years old ticket 🧓 for initial filters on model QuerySets handled in such an elegant way 💎
objects = QuerySet.filter(active=True).as_manager()
une réflexion d'ingénierie logicielle - qui dépasse le cadre de #Python - qui articulant la notion de "bon goût" / "mauvais goût" comme capacité à choisir les valeurs techniques (lisibilité du code, exactitude, performance, complexité d'abstraction, maintenabilité, etc.) - et leur niveau - appropriées à un projet donné : https://www.seangoedecke.com/taste/
Point de vue est intéressant qui dépassionne la discussion et distingue les compétences techniques des personnes et l'architecture d'un projet.
@paulox @justin @sethmlarson @CodenameTim @anze3db And the #Python core team starter pack: https://fedidevs.com/s/Mzk/
@CodenameTim This is super great Tim, thank you for writing this! I can't wait for the "Starter Packs" concept to come to Mastodon, it was massively useful in establishing my #Python network on Bluesky.
Yes, I am doing this to make my job as release manager easier! It benefits the other RMs too plus hopefully you :)
Just got to delete a big 45-line chunk from PEP 101, the release process.
Download pages for older feature releases link to the latest available in that series, so the release manager (👋) won't have to go through all the old ones and manually update them every time (or just not bother).
For example, so 3.13.7 and 3.13.8 say they have been superseded by 3.13.9.
https://www.python.org/downloads/release/python-3137/
https://www.python.org/downloads/release/python-3138/
https://www.python.org/downloads/release/python-3139/
The page of all x.y.z Python versions is now generated, so the release manager (👋) doesn't have to update it manually every time.
https://www.python.org/doc/versions/
They're also grouped by x.y version.
The old page is temporarily still up for a little while at https://www.python.org/doc/versions-old/
The pre-release link in the top table and the banner https://www.python.org/download/pre-releases/ is now a (new) redirect so the release manager (👋) doesn't have to update it manually every time.
More https://www.python.org/downloads/ updates!
The "Looking for a specific release?" table is now sorted with the newest x.y.z at the top (3.14.0), not the newest release by date (3.13.9).
Suppression des sources sur l'intelligence artificielle dans l'agrégateur sur la programmation. Elles étaient devenues la quasi seule thématique. Et même sans ça, le sujet reste, bien évidemment, présent.
L'agrégateur :
https://atlasflux.saynete.com/agregateur_informatique.htm?config=agra&theme=programmation
Le RSS :
https://flux.saynete.com/encart_rss_informatique_programmation_fr.xml
Les sources :
https://atlasflux.saynete.net/atlas_des_flux_rss_fra_informatique_programmation.htm
109 pour l'agrégateur
142 pour son annuaire (comprenant d'autres agrégateurs, des thématiques pour un même site...)
#php #python #javascript #code #programmation #rss #agrégateur
https://15r10nk.github.io/inline-snapshot/latest/ : un outil de @15r10nk afin de tester son code #Python avec #pytest en utilisant une approche "golden record". inline-snapshot permet de capturer le résultat d'une fonction / méthode / expression avant une refonte de code puis de vérifier que le résultat n'a pas changé.
Si le résultat a changé :
- c'est qu'il a été corrigé et il faut adapter le test automatisé
- c'est que la refonte a cassé quelque chose et qu'il faut enquêter
Pour aller plus loin, la généralisation s'appelle communément "sliding window". Il y a un exemple d'implémentation dans les recipes en bas de la doc du module natif de #Python itertools : https://docs.python.org/3/library/itertools.html#:~:text=def%20sliding%5Fwindow
Parcourir ces recipes permettent de découvrir l'utilisation combinée des fonctions du module ainsi que d'autres concepts (comme sliding window).
Voir aussi la bibliothèque https://more-itertools.readthedocs.io/ fournissant d'autres fonctions (triplewise, sliding_window) https://github.com/more-itertools/more-itertools/blob/8962760bc0a12973f6f673dd039c1db63ec6849c/more_itertools/recipes.py#L757-L812
The article about quantifying natural #CO2 emissions from mofettes at the #Starzach site in Germany with a low-cost sensor network is published now at @plosclimate:
https://doi.org/10.1371/journal.pclm.0000741
#Python #Arduino #PlatformIO #GaussianPuff #divergenceTeorem #globalWarming
The PSF Grants Program has supported #Python conferences around the globe, helping make events more welcoming & accessible for all- because Python is for everyone. While the program is on pause, your support moves us closer to bringing it back.
💝 Donate: https://donate.python.org/
cet article de maths++ :
- explore le module natif #Python itertools très utile pour parcourir ou générer des colelctions
- propose de réimplémenter itertools.pairwise (ainsi qu'une version modifiée, avec le dernier tuple de la forme ($LAST, None)
- de la généraliser à des n-uplets.
🚨 FRESH, LIMITED TIME DEAL: Get 30% off PyCharm Pro + a free tier of AI Assistant! ALL proceeds go to the PSF, thanks to JetBrains. Offer ends December 12th so don't wait, grab yours today!
https://lp.jetbrains.com/support-python/
#PythonForEveryone #Python
https://lp.jetbrains.com/support-python/
Bonjour cher.e camarade sentimental.e qui comme moi souhaite quitter #Spotify mais rechigne à voir supprimer 10 ans de playlists de vacances amoureusement assemblées.
Bonjour cher.e consœur geekos qui comme moi aime trifouiller les nombres avec #Python et #R.
Laissez-moi vous présenter https://exportify.app qui permet d'exporter toutes tes playlists Spotify en fichiers csv tout propres avec plein de stats dedans, genre "danceability" ou "valence" (?). Bon appétit !
> Unfortunately, after careful consideration, we've decided to move
forward with other candidates who more closely match our requirements for
this role
How I resent this idiotic piece of text, which is put into every damn rejection mail I receive since a year. More than 100 job applications sent out and no damn job afterwards. For fucks sake I was a senior #developer, a master of #ruby who did the last two years at the job #elixir and guess what did all the other #web backend related bullshit. Like administering #postgresql doing the schema, designing the whole architecture of a legacy backend system written in ruby, writing backends, frontends with #javascript and guess what nothing.
I maintained so called #microservices on #linux with fucking #docker which ran on #openshift or in the pedestrian terms "#kubernetes". Nothing!
I started into being a #software #developer through the damn #hacker scene and was a "founding member" (whatever that means) of a #hackerspace out of which I was kicked out and still suffering the emotional scars. But yeah, fuck that I see. And probably I'm at fault 100% because that's what this shitty #shame based society wants to tell everybody.
In my free-time I dabbled with #lisp #smalltalk and #cpp and #clang and #perl and I wrote #python a little for money too and for extending a little #django app at a hackerspace. Yeah, sure this is also worth nothing.
I tried to do #freelancing for 6 months, but guess what the current project market in #europe is shit and therefore nothing on the table for me either. While I find thousands of dimwits on reddits and everywhere, who are telling me that "I'm not an entrepreneur" or that "I deserve X", because they simply don't like what I write or my face.
Yeah sure, I'm 39 and I have no idea to go to, no damn #community and for fucks sake seem to be now going to join team long-term unemployed... because... yeah absolutely no damn fucking idea why I'm in this mess. What I'm supposed to do and obviously nobody fucking cares anyway.
I once dreamed of being "my own man", being that independent developer, coding happy #foss projects and contributing to #opensource and getting paid for that. But no. World says no to that. World says "go and die".
Bon, je vais faire de l'architecture dans une équipe avec un gros focus Python, donc j'ai bien l'impression que je vais devoir passer à PyStructurizr https://github.com/nielsvanspauwen/pystructurizr #python #structurizr #library #opensource #architecture #documentation
We're going to start disabling the commit bit (aka write access) to the #CPython repo for inactive core team members.
https://discuss.python.org/t/regularly-disabling-unused-commit-access-to-the-cpython-repo/105010
I proposed this after a security discussion at last year's #LanguageSummit:
https://pyfound.blogspot.com/2024/06/python-language-summit-2024-python-security-model-after-xz.html
Disabling the commit bit has no impact on core team status, nor Steering Council voting status, and you can easily ask for it back again.
Just released! 🚀
🎶 pylast 7.0.0
🎤 A #Python interface to @lastfm and Libre.fm
🗑️ Remove `SCROBBLE_SOURCE_*` and `SCROBBLE_MODE_*` constants. Last used in 2017, you probably weren't using them
📻 Add `chosen_by_user` parameter to `scrobble`. Set to false if you don't have "direct" control over the source, like radio or a stream.
🐍 Add support for Python 3.15
📼 Test against recorded API instead of live
🦀 Replace pre-commit with prek
Thanks to @scy!
https://github.com/pylast/pylast/releases/tag/7.0.0
#release #LastFM
ChiPy, a PSF Fiscal Sponsoree, brings together over 1,000 #Python enthusiasts in Chicago with open monthly meetings and Special Interest Groups. Your donations keep the ChiPy community growing strong!
Donate 👉 https://psfmember.org/civicrm/contribute/transact/?reset=1&id=47
Hello Masto !
Pour mes enfants de 11 et 14 ans, je cherche des ressources pour les aider à mettre un pied dans l'univers du développement de jeux vidéos. Ils commencent à tourner en rond avec ce qu'ils ont sous la main, ils veulent passer à l'étape d'après :D
Contraintes :
- matériel standard, pas de CPU/GPU dernière génération
- Linux uniquement
- pas *trop* de lecture (les bouquins type Eyrolles, même junior, ce n'est pas pour mon fils)
- côté compétences graphiques on va dire que c'est le minimum du minimum :D
Les deux sont très à l'aise avec un ordi ou une tablette, ont l'habitude de faire du Scratch ou même des mods Minecraft pour mon fils, et sont à l'aise avec l'anglais écrit (et même oral pour mon fils).
J'ai déjà comme ressources en attente :
- https://godotengine.org/
- https://github.com/kitao/pyxel
- https://developer.mozilla.org/en-US/docs/Games/Tutorials
Je prends donc les idées, les recommandations, les tutos (y compris Youtube), etc.
Merci d'avance, et boosts appréciés !
A new version of #rtcirqus is available. The only change is that I added a -v|--version CLI option to quickly see which version of rtcirqus you're running.
https://codeberg.org/autostatic/rtcirqus/releases/tag/v0.2.2
PSF Members don’t just give back- they get a voice. Supporting, Contributing, and Fellow Members all receive voting rights, helping shape the PSF’s and our community's future. Learn more about PSF Membership: https://www.python.org/psf/membership/
The PSF has a sliding scale option available for Supporting Membership (starting at $25 USD/year) because we want to make membership accessible to more people and increase the size and diversity of our voting membership. https://psfmember.org/python-software-foundation-supporting-member-sliding-scale/
Do you believe #Python is for everyone? Become a PSF Supporting Member! Your membership helps keep Python strong, open, and for everyone- and gives you a voice in the future of Python and the PSF 🐍📣
Become a member today 🪪👉 https://donate.python.org/
Hej allihopa!
"Välkommen till Python! Detta är den officiella dokumentationen för Python 3.14.0."
The Python docs are now available in Swedish! Thanks to Daniel Nylander!
To help with translations of any language, see https://devguide.python.org/documentation/translations/
Python-Based WhatsApp #Worm Spreads Eternidade Stealer Across Brazilian Devices
"It is distributed through a WhatsApp worm campaign, with the actor now deploying a #Python script, a shift from previous PowerShell-based scripts to hijack #WhatsApp and spread #malicious attachments.
https://thehackernews.com/2025/11/python-based-whatsapp-worm-spreads.html?m=1
I've updated the https://www.python.org/downloads/ page:
Added download links to the active Python versions table. Before, you had to hunt for the one you wanted in the table below.
They're redirect links, so, for example, https://www.python.org/downloads/latest/python3.15/ goes to https://www.python.org/downloads/release/python-3150a2/ and https://www.python.org/downloads/latest/python3.13/ goes to https://www.python.org/downloads/release/python-3139/
Could be handy for your docs, if you want to point people to the latest, say, 3.12.
Boston Python is one of the world’s largest #Python user groups & a PSF Fiscal Sponsoree, hosting monthly talks, beginner workshops & more. Your donations help the community thrive- advancing our shared vision that Python is for everyone. Donate 👉 https://psfmember.org/civicrm/contribute/transact?reset=1&id=4
En mapas web se suele usar el sistema decimal (Decimal Degrees) para los valores de latitud y longitud. Si se tienen los valores en grados, minutos y segundos (Degrees Minutes Secons) será necesario convertirlos.
En python se puede hacer con dos líneas de código, usando el paquete de expresiones regulares (re). Empaquetándolo en una función quedaría:
import redef degMinSec2decDeg(degMinSec): """Convierte coordenadas grados minutos y segundos (DMS) a sistema decimal (DD).""" deg, minutes, seconds, direction = re.split('[°\'"]', degMinSec) return (float(deg) + float(minutes)/60 + float(seconds)/(60*60)) * (-1 if direction in ['W', 'S'] else 1)Twenty years of #Django releases 🚀 https://www.djangoproject.com/weblog/2025/nov/19/twenty-years-of-django-releases/ Over those twenty years,
- 447 Django releases shipped 🚢
- 131 security vulnerabilities addressed
- 262,203 releases of Django-related packages in the #Python ecosystem
@nwenny You can use turtle for algorithmic embroidery with TurtleThread:
https://youtu.be/OcuhrDIrblo
https://github.com/TurtleThread/TurtleThread
#Python #programming
🎉 The wait is over! All the talks from DjangoCon US 2025 are now live on YouTube.
From keynotes to lightning talks, you can now watch (or rewatch) all the incredible sessions from Chicago. Whether you missed the conference or want to revisit your favorite talks, head over to our YouTube channel.
https://www.youtube.com/playlist?list=PL2NFhrDSOxgUSZVGkmbMhUpaaZ1ORfpCl
🐎 Django-related deals for Black Friday 🐎
Divert from the typical shopping frenzy to check out these deals from Django-related creators to help you learn and use the web framework for perfectionists with deadlines.
https://adamj.eu/tech/2025/11/20/django-black-friday-deals-2025/
🚀 Django LiveView 2.0.0 is now available
I just released a major new version of Django LiveView, the framework that lets you build interactive, real-time web applications using only Python — no JavaScript required.
🎯 What is Django LiveView?
A radically simpler way to build dynamic interfaces with Django. Inspired by Phoenix LiveView and Laravel Livewire, it lets you create SPAs without APIs, without JavaScript frameworks, without splitting your logic between frontend and backend.
HTML over WebSockets — all interactivity works in real-time, logic lives in Python, and you use Django's template system.
🔧 Simplified configuration
pip install django-liveview
## 💪 What can you do with LiveView?
- ✅ Update the DOM in real-time without JavaScript
- ✅ Interactive forms with instant validation
- ✅ Infinite scroll and lazy loading
- ✅ Multi-user live notifications
- ✅ Real-time dashboards
- ✅ Search with instant results
- ✅ Everything with Python decorators and Django templates
📚 More information
https://github.com/Django-LiveView/liveview
If you're a Django developer and want to add real-time features without the complexity of a separate frontend, give LiveView a try.
We're already over 80% of our fundraiser goal 🥰 🥰 So many of you have already donated, & the PSF is overflowing with hope & gratitude from your generosity.
Want to help us hit 100%+? Repost this & tell us why you donated- your story makes an impact!
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.
Which is the one true way to indent code?
#askfedi #programming #softwareengineering #java #python #csharp #javascript #kotlin #ide #linux #windows #macos
| Tabs: | 88 |
| Spaces: | 73 |
#JeRecrute (enfin mon employeur) développeur·se expérimenté·e à l'aise avec #python #django #postgresql, la #data généralement et l'#infrastructure est un plus.
#Freelance ou #CDD de 18 mois.
En #télétravail et/ou bureau à #Paris et #Lyon !
C'est là où je travaille, n'hésitez pas à poser des questions ! On vient de #BetaGouv, on est un GIP (groupement d'intérêt public) maintenant.
#Python workshops embody what we believe: Python is for everyone.
The PSF has supported 100's of workshops over the years- our Grants Program is paused, but your support helps pave the way for its return.
Help us reach our goal 💝 donate today: https://donate.python.org/
Just released! 🚀
After one sequential-only CI failure, two artifacts builds, one GitHub outage, two fixes for the Windows installer build, four Windows builds, and a NuGet outage:
🐍 Python 3.15 alpha 2!
🔬 PEP 799: A new high-frequency statistical sampling profiler
💬 PEP 686: Python now uses UTF-8 as the default encoding
🌊 PEP 782: A new PyBytesWriter C API to create a Python bytes object
⚠️ Better error messages
https://discuss.python.org/t/python-3-15-0a2/104948?u=hugovk
⏰ time-machine v3 is out! 🕰️
This package helps you accurately mock time-related functions in your tests. v3 cleans up some warts from previous versions, including removing the breaks-many-things mocking of time.monotonic().
Come back to the future with me!
https://time-machine.readthedocs.io/en/latest/changelog.html
I must have spent an hour or so trying to figure out why cancels did not work... until i noticed missing comma. d'oh
un article expliquant différents concepts ou approches en #Python : https://mathspp.com/blog/a-generator-duck-typing-and-a-branchless-conditional-walk-into-a-bar
- les générateurs pour des itérations "à la demande" plus légères en mémoire
- le duck-typing : l'article parle des protocoles sans mentionner cette abstraction pour faire du typage structurel (https://docs.python.org/3/library/typing.html#typing.Protocol, https://realpython.com/python-protocol/)
- des syntaxes pour des traitements conditionnels sans branches if-else
- EAFP vs LBYL (try-except vs if ... do) : notamment "with contextlib.suppress(ValueError)"
si vous créez un projet #Python (bibliothèque ou un outil) destiné à être publié sur pypi.org, vous vous demanderez peut-être quoi mettre dans les "classifieurs", qui sont des métadonnées techniques et fonctionnelles associées au projet (voir https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#classifiers).
Cette documentation liste les entrées possibles : https://pypi.org/classifiers/
BAPyA, a PSF Fiscal Sponsoree, brings together #Python enthusiasts across the SF Bay Area for learning, networking, and community events 🐍✨
Help us keep these gatherings going strong with a donation! https://psfmember.org/civicrm/contribute/transact/?reset=1&id=43
Have you already voted in the 2026 DSF Board election? If not, go check! 🏃
If you're a DSF member, look for the email with “[Action required] 2026 DSF Board voting” 📬
I’ve just voted, and I can’t wait to work with the new board members next year ✅
There are many great candidates, so take a moment to read their statements and pick your favourites 🗳️
Your vote helps shape Django’s future✨
Deadline: 26 November 2025 at 23:59 AoE ⏰
Info: https://www.djangoproject.com/weblog/2025/nov/05/2026-dsf-board-candidates/
CC @django
Another day another new feature implemented in #Django. This time, custom decimal contexts for DecimalFields allowing full control over creating decimals from floats. #OpenSource #Python
Did you remember to finally drop Python 3.9 support from your Python package? 🐍
Five years in tech is basically a whole lifetime and when Python 3.9 came out in 2020, most of us were still debating whether 5G was actually a thing 😄
Time to give your package a refresh and let 3.9 retire with dignity! ♻️
About 10 days ago, on November 8th, we organized the second-ever Django Girls workshop in Pescara 🐬
I finally found a moment to share a recap, a few photos and a big thank you to everyone who made this day so full of energy and smiles 🧡
It was a beautiful community moment, and I am already looking forward to the next event. 😃
https://www.paulox.net/2025/11/08/django-girls-pescara-2025/
CC @pescara @gdgpescara @django @djangogirls
#DjangoGirls #Django #Python #PythonPescara #Pescara
#DevFest #GDG #DevFestPescara #GDGPescara
Who would like Rust in CPython 3.15?
@emmatyping and Kirill Podoprigora "propose introducing the Rust programming language to CPython. Rust will initially only be allowed for writing optional extension modules, but eventually will become a required dependency of CPython and allowed to be used throughout the CPython code base."
https://discuss.python.org/t/pre-pep-rust-for-cpython/104906
Python hit 3.14 this year, so the PSF's 2025 fundraiser goal is naturally set to $314,159.26 😌
Make sure you're a part of this π/🐍/🥧 themed year by joining the community to help us hit that $100Kπ goal!
Donate or become a member today 👉 https://donate.python.org/
2 approches pour développer en #Python sur un #arduino :
- https://github.com/Jackhammer9/Reduino est un transpileur qui permet de générer le code #Cplusplus correspondant à votre code Python
- https://pypi.org/project/pyFirmata/ vous permet d'utiliser le protocole Firmata pour développer votre application (tutoriel : https://realpython.com/arduino-python/)
Moui. Alors, pourquoi pas ? 🤔
Mais j'avoue que beaucoup de choses m'échappent un peu, là. Pas tout à fait bien réveillé non plus, ce qui n'aide pas.
🐍💻 Bandit helps keep Python applications secure, and it’s one of the PSF’s Fiscal Sponsorees!
When you donate, you’re supporting the devs & maintainers behind tools that make #Python safer and stronger for everyone.
💛 Donate today: https://psfmember.org/civicrm/contribute/transact/?reset=1&id=42
Michael Foord has been posthumously recognised as an Honorary @europython Society Fellow:
https://www.europython-society.org/recognising-michael-foord-as-an-honorary-europython-society-fellow/
#EuroPython #Python
There was a time when I wrote Scala function names in Telugu, because it allowed full Unicode support.
Felienne Hermans, a professor from Netherlands implemented a subset of #Python in various natural languages for teaching programming to 12 year-old children. It's called Hedy.
https://corecursive.com/hedy-with-felienne-hermans/
I think it's a great step in the direction of decolonializing computer programming.
Does computer programming have colonial values baked in? It's not something we give much though to. 🤔
Did you know the PSF awarded $637K in grants in 2024 to #Python community groups all over the world? 🗺️🤯
The program is currently paused, but a successful fundraiser moves us one step closer to bringing it back.
Help us reach our goal 💝 donate today: donate.python.org
dj-importmap, that I developed for the French government has been handed over to the Beta Gouv organisation last week as it gains traction among other French gov. projects.
Looking for an expressive and djangonic way to manage your JS modules? dj-importmap is for you: https://github.com/betagouv/dj-importmap
Today I accidentally rm’d a bunch of stuff I had been working on for hours but had not yet checked in to a local git repo. Even if I *had*, one of the accidentally-deleted things was the .git folder itself 😂
Disaster! were it not for the fact that I had aliased rm to @mdaleo404’s ‘resrm’. Eight ‘--restore <id>’ commands later and I was back in business 😅
Do yourself a favour and install it…
How to use UUIDv7 in Python, Django and PostgreSQL by @paulox https://lobste.rs/s/svyej1 #databases #python #web
https://www.paulox.net//2025/11/14/how-to-use-uuidv7-in-python-django-and-postgresql/
Partially dynamic project metadata: https://peps.python.org/pep-0808 #python
Just published a new article on how to use UUIDv7 today with Python 3.14, Django 5.2 and PostgreSQL 18 🐍
I walk through Python generation, Django models, db_default, PostgreSQL functions, GeneratedField and even UUIDv47 for safer public IDs 🤖
Hope it's useful! 🙂
👉 https://www.paulox.net/2025/11/14/how-to-use-uuidv7-in-python-django-and-postgresql/
#Python #Django #PostgreSQL #UUIDv7 #UUIDv47 #Python314 #Django52 #Postgres18
Just released! 🚀
🪑 PrettyTable 3.17.0
https://github.com/prettytable/prettytable/releases/tag/3.17.0
Add support for Python 3.15, drop 3.9, test 3.13t-3.15t
Set dicts with column-specific config for all column-specific attrs
Update type hints
Replace pre-commit with prek
& more!
We're blown away- the PSF received an anonymous $100k donation 🤯🥰 Thank you, anon, for your investment in #Python, its community, and the PSF. We are deeply grateful and committed to using every dollar to make a difference.
Want to join in? Donate today: https://donate.python.org/
RE: https://fosstodon.org/@ThePSF/115548386058694096
#Python is for everyone! 💙💛 I hope you’ll join us on our mission to keep growing our community :)
As we close out 2025, the PSF is running our annual fundraiser with an important message: Python is for everyone 💛🐍🌏💙
Your support helps keep #Python open & thriving for everyone, including our 20 incredible Fiscal Sponsorees!Donate today 👉 https://linktr.ee/thepsf
Part of the PSF's mission includes acting as a fiscal sponsor to mission-related #Python events, groups, and projects. The PSF provides 501(c)(3) tax-exempt status and back office administrative support to our fiscal sponsorees. Learn more: https://www.python.org/psf/fiscal-sponsorees/
As we close out 2025, the PSF is running our annual fundraiser with an important message: Python is for everyone 💛🐍🌏💙
Your support helps keep #Python open & thriving for everyone, including our 20 incredible Fiscal Sponsorees!
Donate today 👉 https://linktr.ee/thepsf
prochaine session de #Python #Rennes le mercredi soir 10 décembre 2025 chez IDnow (merci pour l'accueil) dédiée à différentes utilisations de Python : dans le navigateur pour coder (Michel), dans gitlab pour déployer (Martin), dans un carton pour embarquer de l'IA sur carte graphique (Frédéric).
Plus d'infos et inscription (gratuite mais nécessaire) sur https://www.meetup.com/python-rennes/events/311997869/
🚀️ LockPass Export v1.0.0 released!
I just released the first version of LockPass Export, a CLI tool in #Python that exports shared passwords from LockSelf/LockPass password manager.
➡️ https://github.com/wanadev/lockpass-export?tab=readme-ov-file
Alors oui, #git (et tout autre gestionnaire de versions) est un outil absolument extraordinaire et on aurait beaucoup de mal à faire notre travail de #dev sans ça !
Et j'en ai utilisé quelques uns : #CVS 😄 , #SVN, #Bazaar, #Mercurial
Maintenant... quand tu vois que, sur un projet #python, le dossier .git (qui contient l'historique des modifications) représente... 87% du poids total du machin... 😱
In October 2025, contributions to #Debian by #Freexian collaborators involved upstreaming cPython patches, making autopkgtest for ansible-core robust and more!
Read the full report at https://www.freexian.com/blog/debian-contributions-10-2025/?utm_source=mastodon&utm_medium=social
We thank the organizations subscribing to our Long Term Support contracts (https://www.freexian.com/lts/?utm_source=mastodon&utm_medium=social) and consulting services (https://www.freexian.com/services/?utm_source=mastodon&utm_medium=social) for making this possible.
A feature that’s currently missing from @forgejo (and thus @Codeberg) is the ability to move issues between repositories (see https://codeberg.org/forgejo/forgejo/issues/1280).
Thankfully, Benjamin Melançon created Forego Helpers with a move_issue.py script that does this using the Forgejo API. Sadly, the script has a bug in it (a tiny regression introduced during a refactor) and their Forgejo instance doesn’t have signups so I couldn’t create a pull request, so here is a fork for the time being that you can use:
https://codeberg.org/aral/forgego-helpers
While fixing the bug, I also updated the project to use uv (https://docs.astral.sh/uv/) – think of it as a single tool that’s the equivalent of nvm and npm in Node.js that makes Python, well, usable out of the box.
So to move issue #299 from kitten/app to kitten/site on Codeberg, for example, you’d run the following in your terminal:
```shell
uv run move_issue.py kitten app 299 kitten site
```
That will move the issue (including comments), comment on both the old and new issues to link them together, and then close the old issue.
Enjoy!
#forgejo #codeberg #issues #repositories #git #movingIssues #python #uv #tools
Since 2015, the PSF Grants Program has awarded over $3M to support Pythonistas worldwide. The program’s on pause, but you can keep that impact alive and help bring us closer towards reopening 💛💙
Read grantee stories and donate today: https://donate.python.org/
J'ai été ravie de présenter une keynote à PyCon FR 2025. Je partage ici les slides de ma conférence en forme de blog.
C'était mon premier #PyConFR et j'ai beaucoup apprécié cet événement acceuillant, bien organisé et avec des conférences hyper intéressantes et de trés bonne qualité.
J'espère revenir l'anné prochaine !
https://karenjex.blogspot.com/2025/11/le-reve-de-tout-enfant-devenir-dba.html
https://github.com/joouha/modshim : un outil qui permet d'étendre ou de patcher un module #Python sans modifier le module original (à la différence du monkeypatching). L'outil fonctionne en interagissant avec le mécanisme d'import et crée un module tiers à partir du module original et de vos modifications.
C'est donc un outil destiné plutôt à compléter une bibliothèque (ou un module natif de Python) pour du code de production que pour écrire des #tests automatisés.
Who are the Hetzner + Coolify folks here? I've been hearing positive things about this combination.
Asking because I want to consolidate hosting for at least two (static) websites and one Django website; preferably auto-deployed from Codeberg. Located in the GDPR area is a must.
One kicker: I am not an infra person. I can navigate Docker well enough to meet my needs, but server management is not my strong suit.
Would love to hear your experiences!
cibuildwheel 3.3 out! Fix for docker 29 changing the capitalization of the version output, but also runner customization (for iOS on GHA macos-15), manylinux_2_35 on armv7l, build[uv] support on Android, removed build-system constraints, and more! https://github.com/pypa/cibuildwheel/releases/tag/v3.3.0 #python #releases
There are 3 ways to join the PSF's 2025 fundraiser:
- Donate directly 🎁
- Become a member 🪪
- Share this post 🔄 bonus points for quote posting with your #Python story!
Learn more and donate 💛💙 donate.python.org
The PSF's 2025 end-of-year fundraiser is live 🐍🚀 http://donate.python.org
#Python is for everyone—and it takes everyone to keep it thriving. Support the PSF, the Python community, and the language we love.
Join in today 💛💙 donate.python.org
@bbelderbos There's an overview of the stdlib CLIs at https://docs.python.org/3/library/cmdline.html
#Python #CLI
🤔 I have been sitting on Emma's Django Admin Deux article all day and I think it's super cool.
I struggled with it at first out of fear of how different the examples looked compared to the existing Admin code which IMO should continue to just work.
Seeing "7. Familiar Django Admin Patterns" really took the edge off for me, and it seems like once complete, we might have the best shot at expending the Django Admin another decade or two.
https://emma.has-a.blog/articles/django-admin-deux-bringing-admin-back-to-django.html
🆕 I made this suggestion in January last year, no-one else magically implemented it, so finally did it myself...
⬇️ There are now big buttons on #Python download pages for the thing you probably want, so in most cases you don't need to examine the full list of 12 files.
Seriously cool post about Bank Python, a thing I maybe vaguely knew had to exist – of course financial companies would have bespoke Python code systems – but I had no idea they had THIS level of interesting ways of doing things with Python! #python https://freeradical.zone/@r343l/115534670163831587
TL;DR; rewrite it in #Rust! To reduce energy use. https://www.youtube.com/watch?v=UAHYQNG1qYI Full podcast coming soon (with way more nuance included 😉), there are lots of things we can do as #Django / #Python tech people to build leaner
New @pypi blog
TL, DR:
- Trusted Publishing used for 25% of all files uploaded in Oct 2025
- GitLab Self-Managed now in beta
- Pending Publishers can be added for Organizations, too!
#Python #SupplyChain #Security
Read it here: https://blog.pypi.org/posts/2025-11-10-trusted-publishers-coming-to-orgs/
Stay tuned! We’ll be launching our end-of-year fundraiser within a couple of days, and we hope you enjoy what we have prepared to share with you 🤗 if you’ve already donated and you’re a member, you can still take part by sharing our posts on social media and with your regional and project-based #Python communities!
Here we are again: stunned, floored, full of hope, because of you–each of you wonderful humans in the #Python community. Since we shared the news about our withdrawal from the NSF grant opportunity two weeks ago, we have received over $160,000 in donations across nearly 2000 donors, which includes 313 new Members–WOW!
1/3 @dn These are valid observations which I can partially address (but not satisfactorily). And by the way, everything you said matters to me, too! While I **can’t** answer the problem of `uv` #uv being ready soon enough for the latest #Python; I **can** give procedures for keeping `uv` itself up-to-date … depending on how you installed it:
* `uv self update` for `uv`s recommended install
* `brew update; brew upgrade; brew cleanup` if you installed with #Homebrew, which applies to both Linux and macOS (`apt` might be applicable, too, on Linux. I can’t remember)
* Use`cargo` or an external tool like `cargo-install-update` if you installed it like any other #RustLang binary.
All of these are unsatisfactory, though, because they don’t "just happen" either to actually update or even to tell you that you **need** to update. Maybe that’s correct behavior because you’re not forced into updates you don’t want, or maybe it would be better if they were fully automated.
#Python #RustLang #uv There are so many posts about `uv`, I’m almost certainly preaching to the choir. As a developer, `uv` solves so many of my problems and makes my life so much easier, it has quickly become fundamental to my workflow. In one specific case, I have to deal with packages from Conda. There, I use `pixi`, and `pixi` in turn relies on `uv`.
Here’s the point: if you’re using Python and installing packages, running tools, choosing the right version of Python itself, using environments … basically almost anything —- you should look at `uv`. <https://docs.astral.sh/uv/>.
Now there is a problem `uv` doesn’t address: `uv` doesn’t directly impact the problem of deploying a Python-based application to an end-user. This is still one of the biggest problems in the Python ecosystem.
Is there a good handler for the #python `logging.handlers` stuff that sends messages via #libnotify? I tend to write CLI tools with a boilerplate I hacked out ages ago, that has some argparse defaults and then does this (somewhat compressed for brevity):
```python
if __name__ == "__main__":
import sys, logging, logging.handlers
args = parse_args()
mylogger = logging.getLogger(sys.argv[0])
if args.syslog or not sys.stdout.isatty():
handler = logging.handlers.SysLogHandler(address="/dev/log", facility=logging.handlers.SysLogHandler.LOG_DAEMON)
handler.setFormatter(logging.Formatter("%(name)s: %(levelname)s %(message)s"))
mylogger.addHandler(handler)
mylogger.setLevel(logging.WARNING - (args.verbose * 10))
else: # use the basic config when on terminal
logging.basicConfig(level=max(logging.WARNING - (args.verbose * 10), 0))
main_loop(args, mylogger)
```
So if it's run from cron, it'll go to syslog by default, but you can also just pass in like `--syslog` and it'll do that from the shell as well. I figure I kind of want `notify-send` messages sometimes too. Maybe always, maybe only for `CRITICAL` and above? #logging
🏆 Hats off to @CodenameTim and everyone for updating the @django's search to pick up blog posts and pages from non-docs areas of the website.
Why is this important?
We went from ZERO relevant REST search results to 44 search results, and the first FOUR amazingly relevant to search results.
https://mastodon.social/@carlton@chaos.social/115513395835556513
This was one of the topic's we covered during this year's panel discussion: Two Decades of Django: The Past, Present and Future at @djangocon
Mais mon éditeur de texte préféré reste tout de même #Zim ! (je vous ai déjà dis que ce logiciel était génial ?)
Extrêmement souple et efficace, facile à prendre en main et assez aisément bidouillable pour qui sait écrire du #python
D'ailleurs, rebondissant sur ce que @louisderrac demandait il y a quelques jours, Zim a ausi un plugin #TextExpander :
🐍 uv is the best thing to happen to the Python ecosystem in a decade - Blog - Dr. Emily L. Hunt
「 uv is a free, open-source tool built by Astral, a small startup that has been churning out Python tools (like the excellent linter Ruff) for the past few years. uv can:
- Install any Python version for you
- Install packages
- Manage virtual environments
- Solve dependency conflicts extremely quickly (very important for big projects.) 」
#uv #python #programming #rust
https://emily.space/posts/251023-uv
SeaGL talks in 5 min:
* Physical Theatre, made using open source tooling
* My browser isn't working! Now what do I do?
* Your Email, Your Rules: Self-Hosting Simplified
30 min later:
* Duality of Python
I rate these talks as 4 out of 4 in that I want to see all 4 of them :)
https://pretalx.seagl.org/2025/talk/
Join the conference freely and anonymously - https://seagl.org/attend
#SeaGL #SeaGL2025 #FLOSSconf #FLOSSevent #Seattle #today #theater #python #SelfHosting #email #BrowserDebugging
Advice needed: I want to set up #Linux Kiosk PCs. Users must log in with a card ID and password that are verified via a PHP webservice against a MariaDB.
The challenge: I need the Linux desktop login (e.g., via a Display Manager like LightDM/GDM) to authenticate against the custom remote service.
How can I implement this? Custom PAM module? Python-pam? Scripts?🤔
#PAM #linuxhelp #KioskMode
#Authentication #webservice
#PHP #Sysadmin #Python #foss #OpenSource
J'ai repris ma recherche de boulot vu que ma formation va se terminer, j'abandonne un peu l'idée de faire du #python vu que je suis junior dans cette techno et que c'est la merde en ce moment pour trouver du boulot
bon au moins mes compétences python m'aident à fouiner les sites de recherche d'emplois (et me permettent de m'amuser sur mon temps libre)
Mais si y'a des gens qui connaissent des boîtes qui recrutent.
Je cherche dans développement web #PHP #Symfony #Laravel #Angular
avec + de 10 ans d'expérience
Sur Lyon principalement (ou remote)
Boost bienvenue 🫂 #jeChercheUnJob
Parmi les PEP acceptées pour #Python 3.15, la 798 rend possible la destructuration de dictionnaires et d'itérables au sein de compréhensions (https://peps.python.org/pep-0798/) :
[*it for it in its] # aplatissement d'une séquence de séquences
(*it for it in its) # aplatissement d'une séquence de séquences en générateur
{*it for it in its} # aplatissement en set
{**d for d in dicts} # fusion d'une séquence de dictionnaires
📺 DjangoCon US 2025 videos are up 🎉
This also caps off a week's worth of updates on DjangoTV, including the dreaded, very random 153 errors, which should finally be gone.
@mahryekuh @jscholes Yes, it's changing in Python 3.15 (and I think is already in the first alpha, available for testing now).
For more detail, see:
https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-utf8-default
#Python #Python315
Last year I learned about Byte Order Mark (BOM), and how imports of CSV files generated on Windows should be decoded as “utf-8-sig” instead of “utf-8” when using Python `csv.reader()`.
That lesson saved me a lot of time today.
Extra background info courtesy of @jscholes:
> “The wider issue is that many Python programs are written with no explicit `encoding` argument in `open` calls, implicitly expecting UTF-8 because that's often the default on Unix systems. But it usually is not the default on Windows.”
> “As I understand it, that's set to change in Python 3.15:”
It's been a month since I've been without $job, but that doesn't mean I was lazy 😅 I used this time to prepare a lot of changes to Django 💚 including some old feature requests like database-level delete options and decimal fields with no precision, as well as fixing 15+ years old bugs 🐛 I'm still on the market! Do you need help with your Python/Django app? 🆘 Contact me 📬
Hey there fellow nerds, ready for a niche blog post about something that I think is important and seemingly no one else cares about? I got you covered:
"The Case for Standardised Time Range Variable Names"
https://danielquinn.org/blog/the-case-for-standardised-time-range-variable-names/
Forget about trying to get your company to support something abstract like the PSF.
You use PyPI: you know, the place that pip installs from. Wouldn't it be bad if `pip install` stopped working? Support the organization that runs PyPI instead.
Surprise, it's the PSF! Support the PSF! Your company depends on #Python. You want it to keep working and keep being good.
Support the PSF. https://www.python.org/psf/sponsors/
Si vous n'étiez pas à la #pyconFr j'ai publié à l'instant un article qui raconte comment j'ai accéléré les tests sur mon poste : https://hashbang.fr/blog/accelerer-une-suite-de-tests-django-et-pytest-sur-un-poste-de-developpement/ (c'est la première partie de notre conf avec @arthru )
#django #pytest #python
For a work-related open source project, we discussed raising the minimum python version: a feature only worked on python 3.12, and failed on lower versions. Would it make sense to make 3.12 the minimum? 1/6 🧵
@mdione @tartley @hgfernan Yeah, I would think so. And honestly it seems like quite a complicated thing to be that clever, in general.
I think the intent of basicConfig() is supposed to be simply "make sure logging messages go *somewhere*" for people/apps that don't particularly care where they go. Anything more than that, you should write your own code, or at least customize the arguments you pass to basicConfig() (which could include calling it with force=True).
https://github.com/SJRiz/pytogether : un projet qui met en place un environnement web collaboratif temps réel de développement #Python plutôt dédié aux personnes débutantes ; pour la formation à distance ou le prototypage en pair programming, par exemple. Collaboration multi-curseurs, par chat et appels audios.
- @django
- React
- Celery
- PostgreSQL (sauvegarde des projets)
Un projet repéré par la newsletter hebdo #PyCoder's weekly
They are so many different reasons to write #Code in so many different #ProgrammingLanguage(s). Here are a few: which is your favorite? Which are you good at? Which is your team good at? Which is supported at your company? Which is best supported in the community? Which is best suited to your actual problem? Which has appropriate libraries (and again, consider your problem domain)? Which has good tools? Which is the least expensive to actually develop in (time, money, tools, deployment)?
There absolutely is no "best" language. You are absolutely going to compromise somewhere. Maybe you won’t even consider these questions, e.g., a #CSharp shop might just go with C# regardless. A #Python expert might just choose Python. Sometimes all these questions don’t matter. Sometimes they do.
The November edition of the PSF Board Office Hour is about to begin 🐍 🗒️ 2 PM UTC. Join us to share how we can help your community, express your perspectives, and provide feedback for the PSF! #python
https://pyfound.blogspot.com/2025/10/a-new-psf-board-another-year-of-psf.html
Read the full post to see how the PSF is tackling these challenges and how you can help power the future of Python. Many of you have donated in the past week- so we are looking for you to help us with reach. Please share this story, boost our upcoming fundraiser posts, and most importantly, tell the world your #Python story!
Python Steering Council unanimously accepts "PEP 810, Explicit lazy imports"
Link: https://discuss.python.org/t/pep-810-explicit-lazy-imports/104131?page=23
Discussion: https://news.ycombinator.com/item?id=45800967
Finally, we want to share that everyone at the PSF is full of hope, courage, and strength- because of each and every one of you in the #Python community. We’ve continued to hear from you across a multitude of platforms with messages of support and encouragement– each of which we truly treasure 🥹
We are counting all of these donations and new members as the prequel to our end-of-year fundraiser 📈 Stay tuned for more information on the fundraiser– and if you’ve already donated, you can still support us through the end of 2025 by sharing your #Python stories and boosting our posts!
The Steering Council has accepted PEP 810 (explicit lazy imports) for Python 3.15!
https://discuss.python.org/t/pep-810-explicit-lazy-imports/104131/466
pour les fonctionnalités des versions #Python, notamment la 3.10 : https://www.nicholashairs.com/posts/major-changes-between-python-versions/
avec #Halloween 🎃 a été publiée la dernière version de #Python 3.9 : la 3.9.25 🕊️ (https://discuss.python.org/t/the-final-python-3-9-security-fix-release-is-out/104666).
Depuis le 1er novembre, la version maintenue la plus ancienne est la 3.10 (https://endoflife.date/python) ; ce qui veut dire que les personnes qui maintiennent des bibliothèques ou des outils peuvent désormais adopter toutes les fonctionnalités de la 3.10 sans risquer de perdre trop de personnes utilisatrices.
Quelles sont les fonctionnalités de la 3.10 qui vous intéressent le plus ?
I wrote a bit about what went on at the recent Python Core Sprint at #Arm in Cambridge, plus some bonus @PyConUK highlights.
Relatedly:
>>> int('111', base=37)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: int() base must be >= 2 and <= 36, or 0
What. So is there a standard library function for converting number bases in python?
I almost started bashing (#python'ing?) my head against the desk because I only read this for the first time ever:
> The functions `debug()`, `info()`, `warning()`, `error()` and `critical()` will call `basicConfig()` automatically if no handlers are defined for the root logger.
I run my code with `pdb` and reached `logging.basicConfig()`'s line `if len(root.handlers) == 0`. It failed, so someone called one of those functions before I called `basicConfig()`. Fixed by `basicConfig()` ASAP.
People who are newer to Django often do not know about these great resources and the richness of the Django ecosystem. Spread this link please! #python #django https://www.djangoproject.com/weblog/2025/nov/02/five-ways-to-discover-django-packages/
Ein Ingenieur entdeckte, dass sein smarter #Staubsauger heimlich #Telemetriedaten an den Hersteller ohne Einwilligung sendete.
Als er den Datenfluss blockierte, wurde das Gerät per Fernbefehl blockiert.
Nach Analyse und Reverse Engineering konnte er das Gerät mit #Python-Skripten und einem #RaspberryPi wiederbeleben. Der Fall zeigt, wie sensibel #IoT-Geräte mit Nutzerfreiheit und #Datenschutz umgehen.
@glyph @offby1 @petrillic @amethyst @Yhg1s
Here you go, $100π!
And thank you to @lorenipsum and Phyllis for typing up and sending all these receipt emails so quickly ⌨️🚀
The Toad Report #2 is out. The second update on Toad, my terminal based UI for agentic coding.
Please share!
Running every streets in Paris (using #Python) : https://app.everystreet.run/vinayak/paris ^^
Just published a new How-to guide on installing PostgreSQL 18 on Ubuntu 25.10 (Questing Quokka). 🦫
Learn how to switch from the default PostgreSQL 17 to version 18 and try new features like UUIDv7 using the official PGDG repository: fast, clean, and developer-friendly setup. 🐘
https://www.paulox.net/2025/10/31/install-postgresql-18-on-ubuntu-25-10-questing-quokka/
CC @postgresql
#PostgreSQL #Ubuntu #Linux #Python #Django #UUID #UUID7 #UUIDv7
RE: https://mastodon.social/@EmmaDelescolle/115469586774762383
✋ I'd also love to know whose companies would be willing to pay or discuss it for Extended Django LTS support, even if you aren't sure of an amount.
(I suspect the amount would be >$10k for bigger companies, given how much work this takes.)
Please fill out @EmmaDelescolle's pool and feel free to DM me if you have thoughts.
Let's try something here... If I told you that you could get Extended LTS support for some older Django versions (5 years instead of 3 to start with), how much would you be willing to pay for that?
This poll is probably mostly directed at SMB Django shops.
Nothing, all my clients run supported versions: 0 Less than 100€ / year: 0 Less than 1K€ / year: 0 1K€ / year or more: 0
Thanks to our partners Arm, GitHub, and AWS, the PSF migrated #Python’s infrastructure to Arm-based systems; achieving zero downtime, lower costs, and a greener footprint. Results like this show the impact of corporate collaboration with the #Python community 💝🐍 https://www.arm.com/company/success-library/python-software-foundation
I stepped down from @ThePSF board after 10 years https://kushaldas.in/posts/not-anymore-a-director-at-psf.html
un article de @treyhunner expliquant comment personnaliser votre #REPL si vous utiliser #Python 3.13 :
- le tutoriel https://treyhunner.com/2025/10/handy-python-repl-modifications/
- le repo organisant les personnalisations : https://github.com/treyhunner/pyrepl-hacks
Étapes
- créer une variable d'environnement PYTHONSTARTUP pointant vers un fichier de personnalisation
- créer le fichier de personnalisation : raccourcis clavier, colorisation, etc.
Est-ce qu'une formation Python avancé intéresse des gens ici ?
Je me suis inscrit à une formation de #HumanCoders dans le cadre de mon travail, et pour que la session du 8 décembre en distanciel soit validée, il faut au moins deux stagiaires.
Qui vient pour valider la session et apprendre du Python avancé ? :D
https://www.humancoders.com/formations/python-avance
Vous pouvez booster si vous avez envie !
La fondation #Python renonce à une subvention de 1,5 million de dollars plutôt qu’à ses valeurs.
Pour obtenir cette somme, la fondation devait s’engager à ne mener aucune action en faveur de la diversité, l’égalité ou l’inclusion (DEI), une des exigences politiques de l’administration Trump.
https://www.zdnet.fr/blogs/l-esprit-libre/la-fondation-python-renonce-a-une-subvention-de-15-million-de-dollars-plutot-qua-ses-valeurs-484243.htm#xtor=RSS-1
#truckfump
Even if you don't do anything particularly intense with numerical results in #Python, this is still a good issue to know about: https://moyix.blogspot.com/2022/09/someones-been-messing-with-my-subnormals.html h/t @nelhage
Archive formats like ZIP and tar can be abused to undermine the integrity of Python package users 📦 Learn how PSF Developer-in-Residence Seth Larson is strengthening Python's security with the #Python community in the new white paper "Slippery ZIPs and Sticky tar-pits" with Alpha-Omega:
https://pyfound.blogspot.com/2025/10/slippery-zips-and-sticky-tar-pits-security-and-archives-white-paper.html
🇸🇪 boostedI just gave $100 to the PSF.
Thanks to Glyph and other matchers for making that double. Much respect.
#httptap, un client HTTP #Python en mode CLI qui indique la décomposition d'une requête HTTP avec la durée de chaque phase : https://httptap.dev/
Pour le tester facilement avec uv :
uvx httptap "https://social.breizhcamp.org/@pythonrennes"
boostedThis week, the #Python Software Foundation rejected a $1.5MM NSF grant, due to a requirement that the PSF abandon diversity work.
So I joined forces with Python folks (@offby1, @petrillic, @amethyst) and we're matching up to $12,000 of donations to the PSF. 🧵
uv is the best thing to happen to the Python ecosystem in a decade https://lobste.rs/s/fluuv7 #python
https://emily.space/posts/251023-uv
👋 Friends, #Django's fundraiser is running through November 11th (kindly ignore the 9th, that's being fixed) and the foundation could use your support to continue our mission.
While I happily support the PSF in their mission, this is the DSF's biggest fundraiser every year, and even if you aren't a JetBrains user, our foundation could use your support.
Support the DSF via PyCharm:
https://www.djangoproject.com/weblog/2025/oct/23/pycharm-django-annual-fundraiser/
Support the DSF directly: https://www.djangoproject.com/fundraising/
If you like free and fast access to #Python packages via PyPI be glad that these lovely folks are in charge and not somebody like me. If it were up to me I'd probably be planning big brownouts and slowdowns for institutional users in order to aggressively force the issue of properly using client-side caching.
un tutoriel expliquant le rôle et les différentes façons de déclarer et d'utiliser des fixtures dans vos tests automatisés #Python avec #pytest : https://patrickm.de/pytest-fixtures-how-to-use-organize-them-in-your-test-architecture/
Il manque juste aussi la possibilité de déclarer des fixtures dans des sous-modules et de les référencer avec la variable pytest_plugins dans le fichier conftest.py à la racine des tests (https://docs.pytest.org/en/stable/reference/reference.html#globalvar-pytest_plugins) :
pytest_plugins = [
'tests.fixtures.users',
'tests.fixtures.items',
# ...
]
Cette fin de semaine, Armando Femat Ortiz sera à la #PyConFR 2025 à Lyon pour participer aux sprints et pour présenter une 𝗺𝗶𝗴𝗿𝗮𝘁𝗶𝗼𝗻 𝗱𝗲 𝗹'𝗮𝗻𝗻𝘂𝗮𝗶𝗿𝗲 𝗟𝗗𝗔𝗣 𝗱'𝘂𝗻 𝗡𝗲𝘅𝘁𝗰𝗹𝗼𝘂𝗱, avec un script #Python bien sûr !
📍 C'est en salle C436 au Campus René Cassin
📅 Samedi 1er novembre 2025 à 16:30
🔗 https://www.pycon.fr/2025/fr/
Venez découvrir son retour d'expérience et parler SSO avec lui !
🐍 @AFPy
(27 Oct) Python Software Foundation Withdraws $1.5M U.S. Government Grant Over DEI Restrictions
Python’s governing body drops a $1.5 M U.S. grant, saying the anti-DEI clause violates its mission and community spirit.
https://s.faithcollapsing.com/trxfp
Archive: ia: https://s.faithcollapsing.com/i8q7a
Based on @lorenipsum's post about python being all backbone (software) and @ThePSF's refusal to roll over. I give you my sticker idea¹
Notes: This confluence of puns tickles me. supine sounding like serpentine and spine and being upside-down, aforementioned backbone, nod to "don't tred on me" and *maybe* a wink to Tiresias and hitting snakes.
OK back to code.
While in some ways the decision was tough, knowing the #Python community would have our backs made it easier. We want to thank you deeply for the words of support across many platforms- but also your actions.
Sometimes, I think it's not worth it to keep writing this draft. I'm just way too harsh to Python, and it probably doesn't deserve it.
The #Python Software Foundation look after some of the most important software for our Digital Infrastructure. They can't get grants from the US gov.t because those now require alignment with the #Trump administration's ideology.
The #EU should step up and support our critical digital infrastructure. Meanwhile, drop them a donation! ❤️
https://pyfound.blogspot.com/2025/10/NSF-funding-statement.html
Inclusion ou subvention américaine, la fondation #Python a choisi
https://next.ink/206254/inclusion-ou-subvention-americaine-la-fondation-python-a-choisi/
#Python Foundation goes ride or DEI, rejects government grant with strings attached - https://www.theregister.com/2025/10/27/python_foundation_abandons_15m_nsf/ "Foundation says it won't compromise policy of inclusivity even if that cash would've really helped"
En attendant #Python 3.15, et le support du lazy import (voir https://peps.python.org/pep-0810/), voici une méthode pour accélérer le chargement de vos modules : https://pythontest.com/polite-lazy-imports-python-packages/
la fondation #Python (la @ThePSF) a refusé un financement de 1,5 million de $ du gouvernement américain, gouvernement qui demandait à ce que l'argent ne financement pas des actions de #diversité et de #mixité, ce qui va à l'encontre de différentes actions anti-discriminatoires de la PSF : https://pyfound.blogspot.com/2025/10/NSF-funding-statement.html
"The PSF (Python Software Foundation) board voted unanimously to withdraw its grant application." #Python
https://www.theregister.com/2025/10/27/python_foundation_abandons_15m_nsf/
Headline: #Python Foundation goes ride or #DEI, rejects government grant with strings attached
Subtitle: Foundation says it won't compromise policy of inclusivity even if that cash would've really helped
Source: https://www.theregister.com/2025/10/27/python_foundation_abandons_15m_nsf/
IMO, the PSF has always been the ideal any software foundation should aspire to be. I’m so happy to see them make this decision.
https://pyfound.blogspot.com/2025/10/NSF-funding-statement.html
Nathan Goldbaum is part of the Quansight Labs team that's been doing a *huge* amount of work getting the ecosystem ready for free-threaded Python.
Here he shares some of his favourite resources to learn about free-threaded Python:
https://github.com/ilanschnell/bitarray/pull/245#issuecomment-3452970622
#rstats folks should think about supporting our friends at the #Python Software Foundation, who turned down a $1.5M NSF grant rather than cave to the administration's inquisition against diversity, equity, and inclusion. ❤️
https://pyfound.blogspot.com/2025/10/NSF-funding-statement.html
Python Software Foundation News: The PSF has withdrawn a $1.5 million proposal to US government grant program
https://pyfound.blogspot.com/2025/10/NSF-funding-statement.html
#Python is fighting fascism and it warms my heart when so many other communities just surrender without even a fight…
The #Python #Software #Foundation has declined to accept a $1.5m #dollar #grant from the #US Government due to a stipulation stating they cannot pursue any #Diversity #Equity #Inclusion initiatives. https://pyfound.blogspot.com/2025/10/NSF-funding-statement.html
I would be glad to donate to the #Python project, but doing so requires me to divulge my name and contact information as per their 501(c)(3) charitable organisation status:
"Contact information is required for tax reporting purposes and will be shared only with the US government."
Considering the current status of the US government, I don't feel comfortable doing this. Are there some other ways to donate to Python project without getting the US government involved?
- https://pyfound.blogspot.com/2025/10/NSF-funding-statement.html
- https://psfmember.org/civicrm/contribute/transact/?reset=1&id=2
RE: https://mastodon.social/@djangonews/115446256829600290
🎙️💬 And I'm on @djangochat talking with @wsvincent and @carlton about the latest Django Survey trends with a WHOLE lot of side quests.
I hope you enjoy it!
https://djangochat.com/episodes/django-survey-2025-jeff-triplett
Should have done this earlier and saved myself some membership dues, but having told #UCU that I am currently unemployed, my membership is free for up to a year 👍
Now, where are all the remote/Scotland #Bioinformatics & #ResearchSoftwareEngineer jobs hiding? Or should I try the commercial world as a #Python programmer... #GetFediHired
un tutoriel détaillé sur l'utilisation de #pydantic dans vos projets #Python : https://machinelearningmastery.com/the-complete-guide-to-pydantic-for-python-developers/
- typage des structures de données
- validation des valeurs
- gestion de l'arborescence des structures de données
I've implemented history support in Toad.
Up / down keys navigate your history.
But I think there is an opportunity to improve on the bash / zsh behavior. I've noticed my history can be full of the same command. Often when I'm testing software.
i.e. now, I have like 20 "uv run toad" entries in the history. If I want the previous command I have to press up 20 times. Seems bonkers.
How about if I collapse multiple identical entries in a a single entry?
Just released! 🚀
🎨 termcolor 3.2.0
https://github.com/termcolor/termcolor/releases/tag/3.2.0
🟣 Expose `can_colorize` as public API
🟢 Add support for Python 3.15 (🥉 at https://pyreadiness.org/3.15/)
🔴 Drop support for EOLish Python 3.9
Dans cette vidéo, Alexandre #Astier parle d'une #IA maison a qui il donnerait tout ce qu'il a fait... Par curiosité de ce qui en sortirait.
Mais ! On apprend surtout, qu'il a codé son propre algo #Python pour l'aider à écrire #Kammelott ! 😲
Source : https://www.canalplus.com/actualites/clique/h/30030672_50001
Inspired by a talk I had with @BajoranEngineer at #PyTorchCon, I've jotted down some thoughts about #Python as a scripting engine for apps.
https://phildini.dev/python-in-every-app
Shares appreciated! Commentary welcome, but if you're a jerk I'll block you 😇
@freakboy3742 @glyph @brettcannon this is why I was asking about built python ✨
Also included: a thought on how @conda monetizes this 😅
Just released! 🚀
📜 Python Docs Sphinx Theme, with added Arabic, French, Romanian and Russian translations.
https://github.com/python/python-docs-theme/releases/tag/2025.10
#Python #release #PythonDocsSphinxTheme #Sphinx #theme #translations
Quick reminder, I'm open to work 👋 If you're looking for an experienced #Python / #Django developer 🧭, who spent 5 years as a Django Fellow, maintaining Django itself, and who is a Django 💚 and Python 🐍 contributor. I'm here 👋 Contact me 📬 #opentowork
un projet #Python de CLI permettant de copier-coller du contenu de façon sécurisée entre un votre poste et un serveur distant (scp, ssh, par socket) : https://remoclip.newmatter.net/.
Une extension à Jupyter qui permet de faire du GIS, ça m'a l'air complètement fou ! https://eo4society.esa.int/projects/jupytergis/ #python #jupyter #extension #géographie #opensource
Who would have thought that creating a programming language for rapidly developing, deploying and abandoning lots of packages would have lead to this…
"Forking confusing: Vulnerable Rust crate exposes #uv #Python packager"
https://www.theregister.com/2025/10/22/vulnerable_rust_crate/
Let's all give a shout out (and a follow) to the new @ThePSF Fellows!
https://pyfound.blogspot.com/2025/10/announcing-python-software-foundation.html
Thank you for all you do for us! 🥂
🎉 Abhijeet Mote
🎉 Abigail Afi Gbadago
🎉 Becky Smith @rebkwok
🎉 Christopher Bailey @digiglean
🎉 Dawn Wages @BajoranEngineer
🎉 Leah Wasser @leahawasser
🎉 Maaya Ishida
🎉 Mason Egger @masonegger
🎉 Miguel Grinberg @miguelgrinberg
🎉 William Vincent @wsvincent
Async Django: a solution in search of a problem? https://lobste.rs/s/fyrfe0 #python #web
https://www.loopwerk.io/articles/2025/async-django-why/
The problem with using software you wrote yourself is that you impulsively add features you feel would improve your life, and then get annoyed at how other parts of the software don't have the same feature.
So I guess I'm adding filtering capabilities to the Inventory view in Exosphere now
Django 6.0 beta 1 released via @paulox https://lobste.rs/s/elts07 #python #release #web
https://www.djangoproject.com/weblog/2025/oct/22/django-60-beta-released/
💡📹 Scientist Brian Haidet built a 2 billion frame per second #camera in his garage using simple components including one mirror, one lens, and #Python code to capture #light moving at the #universe's speed limit.
The camera records only one pixel at a time, so Haidet tiles hundreds of synchronized recordings together to create #videos showing a laser beam bouncing across his workspace at 15 cm (6 in.) per frame.
Django 6.0beta1 is out! 🎉
It brings new built-in features like CSP support, background tasks, and partial templates, all ready to use without extra packages. 🧩
It’s not ready for production yet, but now is a good time to test it, report bugs, and get your projects ready for the final release. 🚀
https://www.djangoproject.com/weblog/2025/oct/22/django-60-beta-released/
CC @django
Please congratulate our newest PSF Fellow Members for Q3, 2025! Their continued contributions to the Python ecosystem are so very important to our community. #python
https://pyfound.blogspot.com/2025/10/announcing-python-software-foundation.html
Traffic meter per ASN without logs https://anarc.at/blog/2025-05-30-asncounter #debian-planet #python-planet #software #network #sysadmin #tor #censorship #python
Linkding un projet #opensource de gestion de bookmarks écrit en #Python sur une base @django et une sauvegarde #SQLite : https://github.com/sissbruecker/linkding. Fonctionnalités intéressantes :
- partage de liens
- extension navigateur https://addons.mozilla.org/fr/firefox/addon/linkding-extension/ et https://chromewebstore.google.com/detail/linkding-extension/beakmhbijpdhipnjhnclmhgjlddhidpe
- API #REST
- hébergeable sous la forme d'une image #Docker
I often see people complain about #Change in their world. I have two specific programming-related categories I want to comment on. I'll make a separate post for each.
The first category of complaints is that people complain when their favorite, or primary, or whatever, #ProgrammingLanguage changes.
I use #Python, so I see lots of complaints about this. C++ #Cpp puts out new editions. It's quite a different language than it was 20 years ago. Rust #RustLang puts out new editions fairly regularly. Obviously the complaints come from users who don't like change in general or, more likely, don't like the specific changes that are happening.
Well, sorry not sorry. First, change is inevitable everywhere. Second, what's your alternative? If your language wasn't growing and adapting to everything we learn, then it would be stagnating and dying! Even COBOL continues to change (very, very slowly, though).
Yes, more work for you. Yes, bitrot is real -- your unchanged code in that language can diverge from the most modern spec for the language. But that's how the entire rest of your life works. **You** are changing! Your children (if you have children, I mean) are changing. Everything is changing. Why is this a surprise to you? Rejoice in the improvements!
un projet #Python qui propose une interface web type #OpenAPI pour exécuter une fonction de votre base de code : https://github.com/offerrall/FuncToWeb
Le projet se base sur les annotations de typage pour proposer des champs de formulaires adaptés.
L'occasion de vous rappeler 2 sessions de #PythonRennes précédentes sur les annotations de typage :
- https://youtu.be/T5k616MqHCs?si=fD7w7pabB-MVQLFK&t=1270 par Florian Strzelecki
- https://youtu.be/qAS-zj0irEM?si=oBK1Gd52KG8YGlBa&t=680 par Michel Caradec
RT Guido Van Rossum
Slides from my PyBay talk yesterday can be downloaded here:
https://github.com/microsoft/typeagent-py/blob/main/docs/StructuredRagPyBay25.pptx
(permissions issue fixed! - click the little download button; PowerPoint only for now)
#GuidoVanRossum #PyBay #Python #Rag #StructuredRag #RetrievalAugmentedGeneration
CC @pybay
🚢 Just released Django Keel – a production-ready Django starter.
For 10+ years I maintained a popular Django cookiecutter template used across client projects and FOSS. Django Keel is all those lessons distilled into something cleaner and more modern.
Tired of spending 2 days on boilerplate every time? Me too.
Not a toy. Not a tutorial. Just the boring defaults that actually work in production.
https://github.com/CuriousLearner/django-keel
One reason why I've never really done any #JWST processing was the awful 1/f noise (banding) that's typical to the Stage 3 products from MAST.
I finally got around to installing the JWST pipeline locally, and reprocess these data with tweaked parameters.
Check out this post by @diegor about the latest CPython sprint! We send a special thanks to Arm for hosting the event and investing in the future of #Python 💛🐍💙
https://pyfound.blogspot.com/2025/10/cpython-core-dev-sprint-2025-at-arm.html
I wasn't planning on shamelessly self-promoting the book draft I’m working on in my spare time, but the #AWS outage gave me no choice. The opportunity simply presented itself :)
P.S. drop your email here, so I can get back to you, if this thing ever sees the light of day: https://tally.so/r/w5y00v (or react to this post)
I have released yesterday version 1.12.0 of the slixmpp python XMPP library. Mostly for python 3.14 compatibility, but there are a few other things as well! More info at https://blog.mathieui.net/slixmpp-1.12.html
New #Python package release: akismet 25.10.0.
Highlights include:
* Python 3.14 compatibility
* A new pytest plugin to make it easier to test your use of the Akismet clients.
I benchmarked `--help` on one of my CLIs with the reference implementation for PEP 810 (Explicit lazy imports).
Because my CLI already does the "inline imports" thing of moving them into functions just before they get used, I got a speedup of x1.3.
Then I moved all the imports to the top like normal, and got a speedup of x2.9!
https://hugovk.dev/blog/2025/lazy-imports/
#Python #Python315 #PEP810 #LazyImports #lazy
@pixeltracker The wonderful Python 3.14 logo is by kamikyoku!
PS Your link doesn't work, it should be https://www.fabriziomusacchio.com/blog/2024-01-26-python_version_logos/
#Python #Python314 #logo
The return of PyCon Finland was a marvellous event.
I wrote a recap of the conference (+ a bit about Lokacon) to capture the experience.
For anyone else using #CircleCI for #Python projects, PSA that they added Python 3.14 to their 'cimg' library mid last week. 🐍🎉
Updated all my 'modernized enough to want to CI on 3.14' projects' .circleci/config.yml files just now.
Think the main outlier now for that work (pyproject.toml, dropping Python<3.9) is Fabric (which I'll do soon) and then I am mostly done sans some of the smaller projects.
Very excited to announce django-phone-verify v3.2.0 released ✅
• 🔒 Brute-force protection (MAX_FAILED_ATTEMPTS, MIN_TOKEN_LENGTH) + migration — by Harsh
• 🌍 i18n via Accept-Language with Django translations — by Hari Mahadevan
• 📚 Major docs refresh (guides, architecture, security, API, examples, troubleshooting, FAQ)
• 🛡️ SECURITY.md; 📦 __version__ + pyproject.toml
• 🐍 Python 3.8–3.14 supported (3.6/3.7 dropped)
Repo 🔗 https://github.com/CuriousLearner/django-phone-verify
Here’s an unpublished photo of @felixxm during Django On The Med 2025 🏖️
He kept coding with full focus even after all tables and chairs were removed and we were ready for lunch 🧘♀️
At that moment he was working on a pull request that adds database-level delete options for related fields which makes Django 6.1 more efficient by avoiding unnecessary queries 🚀
He has just merged this PR, making the new feature available for everyone 🎉
Django 6.1 will support database-level delete options for related fields 🚀 The database variants are much more efficient because they avoid fetching related objects ⚡ This is a great win for Django on the Med 🏖️ Let's dance 💃🕺
rediffusion du #PythonRennes du 15/10/2025 est en ligne : https://www.youtube.com/watch?v=T5k616MqHCs
Sujets et supports :
- actualités #Python par Michel https://github.com/lucsorel/conferences/blob/main/python-rennes-2025.10.15-a_kind_of_magic/2025.10.15-a_kind_of_magic-quoi-de-noeuf.pdf
- Python et la magie du typage statique par Florian https://www.slideshare.net/slideshow/python-rennes-octobre-2025-les-types-c-est-magiques/283820697
- Méthodes magiques, pattern matching et métaclasse : une syntaxe de parcours de données par @lucsorelgiffo https://github.com/lucsorel/conferences/tree/main/python-rennes-2025.10.15-a_kind_of_magic
Merci à Hellowork pour l'accueil et Alex pour la captation vidéo.
Pour rejoindre le slack Python Rennes : https://join.slack.com/t/pythonrennes/shared_invite/zt-1yd4yioap-lBAngm3Q0jxAKLP6fYJR8w
Nil Bacardit & Roger Boixader Güell demo Guillotina Volto: A New Backend for Volto
https://2025.ploneconf.org/schedule/talks/guillotina-volto-a-new-backend-for-volto
#PloneConf2025 #Plone #Python #Volto #ReactJS #OpenSource #CMS #Zope #Pyramid #Django #RestAPI
Kennt jemand einen einfachen weg um alle Daten von #Spotify nach #Deezer zu bekommen?
Ja, es gibt kostenlose WebDienste, aber ich würde gern meine Daten nicht aus der Hand geben.
Hab https://github.com/nocfer/spotify-to-deezer gefunden. Ist aber 4 Jahre alt. Glaube kaum, das es noch funktioniert.
Ansonsten gibt es die #Python pakete https://pypi.org/project/spotipy/ und https://pypi.org/project/deezer-python/ die aktuell gepflegt werden.
Ich kann vermutlich was eigenes basteln...
un site pour explorer de façon interactive les packages #Python en ligne sur @pypi : https://pypiplus.com/.
- activité sur le projet
- documentation
- dépendances : intéressant notamment pour tout ce qui concerne les attaques de #supplyChain
des conseils d'utilisation de #uv pour réduire la taille de l'image #Docker lors de la conteneurisation de votre application #Python : https://ashishb.net/programming/using-python-uv-inside-docker/
@verzulli @trotto @gdgpescara and if you live nearby Pescara we'll wait for you to the next events of Python Pescara. In the website you'll find the link for the Meetup events or for propose a talk on Sessionize 👇
https://pescara.python.it/
Now that #Python 3.14 is out and Python 3.9 is finally EOL, I'm really looking forward to using pattern matching, string enums, and keyword-only dataclasses in more codebases.
🎉 I hadn't kept up with what Django's Steering Council had been up to outside of random board updates, and I'm happy to share how impressed I am with how transparent they are.
They are meeting several times a month and sharing their minutes as they go. https://github.com/django/steering-council
They are even sharing on the Django Forum to bring more visibility to what they are doing https://forum.djangoproject.com/t/django-steering-council-meetings-2025/38306
These are very welcoming changes. 👏👏
Hey, y'a un meetup #Python ce soir sur #Paris !
https://discuss.afpy.org/t/sur-paris-meetup-le-16-octobre/2735
(Mais je ne pourrai pas venir, sniffffffffff, vivement la PyConFR...)
C'est qui qui s'est pas encore inscrit pour la #PyConFR (30 octobre → 2 novembre, à Lyon) ?
un article - non spécifique à #Python - sur la coloration syntaxique qu'on peut utiliser dans nos éditeurs de code : https://tonsky.me/blog/syntax-highlighting/
Une réflexion sur le dosage du nombre de couleurs pour que cette coloration nous soit vraiment utile.
L'auteur propose notamment une démarche pour se construire le thème coloré qui vous convient. Le sien s'appelle alabaster, il est disponible pour une diversité d' #IDE.
Just released! 🚀🚀🚀🚀🚀
Pillow 12.0.0
https://fosstodon.org/@pillow/115379893139846791
norwegianblue 0.23.0
https://github.com/hugovk/norwegianblue/releases/tag/0.23.0
pypinfo 23.0.0
https://github.com/ofek/pypinfo/blob/master/CHANGELOG.rst#2300
Humanize 4.14.0
https://github.com/python-humanize/humanize/releases/tag/4.14.0
Tablib 3.9.0
https://github.com/jazzband/tablib/releases/tag/v3.9.0
#Python #release #Pillow #pypinfo #Humanize #norwegianblue #Tablib
🇫🇮 @pyconfi (Friday)
🇸🇪 @pyconsweden (Hallowe'en)
🇮🇹 @pycon (May)
Slightly outside the window but:
🇪🇺 @europython (July)
Which will be the first package in the top 360 to declare support for Python 3.15?
Why, it's @coveragepy, of course!
Congrats to the newest PSF’s Community Service Award recipients!
@glasnt, @sarahkuchinsky, and @mathsppblog have each made lasting contributions to the #Python community 🐍🗺️ From conferences to tutorials to education worldwide, their service to the Python community deserves recognition and celebration!
https://pyfound.blogspot.com/2025/10/announcing-psf-community-service-award.html
Vitaliy Podoba shows Integrating Plone and Django: A Real-World Case Study with Nginx SSI
#PloneConf2025 #CMS #Plone #Python #Volto #ReactJS #OpenSource #Django #Nginx #SSI #CaseStudy
📣 #Python #Rennes, c'est ce soir ! 🎉
Merci à Hellowork de nous accueillir 🙏
https://social.breizhcamp.org/@pythonrennes/115299637281975247
The October edition of the PSF Board Office Hour is about to begin 🐍 🗒️ 9 PM UTC. Join us to share how we can help your community, express your perspectives, and provide feedback for the PSF! #python
https://pyfound.blogspot.com/2024/08/ask-questions-or-tell-us-what-you-think.html
Forget* about Python 3.14, all the cool kids are trying out Python 3.15.0 alpha 1 (but not on production)! 🚀
🔬 PEP 799: A dedicated profiling package for Python profiling tools
💬 PEP 686: Python now uses UTF-8 as the default encoding
🌊 PEP 782: A new PyBytesWriter C API to create a Python bytes object
⚠️ Better error messages
https://discuss.python.org/t/python-3-15-alpha-1/104358?u=hugovk
* Please don't forget about 3.14...
Thanks to @ambv for this important addition to the 3.14 -> 3.15 meme folder.
#Python #Python314 #Python315
Django bulk_update memory issue via @paulox https://lobste.rs/s/kfspok #databases #python #web
https://blog.pecar.me/django-bulk-update-memory-issue
October TODO:
✅ PyCon Estonia 🇪🇪
✅ Python 3.14.0
✅ Python Docs Community meeting
✅ PyCon Africa online 🇿🇦
🌀 Python 3.15.0a1
◻️ Pillow 12.0.0
◻️ Tablib+pypinfo+etc
◻️ PyCon Finland 🇫🇮 + sprint
◻️ Helsinki Python meetup 🇫🇮
◻️ Crisp Sandwich Day 🥪
◻️ Stockholm Python User Group 🇸🇪
👻 PyCon Sweden 🇸🇪
Django forever · Applied Cartography via @paulox https://lobste.rs/s/fqmjsc #python #web
https://jmduke.com/posts/post/django/
Speaking about Python and Guido van Rossum, the documentary “Python: The Documentary” is now freely available on YouTube:
I really like this interview with Guido von Rossum, Python creator and original Benevalent Dictator for Life (BDfL) of Python development. The questions keep pushing AI as something formidable to be looking forward to, and most of the answers are either a) AI is not special in many regards; b) not looking forward towards AI development.
/via @pythonrennes
une interview de Guido van Rossum, le créateur de #Python : https://www.odbms.org/blog/2025/10/beyond-the-ai-hype-guido-van-rossum-on-pythons-philosophy-simplicity-and-the-future-of-programming/
Qq sujets abordés :
- un sentiment mitigé sur la suppression du #GIL : utile pour qq grosses entreprises, mais pénible pour les core developers et les personnes qui maintiennent des frameworks #opensource
- #IA : le code a toujours besoin d'être lu et maintenu par des personnes, inquiétude des moyens donnés aux personnes amorales
- annotations de typage : utiles lorsqu'une base de code "ne tient plus en tête"
Some stats from core dev Shantanu Jain showing Python 3.14 had more usable packages on day 1 than other recent releases.
New releases of cibuildwheel adding 3.14 also helped.
"I said this last year too, but every time one of those lines moves, it’s because someone somewhere did something in response to a new Python version, and made that labour freely available on the internet — this will never not be insanely cool to me."
https://discuss.python.org/t/stats-on-python-3-14-support-on-pypi/104319
The pdb module now supports remote attaching to a running #Python process using a new -p PID #cli; this one is so niiiice 🤩 option https://docs.python.org/3.14/whatsnew/3.14.html#pdb
Why, in 2025, do we still need a 3rd party app to write a REST API with Django? via @paulox https://lobste.rs/s/1zi5g0 #python #web
https://emma.has-a.blog/articles/why-do-we-need-an-external-app-for-rest.html
Django: Introducing django-http-compression - Adam Johnson via @paulox https://lobste.rs/s/8jcoxk #performance #python #web
https://adamj.eu/tech/2025/10/10/introducing-django-http-compression/
Honestly one of the most annoying things when switching from #Python to #GoLang or vice versa is that they switch the meaning of "package" vs "module".
In Python, a module is a single source file, while a package is a collection of modules.
In Go, a package is a collection of source files in a single directory, while a module is a collection of packages.
Django: One ORM to rule all databases
For comparison, this is the #Python implementation. (And yes, it's 23 "lines" in the file, but if you subtract the boilerplate it's indeed exactly 10 lines of code.)
My Django On The Med 2025 by @paulox https://lobste.rs/s/jd4tj8 #python #web
https://www.paulox.net/2025/10/12/my-django-on-the-med-2025/
Like you, @carlton, I'm still recovering from the intense days we've had. I was able to publish the post timeline so quickly because I automated the process with Python, Pelican, Jinja and Mastodo.py ... the main job was just publishing posts consistently throughout the event. 🤖
@shearichard Windows and macOS users can select the installer option to get free-threaded binaires:
https://docs.python.org/3/using/windows.html#id3
https://docs.python.org/3/using/mac.html#install-freethreaded-macos
Some Linux distros also have free-threading packages, for example:
https://packages.fedoraproject.org/pkgs/python3.14/python3.14-freethreading/
And uv also has binaries for all three platforms:
I've pushed Textual v6.3.0 which now supports Python 3.14
It also drops support for Python3.8 which reached its EOL just over a year ago. So long 3.8. 🫡
My relay at https://fedi-relay.gyptazy.com has currently 139 instances connected, mostly tech related sharing the same mindset and interests like #Linux, #BSD, #Ansible, #Proxmox, #Coding, and many more! You can easily join from your instance when using #Pleroma, #snac (#snac2), #Mastodon and its forks 🙂
#fedi #fediworld #fedicommunity #community #FreeBSD #OpenBSD #NetBSD #homelab #Python #Debian #RockyLinux #Feditips
I think I've mentioned it a couple of times, but I'm also working on writing my own programming language, #Mifflin, to use instead of #Bash or #Python for shell scripting.
I've discovered that it's actually doing something relatively new, as it's statically-typed... all the others I've seen are dynamically-typed. No, TypeScript doesn't count. 😏
Immense fun, in any event. I hope to have something to release soon. Maybe a month?
TIL: Python's splitlines does a lot more than just newlines
https://yossarian.net/til/post/python-s-splitlines-does-a-lot-more-than-just-newlines/
I'm at Girona airport waiting for my flight back to Pescara 🐬
Thanks to all the members of the @django community who trusted us and joined us in Palafrugell 🏖️
I still remember talking about the Django Sprints first with @felixxm , Simon Charette, @carlton and @wsvincent at @djangocon 2022 in San Diego 🌴
Special thanks to Carlton for believing in this idea and for carrying the weight of organizing the first edition. 🤗
Carlton, we did it! 🙌
🐍 Python Insider: #Python 3.14.0 (final) is here!
https://pythoninsider.blogspot.com/2025/10/python-3140-final-is-here.html
#TIL about UUID7 (mainly because it's now supported in the new #python 3.14). Until today I thought, why bother, uuid4 is fine.
Turns out, UUID7 comes with a free timestamp and the generated ids sort by time.
Read about it here
https://uuid7.com/
And it's available as a library for older python versions, too. https://pypi.org/project/uuid7/
I have a few projects where I use UUID4 for temporary files - I'm going to move these over to UUID7
Python 3.14 is here. How fast is it?
https://blog.miguelgrinberg.com/post/python-3-14-is-here-how-fast-is-it
Un outil Python simple, mais intéressant, pour dynamiser des diagrammes PlantUML. J'avais vu une fois une méthode alternative à base de SVG ... https://github.com/namuan/animate-puml #plantuml #animation #python
The third evening of Django On The Med 🏖️ was as amazing as the others 😊
It was the perfect way to wrap up a few intense and memorable days 🌅
We said goodbye to some friends but everyone left happy with the time shared together 💫
I look forward to seeing all of you again at the next edition 👋
#DjangoOnTheMed #Django #Python
CC @django
We released Python 3.9, 3.10, 3.11, 3.12, 3.13 and 3.14 this week but I'm sorry you're going to have to wait until next week for 3.15.
https://discuss.python.org/t/python-3-12-12-3-11-14-3-10-19-and-3-9-24-are-now-available/104273
https://discuss.python.org/t/3-13-8-has-been-released/104211
https://discuss.python.org/t/python-3-14-0-final-is-here/104210
OK. Je viens de terminer 3 jours de formation avec une extinction de voix. Oui c'était moi le formateur. #python.
Oui j'ai fait 3 jours en chuchotant au micro.
Ceux que ça intéresse qu'on ajoute la formation « Python avancé ASMR » au catalogue, fav', que je vous compte ;)
Better Syntax Error Messages with Python 3.14 - Article by Philipp Acsany #Python #Programming https://realpython.com/python314-error-messages/
une visite guidée des nouveautés de #Python 3.14 réalisée par @realpython : https://realpython.com/python314-new-features/
I finally pushed publish on why I moved from HTMX to Datastar.
https://everydaysuperpowers.dev/articles/why-i-switched-from-htmx-to-datastar/
This feels a little more like a conference talk than a blog post, but there was too much to sum up, but not enough to overwhelm.
I'd love to know your thoughts!
The third morning marks the end of this first edition of Django On The Med 🏖️
It’s amazing how much we achieved in such a short time, with a small group of focused developers. 💪
The goal of the sprints has been fully reached. But the experience is not over yet, this afternoon’s rest and tonight’s dinner are part of the social side too. 🌅
#DjangoOnTheMed #Django #Community #Python #Sprints
CC @django
#Apache #OpenDAL est une couche d'abstraction au stockage des données, en proposant une interface commune (https://github.com/apache/OpenDAL).
On retrouve le file system, AWS S3, mais aussi Google Drive.
Utile lorsque l'on souhaite supporter plusieurs stockages pour une même fonctionnalité. Et bien entendu avec la bibliothèque #Python qui va avec : https://github.com/apache/opendal/blob/main/bindings/python/README.md
une conférence de @pybeach présentant des bonnes et des mauvaises pratiques concernant le pattern matching structurel en #Python : https://www.youtube.com/watch?v=MWAfiyJ9NOw&list=PLwdA5WU2fAAvCIOjgnYDA7NrGJ8iFh97t&index=3
Une fonctionnalité arrivée dans Python 3.10 (https://peps.python.org/pep-0636/, https://realpython.com/structural-pattern-matching/) et dont @dblanchet nous avait parlé en janvier 2024 (merci !) : https://youtu.be/qAS-zj0irEM?si=9_tcDrSXpjHyr8R9&t=5765
Without attending to #DjangoOnTheMed 🏖 I would never found 3 days to work on database-level delete options. It's nearly done🎉💚 #Django #Python #sprints
Pythonistas, have there been changes to the marshal library that could result in two identical dicts producing different marshaled output?
I was relying on an assumed property that dumps(a) == dumps(b), if a == b.
That appeared to have been true up an till Python3.14
@treyhunner Here's some from @nedbat: https://nedbatchelder.com/blog/201904/startuppy.html
Pre-import common modules, define a paste() function, and set up shared history file between versions.
I'm not using it right now (been momkeying with theme colours instead), but have found the pre-imports and shared history useful.
RE: https://mastodon.social/@hugovk/115282458810281136
PyCon Africa starts tomorrow with a keynote from @BajoranEngineer!
https://za.pycon.org/schedule/?block=6
And you can still get a bargain online ticket:
Python 3.14 introduces free-threaded mode, t-strings, and a new debugger interface, bringing major speed and usability improvements.
https://linuxiac.com/python-3-14-released-with-free-threaded-mode/