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.
🤔 The griping and moaning on Mastodon is about to dial to 11.
boostedcompany making maintainer work easier is now owned by company making that work harder https://astral.sh/blog/openai #Python
RE: https://techhub.social/@Techmeme/116256023795725433
#OpenAI a fait l'acquisition de #Astral, l'entreprise qui édite différents outils de l'écosystème #Python, écrits en #rust :
- ruff : linter et formateur de code
- uv : gestionnaire de dépendances
- ty : vérification statique de typage
Voir : https://astral.sh/blog/openai
OpenAI agrees to acquire Astral, which makes Python tools for developers, to integrate its team into Codex, and says Codex has 2M+ users, up 3x since January (Agnee Ghosh/Bloomberg)
https://www.bloomberg.com/news/articles/2026-03-19/openai-to-acquire-python-startup-astral-expanding-push-into-coding
http://www.techmeme.com/260319/p27#a260319p27
Chic, les vidéos de la PyCon FR 2025 sont en ligne ici -> https://pyvideo.org/events/pycon-fr-2025.html
Hop, de quoi bien occuper les pauses au boulot ;)
The popular #Python library “Requests” needs your help! @nateprewitt plans to add type hints to the API and is requesting feedback:
https://sethmlarson.dev/python-library-requests-is-adding-type-hints-and-needs-your-help
A febbraio abbiamo fatto il primo evento dell’anno di #PyVenice !
🗣️ Due interventi sui #framework del momento, #flask e #django
⚖️ Un confronto tra #python e #javascript, in termini di #ServerSide e #ClientSide rendering
🚀 Come #DjangoNinja ha reso veloce le #REST di Django, mostrando il codice in azione !!!
🕖 Noi ci vediamo il 16 aprile 2026, con il #workshop su #n8n ‼️
Info e prenotazioni 👇
https://www.meetup.com/pyvenice/events/312919609/
💾 NON mancate !
Django REST Framework 3.17 has just been released 🎉
Long overdue release with official support for Django 6.0 and Python 3.14
Also, new docs theme ✨ (and many others changes)
Is there a less planet burning #ai coding assistant for #python coding or are the big services what I should be looking at?
When #coding I search a lot so the 10 X more energy per request might be less impactful if it saves me a bunch of search attempts.
I am not a good programmer, I don't do it often enough for that and so I also don't particularly enjoy it a lot of the time. This feels too new like a perfect use case for these tools and a chance to experiment.
BlogMore v2.0.0 is now available. It's my experiment in building an #ssg for my blog using nothing but #GitHub #Copilot. This update gives more control over how various URLs are made up.
I'm re-reading Monstrous Regiment by Terry Pratchett, and decided to add a new random error window title to @novelwriter 😁
I was completely unaware of this project until today. CPython is getting a JIT (just-in-time) compiler!
Python 3.15’s JIT is now back on track | Ken Jin’s Blog
https://fidget-spinner.github.io/posts/jit-on-track.html
RE: https://fosstodon.org/@djangoconeurope/116250429589221893
I'm thrilled that my current employer is a 🩶 sponsor 💸 of the @djangoconeurope 2026 in Athens 🇬🇷 I will be there too, so don't hesitate and say hi! 🤝 #django #python #conference
📢 Silver sponsor: Divio
Divio is a developer-first PaaS built for digital agencies that removes DevOps friction so teams can build, deploy, and scale web applications faster.
Thank you, Divio, for supporting DjangoCon Europe 2026. See you in Athens!
🚨ICYMI: The #PyConUS 2026 schedule is officially live!!🚨
Talks, Tutorials, and Charlas—it’s all there!
Don’t wait, register today and start planning your week with us in Long Beach, CA! 🌴
How it started: "We can vibe-code our web apps from now on! It'll be great!"
How it's going: https://translate.kagi.com/?from=en&to=valley%20girl%20but%20also%20describe%20iteration%20in%20Python&text=How%20are%20you%20feeling%20today%3F
#Kagi #AI #LLM #translate #guardrails #VibeCode #vibecoding #security #WeveHeardOfIt #ValleyGirl #Python
"Your editor should line-wrap #python docstrings".
Yeah? I think `ruff` should line-wrap python docstrings, and it doesn't, so why should my editor be able to do it?
NaN is weird. - Dan Shernicoff's Musings
https://brassnet.biz/blog/nan-is-weird.html
Bardzo sprytne narzędzie. To, co zrobimy w "notebooku" możemy też od razu jako skrypt uruchamiać.
On cherche un stagiaire équivalent Master 2 pour de la géomatique et traitement d'image.
Le coeur du travail est de la programmation Python avec GRASS GIS.
Vol financé.
#stage #géomatique #traitementDImage #Python #GRASSGIS #jeRecrute
Christopher Neugebauer [he/him/his/(they/them ok)] » 🌐
@chrisjrn@social.coop
As promised:
I'm a staff-ish level software engineer, fairly deeply involved in the Python community (see @NorthBayPython which I organise, and @ThePSF where I'm a board Director). Things I like: understanding/taking apart/reassembling systems; open source; technology in service of humans. Otherwise not terribly picky :)
Things I'm good at: programming in #Python (other languages acceptable, of course), communicating complicated stuff in conference talks, probably a few things related to that. Ask?
After weeks of trial & error, I finally had #FreeBSD run #Python Torch software (the #AI / #MachineLearning stuff) with my NVIDIA Thunderbolt eGPU using the #Linux Binary Compatibility. Here are the notes summed up and sorted.
https://www.tumfatig.net/2026/generative-ai-using-linuxulator-and-egpu-on-freebsd/
If you are a developer who maintains a #Python client library for a REST API, do you know how you can make me, a user of your library, truly happy?
Riddle your library with `logging` calls. And give me a easy knob, preferably an environment variable, to turn the log level up. Way up.
After Madblog, how many of you would like #ActivityPub and #Indieweb support to come to GPSTracker too?
This is an idea that I’ve been flirting with for a while.
Like many Millennials, 10-15 years ago I was into the Foursquare-mania. It was the age where pubs would offer discount to their Foursquare mayor and where people used to share their Foursquare stats and compete on how many badges they had collected.
Then Foursquare decided to pivot its platform towards the business-side instead, the check-in app was spun off into Swarm, it gradually lost users but it gained trackers, and by now I think only 1-2 of my contacts (out of >100 in the golden age) still use it.
By now I don’t think anyone has filled that gap; there isn’t any social media built around networks that share and recommend their check-ins.
#GPSTracker already supports a lot of tracking, timeline and check-in features, synchronization of geo events with mobile devices, and even stats with arbitrary aggregations (by country, time range, city, region etc.). Plus some features that Foursquare never implemented (like searching for checkins on the timeline by simply selecting an area on the map).
#Microformats already support location tags through the h-adr class, although they are rarely used. Both #Webmentions and ActivityPub could send check-in activities as permalinks to pages with those tags. And the #OpenStreetMap APIs could do the heavylifting of retrieving POIs in in a certain lat/long box.
The only hurdle would be implementing the protocols under the hood, as both the Webmentions and Pubby libraries are in #Python while #GPSTracker is in #Typescript. But it could be a good chance to start writing multi-language bindings for those libraries.
Let me know if it’s something that you would use, or even self-host, and if you know if there’s anything in the Fediverse that already fills this niche.
RE: https://mastodon.social/@lobsters/116241885772634780
Oxyde looks really cool. I work with Pydantic a lot, but have missed having the Django ORM. Oxyde appears to bring a Django ORM-like experience to Pydantic, and I'm here for it.
“EuroPython is a welcoming community - you’ll bond over shared experiences before you know it! Just stay open, and your environment will do the rest.”
In our latest interview with Kshitijaa Jaglan, member of the Sponsorship team at EuroPython 2025, shares her tips for new volunteers, enabling sponsors, and more:
https://blog.europython.eu/humans-of-ep-kshitijaa
#europython #conference #volunteers #python #contributors #europython2025 #opensource
Out with the new and in with the old! ;)
Introducing the droidCon Archive:
https://www.youtube.com/@droidConArchive
This channel hosts droidCon talk videos from before 2024. It is replacing the old archive area on the droidcon website.
A Python script is currently battling Google API limits to migrate the vault, so content is growing daily. If old Android videos are your thing, check it out!
#AndroidDev #droidcon #TechArchive #Android #MobileDev #Python
un article très complet de @gaborbernat présentant les différents types de vulnérabilités d'un projet Python via ses dépendances et des façons d'y remédier : https://bernat.tech/posts/securing-python-supply-chain/
- définir des versions strictes de vos dépendances
- utiliser un lockfile pour spécifier les dépendances transitives
- inclure une étape d'audit des dépendances dans son intégration continue
- publier vos versions sur PyPI via le système Trusted publishing
still building this beautiful #python #asetniop #curses editor with special focus for me as a #playwright.
unlike the screenwriter-focused #fountain, it is truly and fully #markdown based, with some additional styling added.
also it’s fully customizable; you just have to modify a very readable style.py to your liking! no .css vomit or wysiwyg menu hell

