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/…
A browserless HTML testing library for Python. Contribute to valentinogagliardi/unbrowsed development by creating an account on GitHub.GitHub
Show HN: Robyn – “Batman Inspired” Python Web Framework Built with Rust
Discussions: discu.eu/q/robyn.tech/
#programming #python #rustlang
Robyn is a fast, innovator-friendly, and community-driven Python web framework.Robyn Framework
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.
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:
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
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…
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
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…
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!
🐍 Prossimo evento
🎉 Python Happy GNU Year 2025
📅 2025-01-23
⏰ 18:00
🧑🏫 "Python come primo linguaggio di programmazione"
🔐 "Cifrari fantastici e come violarli"
📍 Università D'Annunzio, v. Pindaro, Pescara
✅ Iscrizione richiesta 👇
meetup.com/pythonpescara/event…
**🗓️ Python Pescara 2025/1 meeting** **🇮🇹 Italiano** ⏲️ Ecco il programma: Ci incontreremo per un paio di talk e networking alle 18:00 presso la sedeMeetup
✨ I tried @jack's django-templated-email-md project tonight, which was easy to use and was all I needed. I tried out a few other libraries, but it checked the right boxes for me.
If you want a bit more than Django's default mail handling provides, I recommend checking it out.
I no longer have an excuse not to send emails in my projects.
EDIT: started a new job last week!
Hey friends,
I'm restarting my job search; I had an offer, but it fell through.
Remote US preferred, but hybrid Washington, DC works too. I have 17-ish YOE as a software engineer, and have worked on both frontend and backend, but I lean toward the backend.
#Elixir #Phoenix, #Python #Django, and #React are what I know best.
Hoping to #GetFediHired
Edit: adding my LinkedIn
LinkedIn.com/in/mackenziemorga…
The PSF Board and Staff have recently undertaken a review and update of our Grants Program to ensure its sustainability and alignment with...Python Software Foundation Blog
$ pip3 search something
...
RuntimeError: PyPI no longer supports 'pip search' [...]. Please use pypi.org/search (via a browser) instead. [...]
Sure, no problem. Let's see …
»JavaScript is disabled in your browser. Please enable JavaScript to proceed.«
Urgh, but okay, #pip is a #Python package manager, they're good guys. Let me just open #NoScript and temporarily allow pypi.org ... oh no, it wants to run #JavaScript from …
ethicalads.io
fastly-insights.com
googletagmanager.com
gstatic.com
statuspage.io
That's what you get after 30 years of using the term #OpenSource instead of #FreeSoftware.
WIENFLUSS is hiring a Web Application Developer Python.
We are looking for a committed developer to join our development team on the implementation of python projects. If you are up to the challenge, join us in our efforts to make the web a better and more accessible place. #job #python #webdevelopment
Die österreichische Agentur für barrierefreie Websites. WIENFLUSS entwickelt durchdachte benutzerfreundliche Lösungen für inhaltsstarke Websites, Web-Applikationen und Online-Informationssysteme.www.wienfluss.net
I've been recently tinkering with #Python to build myself a better RSS feed experience with Youtube and GitHub feeds.
hamatti.org/posts/i-built-cust…
Youtube and GitHub RSS/Atom feeds didn’t quite offer the experience I wanted so I built a web service that takes in a feed, hydrates its contents with more useful stuff and outputs a new feed.Juha-Matti Santala
Our latest episode is a good one! Get hooked on pre-commit hooks with Stefanie Molin. We talk about what they are, why you want them, how to build them, how to debug them and much more. Enjoy! cc @mkennedy #python
talkpython.fm/episodes/show/48…
Do you struggle to make sure your code is always correct before you check it in? What about your team members' code? That one person who never wants to run the linter? Tired of dealing with tons of conflicts and spurious git changes? You need git pre…talkpython.fm
This Python course is designed for the intermediate Python learner. Although we encourage the use of Visual Studio code, you may use any code environment that you choose. You may also use either mac or windows.Techopolis Courses
Final version is very similar, but decided to hide the cursor. Now I use the hand that extends from the 1st socket like a cursor, instead of having it offset behind the cursor as before.
Thank you all for the feedback, specially
mechadense
&
lisa44Yes (handles from X). Feels and looks better. #Python #nodeeditor
Been actually working on other things but had an idea for another variant yesterday and didn't want to waste it (already in Nodezator's dev branch).
This time the cursor is a baseball #Python #nodeeditor
No guys, hear me out, we might be onto something here! What about tracking eyes that become happy when the connection is reached out? (also in Nodezator's dev branch)
In Nodezator's dev branch: changed the magnetic sockets feature to make it closer to what I envisioned originally: the nodes had hands and would help you by grabbing the new connection for you.
The hands are CC0 assets from the excellent
@kenneynl
I just retired #Python 2.7 from #Fedora Rawhide. This concludes a transition we started 10+ years ago.
I wrote a tutorial on how to make your own programming language (a lisp) using python:
I've been wishing I had a tool that could take an arbitrary date/datetime string and spit out the strptime/strftime format string needed to parse it.
Last week I decided to make such a tool and added a couple additional features that I hadn't realized I wanted until I was making it.
The tool to bookmark is at pym.dev/strptime 🔖
Details on how it works here 👇
treyhunner.com/2024/08/find-th…
I often find myself with a string representing a date and time and the need to create a format string that will parse this string into a datetime …treyhunner.com
«Damit die Attacke gelingt, muss allerdings Python auf dem Zielgerät installiert sein. Daher sind in erster Linie Softwareentwickler und Poweruser anfällig für diese Sicherheitslücke.»
— oder Schüler, die an die Materie "Programmierung" herangeführt werden. Potentiell mögliche Opfer also
#Whatsapp-Sicherheitslücke erlaubt Skript-Ausführung | heise online heise.de/news/Whatsapp-Sicherh… #Bug #MetaPlatforms #Python 
Eine Sicherheitslücke in WhatsApp für Windows erlaubt das Versenden von Programm-Anhängen, die beim Öffnen direkt ohne Vorwarnung starten.Ulrich Schmitz (heise online)
🐍🔐 Python lockfiles are back!
Read @brettcannon's new PEP 751 – "A file format to list Python dependencies for installation reproducibility":
Discuss it:
discuss.python.org/t/pep-751-l…
This was all last discussed in Lock files, again (but this time w/ sdists!) . Probably the biggest change since the initial post of that topic is adding support for per-package locking instead of only per-file locking (it’s explained in the PEP what …Discussions on Python.org
This adds a simple asyncio event loop integration for GLib that only works on unix. For a comparison with other integrations, seeGitLab