Search

Items tagged with: Python




Also.
Fun fact.

As people might know, I maintain "pypandoc".

But did you know, that 'pypandoc' actually have 2 packages on PyPI?

The regular 'pypandoc' package that people typically install.
And then it also has 'pypandoc_binary' which comes with a version of pandoc packaged - so you can get started right away.

pypandoc_binary, for the first month, just surpassed 1.000.000 downloads in the last 30 days.

That's amazing news.
That means, that the total pypandoc project has been downloaded over 4.500.000 times over the last month.

That's amazing - I'm so honored.

#python #tech #pypandoc #opensci #markdown #pandoc #Humblebrag #pypi


J'ai une fonction en Python (3.11.2) qui revoie un float x (affiché comme 17.342368319811897), round(x) renvoie 17 mais int(x) renvoie 18 🙁

Pour une autre valeurx y (affichée comme 17.752002330055376) round(y) renvoie 17, mais int(y) renvoie 18.

C'est quoi que je fais faux ?

#python #float



Yo @ThePSF the vendor you use for the board election ballot is not screen reader accessible. Does that then mean that me and other blind people are unable to vote?

Choked to say the least here...

#a11y #blind #python #psf #accessibleelections


Just for the heck of it, I decided to try #AI to fix an addon to run in the latest #NVDA alpha. I knew exactly what was wrong with it: it was importing a module included for #Python 3.11, and new alphas of NVDA are built with Python 3.13. I gave chat GPT the addon file, with this instruction: "In the latest alphas of NVDA, NVDA is now built with Python 3.13. That means this addon won't work. Please fix it." The simple solution would be to go get the right precompiled module from pip. But I didn't know if it would even be able to figure out what a .nvda-addon file was or how to fix it. Turns out it did. It spent six minutes, unpacked the addon, did things to the python code, then gave me back a new .nvda-addon file. But instead of just getting the right version of the module, it...rewrote the entire addon to not use that module. And its rewrite included some new features, while removing some existing ones. I'm kind of both impressed that it was able to handle the entire task on its own, and baffled that it did it in the hardest possible way. It even updated the manifest file correctly. It also left commented out sections of code, and created some Python files it never wound up using for anything. You could kind of see it doing something, forgetting what it was doing, then going to do the same thing a different way, but not deleting the half-completed evidence of the first attempt it abandoned for some reason. If more and more people use AI, code is going to get really, really weird and organic, y'all.


With everyone being so focused on Ty and Pyrefly right now, I'd like to put a lesser known type checker in the spotlight for a second, called Zuban.

I know, yet another Python type checker, just what the Python ecosystem needs! But hear me out, this one is genuinely exciting to me.

It's made by a long time Python ecosystem contributor, who you might know for creating Jedi.

Of course, it has all the goodies you'd want these days, which is a good CLI, an LSP, being written in Rust for performance, etc.

But it also aims for Mypy compatibility with zmypy, making it a great potential option for existing projects using Mypy that just want something faster.

I reported a couple of issues which got fixed in a span of hours too!

I'd say give it a go, don't expect perfect results, but report issues if you find them :blobcatthumbsup:

#Python #notAnAd




anyone familiar with VSCode and Jupyter notebooks on here?

we're switching to VSCode in our computer science class this year; my question is, how accessible are Jupyter notebooks to screen readers? are there any pitfalls we need to be aware of? what keyboard shortcuts do we need to know?

#Accessibility #Blind #Python #VSCode #NVDA


@ThePSF have paused its grants program. This came as shock to many.

A lot of people benefit from #Python , many lives have been changed. But very few consider giving something back or paying it forward.

Here are some of my thoughts on the matter:

sheenaoc.com/articles/2025-08-…

If you have benefited from Python, please consider paying it forward by supporting communities and events that you care about. Or by supporting the PSF directly.


For those of you who use the #unspoken#NVDA addon, I pushed fixes to it for the latest version of NVDA. I also filed an issue documenting the current state of the addon, and why it's going to continue to suck well into the future, unless we can find a #Python developer who's comfortable with #HRTF and other audio techniques, or get Python bindings to steamaudio or something similar and modern. github.com/masonasons/Unspoken/issues/16


Spent the evening moving a thing to #uv. It fixes at least one of the things I hate about #Python.


🐍 "The State of Python in GNOME"
with Dan Yeaw at #GUADEC2025
📅 24 July 🕒 14:15 CEST 📍 Brescia