New blog post: How big are the blocks in my city.
https://www.grulic.org.ar/~mdione/glob/posts/block-sizes-from-osm-data/
If you're new to contributing to Django and you're using an LLM, please consider reading this. We want to bring you into the community, but we can't do that only interacting with an LLM's output.
https://www.better-simple.com/django/2026/03/16/give-django-your-time-and-money/
Python Tip #75 (of 365):
Don't use the string split() method for splitting lines. Use the splitlines() method instead.
Instead of calling split with "\n":
lines = poem.split("\n")
Use the splitlines method:
lines = poem.splitlines()
The string splitlines method will:
• Trim a trailing newline (if there is one)
• Split by "\r\n", "\n", or "\r"
More on splitlines: https://pym.dev/splitlines/
This week's daily tips are all about string methods in Python.
If you're new to contributing to Django and you're using an LLM, please consider reading this. We want to bring you into the community, but we can't do that only interacting with an LLM's output.
https://www.better-simple.com/django/2026/03/16/give-django-your-time-and-money/
I have been suggested that the company I'm working is not doing well. Than and a push for AI is telling me it's maybe time to move on.
What am I? Currently I'm doing #Python, #SysAdmin, GitHub/GitLab admin (yes, both), some Kafka, used to do some Postgres (now we have a DB team), Ansible and more.
In the past aka CV: https://www.grulic.org.ar/~mdione/
What do I want? No AI, no gambling, no blockchain. In #Marseille or remote. I can invoice abroad, but I would rather be an employee.
1/
Censor, a new document redaction tool, is there!
It allows to draw black rectangles on PDF documents and to permanently remove the text and images below. Find it on @Codeberg: https://codeberg.org/censor/Censor, get it from @flathub: https://flathub.org/apps/page.codeberg.censor.Censor, or translate it on Codeberg Translate: https://translate.codeberg.org/engage/censor!
It is a free and open-source graphical user interface (GUI) for #Linux and the #GNOME desktop, and uses the #MuPDF library with its #python bindings from the #PyMuPDF module.
“A historic moment for Censor”
#Censor – the PDF redaction tool for the @gnome desktop – comes now with a new edit history. It allows you to undo and redo redactions using the right-click context menu or keyboard shortcuts. Also, a bug that prevented repeated saving to the same file path was fixed.
Get the new version from @flathub: https://flathub.org/apps/page.codeberg.censor.Censor, and find it on @Codeberg: https://codeberg.org/censor/Censor/releases/tag/v0.4.0
You may now talk Chinese, Dutch, English, Estonian, Finnish, French, German, Italian, and Vietnamese with Censor (thanks a lot to the translators!). If your language is missing from this list I invite you to contribute at Codeberg Translate: https://translate.codeberg.org/engage/censor
#censorship #redaction #PDF #Codeberg #Flatpak #Flathub #GNOME #python #MuPDF #PyMuPDF #Linux
“Better safe than sorry”
For release 0.5.0 of #Censor, a lot of work went into improving the security of PDF redaction.
PDF documents are tricky, and irrevocably removing elements from them is even more. With this release, before saving a redacted document, garbage is now properly collected and documents are sanitized, which means that metadata, page thumbnails, etc. are removed.
Also, vector graphics are now removed with a more strict option when they overlap with redaction rectangles. On top of that, I added redaction of PDF annotations.
The user interface was refreshed: with undo and redo buttons in the toolbar and improved document saving experience. Drawing rectangles is now indicated by a crosshair cursor.
Thanks to the translators, you may now talk also Czech with Censor!
Get it from @flathub: https://flathub.org/apps/page.codeberg.censor.Censor, or contribute on @Codeberg: https://codeberg.org/censor/Censor
#censorship #redaction #PDF #Codeberg #Flatpak #Flathub #GNOME #python #MuPDF #PyMuPDF #linux
I'm a software developer and sysadmin who could really use being #fedihired.
What I'd really like to do is Rust, but once you ignore the dubious crypto and AI stuff, there seems to be nothing out there. Prove me wrong with a counterexample!
I've spent decades fixing Enterprise mudballs mostly written in #Perl. If you've got a crufty legacy system that everybody else is too scared to touch, I'm your man. I love fixing stuff like that.
I've also done commerical #Scala, #Python, #C/#C++, and although I don't usually admit it on my CV but these are now Trying Times when everything is on the table, even #PHP (the longest six months of my life).
Perl naturally leads into Unix system administration and infrastructure. I've built and maintained mail clusters, VoIP systems, network monitoring, DNS management platforms, that sort of thing. If it's non-sexy but something which needs to be done, I'm there.
Available immediately, for contract or permie, onsite in Amsterdam/Randstad or remote to anywhere.
"Jazzband is sunsetting. New signups are disabled. Project leads will be contacted before PyCon US 2026 to coordinate transfers."
Mastui TUI client for mastodon written in python
#Python #Textual #TUI #Mastodon
https://github.com/kimusan/mastui
If anybody finds any use for my Wordcloud script, I would love to know!
https://github.com/vwillcox/MastoCloud
#Wordcloud #Mastodon #Python #Github #Code #MastoCloud #foss #oss #git #code
“If you're using print calls to debug your Python code, consider using f-strings with self-documenting expressions instead.”
Read more 👉 https://pym.dev/debugging-with-f-strings/
Did you miss the #PyTV livestream earlier this month? It's not too late to watch it. Wanna know how it goes? Check this out: https://blog.jetbrains.com/pycharm/2026/03/python-unplugged-on-pytv-recap/
#Python #AI #OpenSource #DataScience
https://blog.jetbrains.com/pycharm/2026/03/python-unplugged-on-pytv-recap/
Pretty sad.
Jazzband, the #python/(heavily #django) OSS group is shutting down due to, among other things, AI slop.
“What happened
The slopocalypse
GitHub’s slopocalypse – the flood of AI-generated spam PRs and issues – has made Jazzband’s model of open membership and shared push access untenable”
This model underpinned a lot of that ecosystem. I have to wonder what happens to several of these projects.
Very interesting summary of different approaches to improve #python / #pydata performance: https://cemrehancavdar.com/2026/03/10/optimization-ladder/
If you maintain a @jazzband project, expect an email before @pycon. django-commons is a great option if you're looking for a new home, they've already taken on several projects and got the governance right from day one.
Wind-down plan: https://jazzband.co/news/2026/03/14/wind-down-plan
(3/3)
My presentation at #PyConFR25 is online (I'm late to notice, but thanks @AFPy !)
If you're curious about how to spawn 10000 virtual filesystems to read the @swheritage archive (in #Python) : https://indymotion.fr/w/uiD5uX2WFe9kagAvL5yR9D
Just released the 1.14 version of slixmpp, the python XMPP library. It brings support for three more extensions, and adds other nice things!
Update: actually I caught a bug right after releasing, so I am substituting 1.14.0 with 1.14.1.
Helsinki Python @HelPy has joined @ThePSF MeetUp Pro Network and is now the northernmost group! Welcome along to our monthly meetups:
https://helsinki-python.github.io
Looks like Python NZ Christchurch is the southernmost, Python NZ Wellington is the easternmost, and PyHawaii the westernmost.
Find out how your group can join here:
https://discuss.python.org/t/applications-to-join-the-psf-meetup-pro-network-are-back-open/106499
une bibliothèque de validation de données pour les dataframes Polars et pandas, qui propose une interface pour consulter les problèmes de cohérence de données et aider à les résoudre : https://posit-dev.github.io/pointblank/
Un tutoriel de @markpitblado expliquant son utilisation avec Polars : https://www.markpitblado.me/blog/validating-data-with-pointblank-in-python/
sudo mkdir -p /etc/apt/keyrings
sudo curl -L -o /etc/apt/keyrings/ntfy.gpg https://archive.ntfy.sh/apt/keyring.gpg
sudo apt install apt-transport-https
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/ntfy.gpg] https://archive.ntfy.sh/apt stable main" \
| sudo tee /etc/apt/sources.list.d/ntfy.list
sudo apt update
sudo apt install ntfy
sudo systemctl enable ntfy
sudo systemctl start ntfy
#ntfy #notifications #programming #Android #Linux #sh #bash #csh #ksh #zsh #fish #curl #http #javascript #golang #powershell #python #php #technology #OpenSource #POSIX
ntfy
Today I read the brief synopsis of ntfy Android. I saw there that via linux the control and operation is fairly simple & straightforward
I went to the site and started reading.
sh
curl -d "Backup successful 😀" ntfy.sh/mytopic
a.out
ntfy publish mytopic
"Backup successful 😀"
HTML
POST /mytopic HTTP/1.1
Host: ntfy.sh
Backup successful 😀
javascript
fetch('https://ntfy.sh/mytopic', {
method: 'POST', // PUT works too
body: 'Backup successful 😀'
})
golang
http.Post("https://ntfy.sh/mytopic", "text/plain",
strings.NewReader("Backup successful 😀"))
python
requests.post("https://ntfy.sh/mytopic",
data="Backup successful 😀".encode(encoding='utf-8'))
php
file_get_contents('https://ntfy.sh/mytopic', false, stream_context_create([
'http' => [
'method' => 'POST', // PUT also works
'header' => 'Content-Type: text/plain',
'content' => 'Backup successful 😀'
]
]));
Markdown formatting¶
You can format messages using Markdown 🤩. That means you can use bold text, italicized text, links, images, and more. Supported Markdown features (web app only for now):
Emphasis such as bold (bold), italics (italics)
Links (some tool)
Images ()
Code blocks (code blocks) and inline code (inline code)
Headings (# headings, ## headings, etc.)
Lists (- lists, 1. lists, etc.)
Blockquotes (> blockquotes)
Horizontal rules (---)
Read more on
https://docs.ntfy.sh/publish/#markdown-formatting
Sources:
https://docs.ntfy.sh/publish/#markdown-formatting
#ntfy #notifications #programming #Android #Linux #sh #bash #csh #ksh #zsh #fish #curl #http #javascript #golang #powershell #python #php #technology #OpenSource #POSIX
A @djangonaut cohort is focusing on django-simple-deploy from now through the end of April. It's so nice to have a small, focused group of people to work with and move this project forward!
This has put renewed focus on the dsd-vps plugin. I tabled that last fall, because there are so many questions to sort through when automating a VPS deployment process. The 0.1.1 release (very preliminarily) supports this workflow now:
I am taking 20 days off 🌴 and then starting my new role as a Principal Software Engineer at the #Openshift #Container Platform focusing on #golang #cloud #infrastructure #kubernetes #k8s
Same company! #RedHat is amazing! just a different challenge for at least the next 5 years I wish.
Je suis sûr que vous critiquez toutes et tous #Tkinter, mais j'ai un de #MesÉleves, il est trop fort avec ⤵️
Wrote my first
#Rust program today. A small utility to grab the last value of a matching column in a matching csv file. I had hacked something together with #qsv, #nushell and #python, but those were all too slow for fast repeated calls. This Rust version executes 10-100x faster: a few ms on a
#RaspberryPi 4, neat! 👌
Rust and
#nix is also a match made in heaven, omg is the experience better than Python 🫠
$ csvget scd30 co2
940.66
After fighting for... days?... to figure out why using `@dataclass_transform` wasn't showing the expected intellisense in VSCode, I finally figured out that the Jedi language server doesn't seem to support PEP 681 at all?!
I didn't have access to Pylance (because it's proprietary), but https://open-vsx.org/extension/detachhead/basedpyright does seem to work.
(doing a bananas prototype where #Django models can be derived just from #Python typehints)
@millihertz what #Python really needs is a way to distribute pre-build #conda environments without using flatpak or docker or the like. Yes, you can send an env file and make people download everything themselves, but I'm thinking pre-packaged "this is all the stuff in my environment for this package" as a ZIP type blob that acts as conda environment to the app.
ymmv.
It's important to learn to use libraries properly
Use local docs or use online docs , elevate your programming skills
Ever since I learned of the existence of matplotlib I knew I had another nice task set to have fun programming & keep me busy for a nice while
import matplotlib.pyplot as plt
import numpy as npplt.style.use('_mpl-gallery')
# make data
x = np.linspace(0, 10, 100)
y = 4 + 1 * np.sin(2 * x)
x2 = np.linspace(0, 10, 25)
y2 = 4 + 1 * np.sin(2 * x2)
# plot
fig, ax = plt.subplots()
ax.plot(x2, y2 + 2.5, 'x', markeredgewidth=2)
ax.plot(x, y, linewidth=2.0)
ax.plot(x2, y2 - 2.5, 'o-', linewidth=2)
ax.set(xlim=(0, 8), xticks=np.arange(1, 8),
ylim=(0, 8), yticks=np.arange(1, 8))
plt.show()
A gorgeous mathematical function is plotted when you run the program. I don't want to make screencaps now, use the link to see the output I got.
I use the featherweight geany on the SBC Pi5, you choose which IDE you like.
Yes vim is a superb source code editor. The syntax highlighting is sublime!
Sources
https://matplotlib.org/stable/plot_types/index.html
https://matplotlib.org/stable/plot_types/basic/plot.html
#python #programming #python #libraries #matplotlib #API #mathematics #SBC #Pi5 #arm #arm64 #x86 #Linux #OpenSource
🎉 Happpy VeldaTV day to those who celebrate it.
https://djangotv.com/videos/djangochat/2026/from-kenya-to-london-velda-kiara/
RE: https://mastodon.social/@dzwiedziu/115570876140855775
Sooo, remember my most boosted post of #wrapstodon 2025?
I'm still unemployed, now facing moving out of France by the end of April.
Recap: jack of all trades #Linux sysadmin, with broad, 10y+ experience in system and applications administration. Preferred location would be #Strasbourg or fully remote or as a mentee for #freelance with #ADHD.
(Please clap, I mean boost 🔁)
Turns out it was pure slop and they didn’t even do basic testing. Hey, I learned how to block someone on github so that’s good I guess 🫠#python
I've just had an AI-generated pull request end up in one of my repos, whereupon without my consent github's fucking AI tool immediately sprung on to it and started doing a "code review", spamming the PR with dozens of unsolicited comments. So now I not only have a hard-to-review AI PR, but also a dozen comments by a different AI to wade through to make sense of it all. I might just close both if they can't convince me they actually tested this.
🐍🚀 Out now: Python 3.15 alpha 7!
This is the first one with lazy imports (PEP 810) and frozendict (PEP 814)! Try it out and give us feedback.
https://discuss.python.org/t/python-3-15-0-alpha-7/106475
☃️ Just one alpha left until the feature freeze! Core team: get your PEPs in!
#Python #Python315 #release PEP810 #LazyImports #PEP814 #frozendict
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!
I made a thing: here's the upcoming Python releases.
https://hugovk.github.io/next-release/
Oh, look, there's one today! I hope that's out soon...
#Python #dashboard #next #release
🚀️ Rivalcfg v4.16.1 released (hotfix)
This version fixes the sensitivity (DPI) settings of the SteelSeries Rival 3 Wireless Gen 2.
Read more on Rivalcfg website:
The March edition of the PSF Board Office Hour is about to begin 🐍 🗒️ 1 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
Interesting post from @stanfromireland with an annotated chart showing the growth CPython's source code over the decades:
https://blog.python.org/2026/03/cpython-codebase-growth/
#Python #CPython #history
I missed the absurd chardet license change story. 🫠
BTW I would pin chardet <7 and avoid using the relicensed version if you want to avoid issues. ⚠️
Quoting Madison Taylor from Nvidia:
"Given the existence of issue #327 chardet v7.0.0 is absolutely toxic." https://github.com/chardet/chardet/issues/331
Prochain meetup #python à #lyon : jeudi 19 mars !
Rendez-vous à 19h dans les locaux d’OVHcloud. @fcodvpt nous parlera de MkDocs 🐍
Pour s’inscrire ⬇️
https://www.meetup.com/fr-fr/python-afpy-lyon/events/313505021/
Deux astuces très intéressantes pour récupérer le nom de la fonction et en faire ... DES TRUCS https://aarol.dev/posts/helloworld-print/ #javascript #python #astuce
I love Bash. I used to write tons of Bash. There is a lot of Bash in my life, even to this day.
But here's my life now:
* Bash holds some stuff together (small stuff: usually setting variables, aliases, and/or piping together a few CLI tools. See https://github.com/wolf/dotfiles/tree/main/shells/dot-config/shells/topics for examples)
* Zsh is good at doing stuff when I type, so that's my login shell
* If I have to do something interesting, why not just a Python script? In modern times, with a `uv` shebang line and self-specified dependencies ... the only externally visible additional requirement is `uv` itself (you don't even need Python). Just like a shell-based answer: you end up with a single stand-alone file
I'm not going to argue about "but you have to install `uv`". You do you.
@ThePSF (Or 5th March according to the minutes https://www.python.org/psf/records/board/minutes/2001-03-05/. Who wants to fix Wikipedia?)
#Python
Happy 25th birthday to @ThePSF, founded on 6th March 2001!
https://mastodon.social/@victorhck/116182885602728740
I got too excited about "set-and-forget" relative dependency cooldowns coming to #pip that I hacked them together using cron and a script that calculates uploaded-prior-to in pip.conf 👀
https://sethmlarson.dev/pip-relative-dependency-cooling-with-crontab
Wallabako retirement and Readeck adoption https://anarc.at/blog/2026-03-05-wallabako-retirement #wallabako #debian-planet #python-planet
Help needed: Someone removed the #PyLadies #stockholm admins and changed the name of the meetup group, changed logo/header photos of the past event. I wrote about the person and their post in linkedin https://www.linkedin.com/feed/update/urn:li:activity:7435384140042039297/ I hope the larger #python #community can comment in the linkedin post and point out why this is bad. Please boost for more reach.
https://www.meetup.com/pyladiesstockholm/ this is the group. They deleted also the meetup event planned next.
How do you use Python and its related technologies? Let us know in the 2026 Python Developers Survey! 🐍 #python #pythondevsurvey
https://surveys.jetbrains.com/s3/python-developers-survey-2026
Unlike this kitten, you can vote to select talks & workshops for EuroPython 2026!
Head over to https://europython.eu/voting and follow the simple steps.
Voting closes today. Yikes!
#europython #conference #europython2026 #python #opensource #programme #communityvoting
I published the #python binding for my #XML library called pyuppsala https://pypi.org/project/pyuppsala/
Si vous travaillez avec codium / vsCode sur un monorepo comprenant différents projets Python, votre IDE aura des difficultés à savoir quel environnement virtuel utiliser selon le fichier .py que vous consultez. Deux extensions pourront vous aider :
- Envy (https://marketplace.visualstudio.com/items?itemName=teticio.python-envy), qui
fonctionne de façon automatique
- Python Environments (https://devblogs.microsoft.com/python/python-in-visual-studio-code-february-2026-release/) qui nécessite un peu de configuration
Cronboard : un dashboard qui tourne dans le terminal pour gérer ses cron jobs en local et sur serveurs distants.
Autocomplete, validation, pause/reprise, connexion #SSH par clé ou mot de passe
les conférences données à la #PyConFr 2025 sont disponibles en rediffusion : https://indymotion.fr/c/pyconfr2025/videos Merci aux personnes oratrices et organisatrices 🙏
Current status of PEPs for 3.15 with two months until feature freeze:
Informational: 1 (release schedule)
Open (under consideration): 20
Accepted (may not be implemented yet): 5
Finished (done, with a stable interface): 4
Deferred (postponed pending further research or updates): 1
Rejected, Superseded, and Withdrawn: 2
Unmerged PRs: 6
A very cool job opening at WFP for a solution architect, python flavor:
Remote ok! #remotework #python #django #tech #jobs
Very interesting PEP that could unlock a clear way to type Django’s ORM
Python Tip #62 (of 365):
Avoid conditionally present attributes.
Python's "del" statement is pretty much ONLY used to delete dictionary keys (or list indexes).
You'll probably never see "del" used to delete an attribute. There's a reason for that.
Deleting an attribute or a variable name is an odd thing to do.
Creating an object that sometimes has a specific attribute and sometimes doesn't is ALSO odd.
🧵 (1/2)
hello !
La prochaine session de #Python #Rennes (en partenariat avec Rennes hashtag#DevOps) aura lieu le mardi 17 mars chez Kanoma (merci pour l'accueil 🙏) et parlera d'optimiser l'intégration continue de son projet Python (mais pas que).
Inscription sur https://www.meetup.com/python-rennes/events/313623596/ !
- Automatiser une release avec Github actions : montée de version, publication sur PyPI (@lucsorelgiffo)
- Comment l’IA va vous aider à réduire votre impact carbone (@nledez)
#GoodFirstIssue adding support for relative dependency cool-downs to pip. This would be a massive security improvement for users who can then set-and-forget a reasonable cooldown duration in their global pip config.
If you're using Python 3.10-3.12 and you upgrade to these security releases:
https://discuss.python.org/t/python-3-12-13-3-11-15-and-3-10-20-are-now-available/106363/1
Then I'll tell you about Guido van Rossum's new oral histories series, starting with @Yhg1s:
I just said in a podcast (http://RuntimeArguments.fm, though this episode won't be released until Saturday):
"I love `uv`. I want to marry it and have its baby!"
I have a question about Python libraries and testing scope.
If I'm importing 'serial' in my library, and use it like the following to create a connection to a sensor:
--- start code ---
import serial
class Sensor:
def __init__(self, serial_device):
self.__serial_device = serial_device
try:
self.__connection = serial.Serial(
port=serial_device,
baudrate=9600,
bytesize=serial.EIGHTBITS,
parity=serial.PARITY_NONE,
stopbits=serial.STOPBITS_ONE,
)
except serial.SerialException:
print("Could not establish serial connection to sensor")
--- end code ---
how much testing should I do around the serial connection? Just mock up a few buffers (byte streams), and see how my class handles unexpected input?
One the one hand, I want to make the library as solid as possible. On the other hand, I don't want to run tests on code I don't control (the library module). I know of the 'mock-serial' utility, but haven't used it.
The aim is to make a Python version of my Arduino library for the CozIR Ambient CO2 sensor:
My partner is looking for work. I'd appreciate boosts.
He's looking to move into #appsec, but will accept short #webdev or #devops contracts (<12 months). Location: Melbourne Australia, or remote. For a short enough contract he'd go anywhere though.
He's a senior full stack web dev (Linux/python/django/js/elm, ~12 years).
Experienced in dev ops, dev sec ops and automation (ansible, selenium, etc etc).
He has experience with OWASP ZAP, bandit and Snyk, and is part way through the PortSwigger academy.
FOSS contributions include writing a django authentication function for OWASP ZAP, making a wrapper to improve accessibility and usability for selenium (Elemental), and other bits and bobs.
He isn't on any socials, but if you want to get in touch I can share his email or signal ID (or give him yours).
He and I have been the security people for little apps without any dedicated security team, for the last decade or so. If you're in security you might have met him (or me) at conferences (Disobey, BSides, CCC, Defcon and Ruxmon), because we've been attending since we launched our own app in 2014, picking up everything we can to protect our users.
(Yep, he is aware a move to security from senior dev roles will be a step down in seniority and $. He just really likes security.)
Has anyone figured out how to use the Bluesound API to managed playlists via Python using a local NAS drive?
I keep getting hit with 'bad hostname' from curl, either using the IP address or the NAS hostname which is in /etc/hosts
Boost would be welcome. Answers too of course. 😃
Source code analysis
cpython
doc/c-api/abstract.rsc
.. highlight:: c
.. _abstract:
Abstract Objects Layer
The functions in this chapter interact with Python objects regardless of their
type, or with wide classes of object types (e.g. all numerical types, or all
sequence types). When used on object types for which they do not apply, they
will raise a Python exception.
It is not possible to use these functions on objects that are not properly
initialized, such as a list object that has been created by :c:func:PyList_New,
but whose items have not been set to some non-\ NULL value yet.
.. toctree::
object.rst
call.rst
number.rst
sequence.rst
mapping.rst
iter.rst
buffer.rst
objbuffer.rst
▸Chapter 1 — Understanding CPython Before Code
CPython is both a compiler and an interpreter. It compiles Python source code to bytecode, then executes that bytecode on a stack-based virtual machine. Understanding this dual nature reveals how Python achieves its balance between high-level expressiveness and runtime efficiency.
Everything is an object: Integers, functions, classes, modules, even types themselves are objects with a uniform interface
The GIL: A mutex that protects Python objects, simplifying memory management but limiting CPU-bound parallelism
Memory Management: Reference counting (immediate) + cyclic garbage collection (for cycles)
Compilation Pipeline: Source → Tokens → AST → Bytecode → Execution
motivation
I used explorar.dev in this example, but you don't need the internet to analyse source code. Just download them once, then read at your leasure offline
The screencaps are included to show how it can be done via explorar.
Sources:
https://explorar.dev/python/cpython
#python #cpython #programming #source #code #analysis #environment #mathematics #physics #Lineair #Algebra #technology #Linux #BSD #freeBSD #ghostBSD #OpenSource
@mahryekuh It's not accepted yet, so it's helpful to give feedback on the thread, even if only to say you like and would use it.
https://discuss.python.org/t/pep-813-the-pretty-print-protocol/106242
#Python
Today I learned about a relatively new PEP to improve pretty printing in Python. 🤩
Deprecate confusing APIs like “os.path.commonprefix()”. After fixing a vulnerability in #pip, I started digging into the confusing API and found more than I expected.
👉 https://sethmlarson.dev/deprecate-confusing-apis-like-os-path-commonprefix
Maîtrisez python en t'amusant...
Un projet réalisé par deux humains, avec l'aide de 3 I.A.
/Archive.zip pour récupérer un fichier zip pour un usage local.Un projet de Lucchicama @QuangThaiNgo1 (X) sous licence CC BY développé avec Kimi et Z ai, modifié par @nsi_xyz avec Gemini 3 Pro en mode CLI.
URL : https://pyalgo.nsi.xyz/
ZIP : https://pyalgo.nsi.xyz/Archive.zip
#Maths #NSI #Python
Help us map out an accurate landscape of the Python community: respond to the official Python Developers Survey for 2026 to add your voice 🤩 #python #pythondevsurvey
https://surveys.jetbrains.com/s3/python-developers-survey-2026
le framework web #Python #FastAPI vient de sortir une extension pour vsCode : https://marketplace.visualstudio.com/items?itemName=FastAPILabs.fastapi-vscode.
- visualisation de l'arborescence des routes et accès facilité au code
- interaction avec le service FastAPI Cloud (déploiement, logs)
L'extension collecte des données anonymisées d'utilisation, mais cette télémétrie peut être désactivée. Je me renseigne pour savoir si l'extension sera disponible dans le dépôt openvsx.org pour les personnes utilisant #codium.
Une nouvelle série de 10 conseils / astuces en Python par AjanCodes : https://www.youtube.com/watch?v=cXl-AUXHHZY
- functools.cache
- typing.Protocol
- dataclasses.replace
- itertools.pairwise
- expressions d’affectation (:=)
- pathlib
- contextlib.suppress
- contextvars
- pattern matching avec gardes
- contextlib.ExitStack
Le code source associé : https://github.com/ArjanCodes/examples/tree/main/2026/features
Next Wednesday (March 4th) there is a free online Python conference!
You can sign up here if you want to attend: https://lp.jetbrains.com/python-unplugged/
Each talk will be about 25 minutes with 5 minutes of questions. The agenda looks really really cool 🤩
@adamchainz That makes sense.
For statically generated sites (like Pelican) or project docs built through pipelines (like Django’s Sphinx docs), the dictionary could just be regenerated during each build, locally or in CI.
That way it stays fresh automatically and tracks templates or content changes without extra work.
Y'a des gens qui vont croire que je triche...
2h entre le premier essai et le succès.
Je précise que j'ai codé (en Python), avec l'aide d'un comparse qui se reconnaîtra, un programme d'aide à la résolution de Sutom, mais je ne l'ai pas utilisé sur celui ci.
#SUTOM #1510 2/6
🟥🟦🟦🟦🟡🟡🟦
🟥🟥🟥🟥🟥🟥🟥
🚀 New standalone builds for Rivalcfg!
Rivalcfg is a CLI tool to configure #SteelSeries gaming mice on #Linux, #macOS and #Windows.
Standalone builds are compiled versions you can run without installing any dependencies (neither #Python). No more venv, pip install etc.
➡️ https://rivalcfg.flozz.org/news/new-standalone-builds-for-linux-macos-and-windows/
Rivalcfg is now simpler to use than ever! 😁
Out now: pepotron 1.6.0, with the new Python 3.16 schedule:
❯ pep 3.16
https://peps.python.org/pep-0826/
❯ pep 8
https://peps.python.org/pep-0008/
❯ pep lazy
Score Result
90 PEP 810: Explicit lazy imports
73 PEP 690: Lazy Imports
68 PEP 217: Display Hook for Interactive Use
68 PEP 802: Display Syntax for the Empty Set
57 PEP 227: Statically Nested Scopes
https://peps.python.org/pep-0810/
❯ uvx pepotron 3.16
https://peps.python.org/pep-0826/
https://mastodon.social/@peps@feedsin.space/116122903304128032
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...
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
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
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
N'oubliez pas, ce jeudi il y a #meetup #python dans notre local, le Yack, presque à #bordeaux
Vous venez ? Dites le nous sur https://www.meetup.com/fr-fr/py-bdx/
PSA: North america changes time forward soon, Europe next https://anarc.at/blog/2026-02-23-dst-warning #news #time #debian-planet #python-planet
Fun #Python question: I have a project that depends on some static data (JSON/YAML/TOML etc. files) in a 3rd party Git repo.
I want to treat said repo like a dependency so when I run `uv sync`/`uv install` it pulls the data from the repo to a known location (ideally specifiable, e.g. .gitignore'd subdirectory of the project folder). And it could get hashed/locked just like a Python dep.
Is this even possible? If not, what's the least awful choice: git submodules? Make/Just task to grab it?
Every time I see someone saying “Oh no, I missed the CFP deadline”, I can’t help thinking about all those features in Python or Django that were deprecated for years… and then someone is shocked when they finally get removed. 🫠
Weeks of announcements. Years of warnings. Deprecation messages in the logs. And still: surprise. 😅
Maybe warnings and deadlines only become real the day after they expire. 🪄
Hey Pythonistas! You could win a prize for filling out the 2026 Python Developers Survey 🎁 Take a few minutes to fill the survey and you'll have a chance to win #python #pythondevsurvey
https://surveys.jetbrains.com/s3/python-developers-survey-2026
Le framework d'API web #FastAPI a sorti une version 0.131.0 qui délègue à #Pydantic la sérialisation JSON de la réponse lorsqu'on utilise une annotation pour typer la réponse renvoyée par la route d'API plutôt que de définir une classe dans le décorateur qui définit la route (dans ce cas, c'est FastAPI qui gère la sérialisation). La sérialisation par FastAPI se fait alors plus rapidement, car elle est implémentée en #rust.
https://fastapi.tiangolo.com/advanced/custom-response/#json-performance
🚀 The DjangoCon US 2026 CFP is OPEN! Heading BACK to Chicago and looking for talks from all experience levels. Got an idea about Django, Python, or the web? We want to hear it!
Deadline: March 16 at 11am CDT
Django ORM Standalone⁽¹⁾: Querying an existing database by @paulox https://lobste.rs/s/xe7vkq #databases #python #web
https://www.paulox.net/2026/02/20/django-orm-standalone-database-inspectdb-query/
📣 DjangoCon US 2026 is coming to Chicago and we want YOUR talk! Whether you're a first-time speaker or a seasoned pro, we'd love to hear your ideas about Django, Python, and the web.
CFP closes March 16 at 11am CDT
https://pretalx.com/djangocon-us-2026/cfp
This is a nice video that demonstrates #EventSourcing with #Datastar + #SSE in a #Python context for the backend..
https://pyvideo.org/flaskcon-2025/death-to-the-spinner-event-sourcing-for-reactive-web-apps.html
Seeking advice for FreeBSD as a daily driver on an ASUS X580VD
(Intel HD 630 + GTX 1050 Optimus)
Five questions at <https://www.reddit.com/r/freebsd/comments/1r9j67j/advice_for_running_freebsd_as_daily_driver_on_an/> (replies there, if you can – thanks).
The writer's use case and goals:
― web dev stack: Java, Node/React, Python, Go
― occasional virtualization and Linuxulator for Linux-only tooling
― prefer GNOME, but open to recommendations if another DE/DM is more reliable here
― Intel as primary + NVIDIA for on-demand/offload use (if possible).
What: 2026 Python Developers Survey 🐍💻
Why: To capture the current state of the language and the ecosystem around it 🌍
When: Open now until we reach our respondent goal 📈
Who: You! 🫵
Where: https://surveys.jetbrains.com/s3/python-developers-survey-2026
#python #pythondevsurvey
https://surveys.jetbrains.com/s3/python-developers-survey-2026