Search
Items tagged with: python
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…
Mark Shannon - Microsoft | LinkedIn
15+ years experience in software development; primarily in Python and C as well as C++… · Experience: Microsoft · Education: University of Glasgow · Location: Greater Oxford Area · 107 connections on LinkedIn.Mark Shannon (www.linkedin.com)
#python #devsecops #security #webdev
dev.to/trottomv/secure-by-desi…
Secure by design in Python: A FastAPI app with 5 DevSecOps tools and a real time SSTI vulnerability remediation
🌟 Introduction Security should not be an afterthought in software development. Instead, it...Matteo Vitali (DEV Community)
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
I'm looking for a content model versioning solution for #python (in #Django seems easiest) and finding existing solutions either old, not maintained, or poorly documented. Does anyone I know have experience with a good solution? Per-model versioning is good, but additionally being able to version a group of content would be brilliant.
(Yes #Drupal people I know about node revisions, go away. But not really I do love you)
Reading a 1584 treatise on the horrors of #Python monkey patching and duck typing.
> [...], the pestilent practices of Pythonists, [...]
jonathan.protzenko.fr/2025/04/…
15,000 lines of verified cryptography now in Python
In November 2022, I opened issue 99108 on Python’s GitHub repository, arguing that after a recent CVE in its implementation of SHA3, Python should embrace verified code for all of its hash-related infrastructure.Jonathan Protzenko
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
15,000 lines of verified cryptography now in Python
In November 2022, I opened issue 99108 on Python’s GitHub repository, arguing that after a recent CVE in its implementation of SHA3, Python should embrace verified code for all of its hash-related infrastructure.Jonathan Protzenko
Deciphering Glyph :: Stop Writing `__init__` Methods
Deciphering Glyph, the blog of Glyph Lefkowitz.blog.glyph.im
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.)
PEP 703 – Making the Global Interpreter Lock Optional in CPython | peps.python.org
CPython’s global interpreter lock (“GIL”) prevents multiple threads from executing Python code at the same time. The GIL is an obstacle to using multi-core CPUs from Python efficiently.Python Enhancement Proposals (PEPs)
agree with Rust, #Perl 🧅& Python🐍 are equal in quality & older.
I do wish #Rust had the #Python tutorial.
Up to date and covers the basics with the latest version. This point is so important, have correct usable documentation at each release. No half completed information allowed. 🐍<docs.python.org/3/tutorial/ind…>
The Python Tutorial
Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax an...Python documentation
Ugh, Python got over 500 #GSoC applications this year and so many of them are absolutely trash, didn't follow any of the instructions. Most years about half of our applications are like this. But usually we have a lot fewer applicants and the submissions were blank files not plausible AI nonsense.
So I'm stuck reading hundreds of incredibly low quality nonsensical submissions today in hopes to take some workload off my other unpaid volunteer mentors. This is not the volunteer gig I signed up for 15 years ago when it was mostly working with new contributors and not their AI chatbots and I'm grumpy.
#AI #Python #OpenSource
I added a bunch of CLI options to shape the sound of my MP3 glitching script! Here's a demo of some of the possibilities:
github.com/reillypascal/mp3gli…
#Python #Programming #Coding #MP3 #Audio #Glitch #NoiseMusic #GlitchMusic #ExperimentalMusic #SoundDesign
GitHub - reillypascal/mp3glitch: Glitch binary MP3 data without damaging headers
Glitch binary MP3 data without damaging headers. Contribute to reillypascal/mp3glitch development by creating an account on GitHub.GitHub
#python #xmpp
Excellent demonstration of a tool that produces a #pride flag from any image, presented at the student showcase of PyCon AU 2024
Annabel Quach - Pyflagoras: SVG-Based Image Generation
youtube.com/watch?v=xVjlVYFrJj…
"Student showcase" - Education Track (Pycon AU 2024)
Showcase of student projects:00:00 - Intro01:39 - Summer Saunders - Ghostogotchi, The Digital Wifi Eating Ghost-Pet!11:53 - Bryan Chong - Dynamic programming...YouTube
I just released version 1.10.0 of slixmpp! It has one important security fix as well as nice improvements on TLS connectivity!
blog.mathieui.net/slixmpp-1.10…
What the hell is wrong with #Jabber? The two most important console clients, #Poezio and #Profanity, both released version 0.15.0 today. Same version number, same day, same first letter "P". Do you want to confuse us all?
At least Poezio is written in #Python, Profanity in #C/#Clang, i.e. there are some differences. Otherwise it would be too much.
Anyone looking for a developer with crazy fullstack experience (back to the 1990s!), about two decades professional experience with both #Python and #Django, very solid with JS/frontend, some #SRE background, an absurd love for #Lisp, and who's an enthusiastic loony for new tech?
I'm your girl!
I'm looking to jump ship to somewhere much more fulfilling, and I'd love to check you out as long as you're diversity-friendly.
Say I have a TypedDict in Python like the following:
class Things(TypedDict):
thing: Literal["thing-role"]
another_thing: Literal["another-role"]
How can I extract all the values so that they can be passed as a type for a function parameter? Is get_type_hints my only resort?
techopolis.courses/
explore our course catalog and enroll today! #webdevelopment #python #javascript #codingcourses
TIL about the bulk import functionality in django-import-export library.
django-import-export.readthedo…
Some caveats:
- set `batch_size` for better performance
- doesn't work with many-to-many relationships
- no `pre_save` and `post_save` signals sent (it' doesn't call `model.save()`)
Just released version 1.9.1 of the slixmpp #python #xmpp library.
Release notes: blog.mathieui.net/slixmpp-1.9.…
unbrowsed: A browserless HTML testing library for Python
github.com/valentinogagliardi/…
GitHub - valentinogagliardi/unbrowsed: A browserless HTML testing library for Python.
A browserless HTML testing library for Python. Contribute to valentinogagliardi/unbrowsed development by creating an account on GitHub.GitHub
Textual is quite nice (unsurprisingly): textual.textualize.io/
and its companion library rich is not bad either - maybe not quite as beautiful, but very clean and readable and useful: rich.readthedocs.io/en/latest/…
Honestly, I don't think I've come across any library whose documentation "maxes out" on beautiful IMO, but those two are among the best I can think of at the moment.
Honestly, I would say the current state of the art is a community standard which is implemented by different projects, so you get to try them and choose your favorite 😀
But seriously though, I don't know that there's one thing that really qualifies as *the* state of the art. What I would suggest for someone just looking for a recommendation:
- If your project lives on one of the sites that supports it, trusted publishing (docs.pypi.org/trusted-publishe…)
- Otherwise, twine (pypi.org/project/twine/) is the standard tool for the job. What pip is for installing packages, twine is for publishing them.
If you're looking for something fancier, with more features, then it'd make sense for you to play around with those other projects I mentioned. Things like hatch and Poetry and uv. Which one you'll prefer will depend on your preferences.
Though I do not have a lot of experience with it yet, I hear uv is very popular for this.
You can find more on uv and other "hypermodern" #python stuff in this article:
datasciencesouth.com/blog/hype…
What's the current state of the art for publishing Python packages? Resources and link would be helpful!
Petition to rename Python's __init__ method to __boa__ so we can call them Boa constructors
Show HN: Robyn – “Batman Inspired” Python Web Framework Built with Rust
Discussions: discu.eu/q/robyn.tech/
#programming #python #rustlang
Robyn - A Fast, Innovator Friendly, and Community Driven Python Web Framework.
Robyn is a fast, innovator-friendly, and community-driven Python web framework.Robyn Framework
Hey everyone, what's cooking in the open-source universe? 🤯 I just stumbled upon something that's seriously mind-blowing.
So, there's this Python library pretending to be a music tool (automslc), but get this – it's actually illegally downloading songs from Deezer! And the worst part? It turns your computer into an accomplice in a huge music piracy operation. Seriously, a digital pirate cove. 🏴☠️
And then there's this npm saga with @ton-wallet/create... Crypto wallet emptied, just like that! 💸
The moral of the story? Open source rocks, but blindly trusting everything is a recipe for disaster. Always double-check those dependencies! Automated scans are cool, but a real penetration test? That's pure gold. 🥇
Clients are always so appreciative when we can spot and fix this kind of stuff beforehand!
Now, I'm curious: What are your go-to methods for keeping your codebase squeaky clean and secure? Any tips or tricks you'd like to share?
#infosec #pentesting #devsecops #opensource #python #javascript
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.
OAuth PKCE - Secure User Authentication
Implement secure user authentication with OpenRouter using OAuth PKCE. Complete guide to setting up and managing OAuth authentication flows.OpenRouter Documentation
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
Nebuchadnezzar
Information and insights concerning the configuration and maintenance of Tommi’s server.Tommi (Tommi’s mind)
Besides the AMD crasher, I wondered why the dev version of Showtime, #GNOME's power-efficient video player in incubation, sometimes still refused to launch; turns out it's randomly crashing with a segfault on startup for another reason.
After jumping through hoops to get a backtrace (#Python in #Flatpak makes things somewhat harder to debug), it turns out that #GStreamer is not the culprit. Presumably, it may be a bug in #GTK or somewhere else in the stack. Details here: gitlab.gnome.org/GNOME/Incubat…
Showtime Nightly randomly segfaults on startup (even with no video) (#158) · Issues · GNOME / Incubator / Showtime · GitLab
Testing the latest nightly flatpak version on my desktop workstation with discrete open source AMD graphics (and another testbench with onboard AMD graphics), I realized one of the...GitLab
I signed up for Codeberg last September but forgot to share it here 😅
codeberg.org/pauloxnet
I see that other members of the Python and Django community have signed up in the past few months 🎉
I tried to follow them all but if I missed you let me know here or follow me there so I can reciprocate ✅
Speaking of projects, besides django-allauth, do you know of any projects that have migrated to Codeberg that are worth following? 🐍
#Git #Codeberg #Forgejo #Python #Django
Paolo Melchiorre
PSF fellow · DSF director · Python developer · Django contributor · Django Girls+ coach · Djangonaut Space navigator · PyCon Italia organizer · Python Italia member · Python Pescara founder · Conference speaker · GNU/Linux user · Free Software advoca…Codeberg.org
An Introduction to Django Views
#Python #Pycharm #Howtos #Webdevelopment #Django
blog.jetbrains.com/pycharm/202…
An Introduction to Django Views | The PyCharm Blog
Understanding Django views helps you make faster progress in your project. Learn all about views and best practices for using them.The JetBrains Blog
⏰ Only a week remaining with early-bird pricing for my annual three-day deep dive into #pytest with #Python Academy!
📅 March 4th — 6th
🌍 Leipzig (Germany) or remote
📕 Three days of pytest knowledge from one of its core maintainers. Fixtures, mocking, plugins, …
python-academy.com/courses/pyt…
🎉 In related news: My "pytest tips and tricks" 1.5h training for #PyConDE was accepted, and I also submitted that plus a more beginner-focused pytest training for #Europython!