⚙️ AsyncIO, girepository 2.0, real progress for Python in GNOME. Dan shows what’s new—and how to get involved.

🔗 events.gnome.org/event/259/con…

#Python #GNOME #PyGObject #FOSS




@kpcyrd
Sure. I assume, that at some point they will be needed. In fact, one of the #XMPPrs crates (#JID.rs) is already needed for the #slixmpp package.
We only use the (slower) #Python fallback in #Debian instead, because the crate would not have made it in time for #trixie.


🌟 Excited to share Thorsten-Voice's YouTube channel! 🎥 🗣️🔊 ♿ 💬

Thorsten presents innovative TTS solutions and a variety of voice technologies, making it an excellent starting point for anyone interested in open-source text-to-speech. Whether you're a developer, accessibility advocate, or tech enthusiast, his channel offers valuable insights and resources. Don't miss out on this fantastic content! 🎬

follow hem here: @thorstenvoice
or on YouTube: youtube.com/@ThorstenMueller YouTube channel!

#Accessibility #FLOSS #TTS #ParlerTTS #OpenSource #VoiceTech #TextToSpeech #AI #CoquiAI #VoiceAssistant #Sprachassistent #MachineLearning #AccessibilityMatters #FLOSS #TTS #OpenSource #Inclusivity #FOSS #Coqui #AI #CoquiAI #VoiceAssistant #Sprachassistent #VoiceTechnology #KünstlicheStimme #MachineLearning #Python #Rhasspy #TextToSpeech #VoiceTech #STT #SpeechSynthesis #SpeechRecognition #Sprachsynthese #ArtificialVoice #VoiceCloning #Spracherkennung #CoquiTTS #voice #a11y #ScreenReader


There were layoffs at MS yesterday and 3 #Python core devs from the Faster CPython team were caught in them. If you know of any jobs, please send them their way (they kind of know Python, CPython, and its internals well 😉):

Eric Snow: linkedin.com/in/ericsnowcurren…
Irit Katriel: linkedin.com/in/irit-katriel/
Mark Shannon: linkedin.com/in/mark-shannon-b…



Please boost! #FediHire

I'm looking for my next role as a program manager, team lead, or senior developer.

- 20+ years in open source
- 6 years experience in web dev with #Python, #Django, HTML, bootstrap
- 7 years experience in C, Linux kernel, embedded systems

My passions lie at the intersection of open source software development and creating welcoming spaces for people to learn and grow.

I'm currently the program manager for a technical internship program. I work remotely with a team of 4 people in New York, Brazil, and Nigeria.

Looking for a fully remote role. I'm open to relocation outside the USA.

Resume here: sage.thesharps.us/hire-me/

DM me or send an email to sage at thesharps dot us


Reading a 1584 treatise on the horrors of #Python monkey patching and duck typing.

> [...], the pestilent practices of Pythonists, [...]


"One highlight of submitting a PR to #Python is that their infrastructure has more CI coverage than we could possibly dream of: a complete build of Python runs over 50+ toolchains and architectures. The flipside? We discovered some pretty annoying corner cases."
jonathan.protzenko.fr/2025/04/…


Python now ships with 15,000 lines of verified cryptographic code from HACL*, covering all default hash and HMAC algorithms. The integration was seamless and automated, aiming to eliminate bugs like the 2022 SHA3 CVE. A major milestone for verified crypto in mainstream software.

jonathan.protzenko.fr/2025/04/…

#Python #CyberSecurity #Cryptography #AppSec


For those who are interested in free-threaded Python (peps.python.org/pep-0703/), a few of us working on it, and more importantly porting libraries to work with it, have set up a new Discord server, for folks to ask questions a bit more interactively. (Lurking is also welcome! It's amazing how much you learn by osmosis.)

discord.gg/rqgHCDqdRr

#Python #PythonDevelopment









Thing I want to exist but don't want to build: a #mud that does pretty much the same thing as #SillyTavern or #agnaistic, intended for selfhosting. A MUD would be an excellent interface for #AI assisted #roleplay. With #Evennia and #OpenRouter, this honestly wouldn't be that hard. I just hate #Python and don't wanna.

The way to do it would be:
1. Set up a #docker#Evennia environment, to make distribution easy.
2. Add an attribute on Evennia accounts to hold an openrouter API key, and a userflow to get a users key via OAuth: openrouter.ai/docs/use-cases/oauth-pkce3. Use the #OpenAI Python API and hook it up to NPC's to let them chat, generating responses with the user's API key. Figure out function calling and hook it into the various creation functions of Evennia for extra fun. Probably need to store attributes for what models and parameters to use on each NPC, with global defaults probably from the user's account.
4. Dump the room name and desc, the player desc, and chat history into the AI context.
5. Something something MSP/MXP and ElevenLabs for sound effects and music.
6. Something Something MXP for images.
7. Dockerize the thing and upload it to let users run there own muds for AI roleplay for themselves and their friends.

If I either liked Python or was unemployed, I would do this. If only AI coding was good enough to just make the thing based on my design skeleton above.


Happy I Love Free Software Day! 💕

Unfortunately, this year I could not join nor organize any in-person celebration, BUT of course I want to share my gratitude to the many, countless #FreeSoftware services I don’t merely use, but actually depend on.

Last year, I decided to focus only on #YunoHost, because it would have been crazy to list all the projects I use and I love.

This time, even if I will most certainly forget someone, I am challenging myself to mention all the #LibreSoftware my life is powered by.

Without further ado, THANK YOU to:

  • @yunohost, for powering Nebuchadnezzar
  • @fedora, for running my beloved #Framework laptop
  • @frameworkcomputer, for designing and building repairable, #Linux-friendly and truly open hardware
  • @gnome and @GTK, for being just gorgeous
  • @calyxos (thus @LineageOS), for powering my #Fairphone5
  • #Obtainium, for making me directly download apps on my phone, and @fdroidorg for distributing them
  • #AuroraStore, for proxying the download of apps I am doomed to get from Google Play
  • @element, for developing #Synapse, even though the new proprietary Synapse Pro is VERY PROBLEMATIC AND DISAPPOINTING
  • #Fractal, for being the most beautiful and awesome #Matrix client ever
  • @signalapp, for keeping me connected with the people I love
  • @Mastodon, for also maintaining a feature-packed experimental fork (#GlitchSoc), that is what Pan runs
  • #Tuba and #Moshidon, for being the most beautiful and awesome #Mastodon clients ever
  • #Firefox, for still remaining the best possible #browser choice, despite #Mozilla’s governance messiness
  • @openstreetmap, for allowing us to find the right path, both literally and metaphorically!
  • @organicmaps, for being the simplest, cleanest, yet feature-rich #OSM client and navigation app
  • @protonvpn, for making me browse safely from/to anywhere in the planet and @protonprivacy #ProtonMail, for hosting my email, despite the latest alarming political statements…
  • @libreoffice, for allowing me to draft documents with ease, the last of which was my #CV
  • #LanguageTool, for preventing me from making embarassing spelling mistakes
  • @photoprism, for safely storing and indexing all my photographic memories, on Aby, and for providing stellar and friendly support too!
  • #Actual, for moderating the very likely risk of ending up completely broke, since it forces me to manage my finances consciously and coherently
  • @readeck, for storing and sorting ALL my varied and overwhelming inputs
  • @nextcloud, for storing and synchronizing my data, for its #calendar, its #tasks, and all its awesome apps
  • #Rustdesk, for preventing my friends and family members from going crazy, by allowing me to remotely connect to their devices and directly address the issues they have
  • #Listmonk, for sending out my newsletter
  • @eleventy, for powering all the websites I maintain, above all the virtual representation of my mind, and for being the only reason why I resist and try to continue learning #JavaScript
  • @forgejo, for giving us a chance to truly control and collectively develop the sources of our software, but most importantly @Codeberg, for RESISTING, RESISTING, RESISTING, despite the hatred and attacks nazi assholes throw at them
  • @musicbrainz for keeping music knowledge open and free, and @ListenBrainz for scrobbling the crazy music I listen to
  • The @fsfe, for promoting this celebration and fighting the good fight!

Lastly, but most importantly, the biggest thank you goes to all the free software libraries and dependencies the above mentioned #software are made of/built with, including #C, #JavaScript, #Python, #Rust, and all community-maintained programming languages.

I am super sorry if I forgot someone!

#OpenSource #ILoveFS #SoftwareFreedom #Fairphone #Android #LineageOS #FSFE #OpenStreetMap #PhotoPrism #LibreOffice #Readeck #Eleventy #11ty #GNOME #Signal #forgejo #Codeberg #MusicBrainz #ListenBrainz #MetaBrainz