uv is a new, fast Python packaging tool. (I believe it is pronounced as written, “uhv”, rather than spelt out like “you-vee”. This saves a syllable, fitting the tool’s ethos of speed.)
via https://fosstodon.org/@adamchainz/113158552844057284
Every command-line tool included with Python. These can be run with python -m module_name.
via https://mastodon.social/@treyhunner/113150024938712511
Learn how Lincoln Loop revives neglected Django projects using smoke tests to quickly stabilize codebases, catch critical bugs, and improve long-term reliability.
via https://s.ovalerio.net/@dethos/113129750417750945
A library of utilities to support efficient, scalable Python development leveraging Free Threaded Python. - facebookincubator/ft_utils
via https://fosstodon.org/@dongheena/113126553653153451
Relaunch? I never listened to it’s old run, anyone have thoughts on it?
Django Chat is a great podcast!
Jacob Kaplan-Moss kicked off this fascinating conversation about [uv](https://docs.astral.sh/uv/) on Mastodon recently. It's worth reading the whole thing, which includes input from a whole range of influential Python community members …
via https://fedi.simonwillison.net/@simon/113102865356065670
Python / FastAPI will be better than Java in your situation and is easy to learn. Go should be even better and is also relatively easy to learn!
Django provides us with a rich set of view decorators. In this post, we’ll look at a technique for hoisting repeated use of these decorators to reduce repetition.
via https://fosstodon.org/@adamchainz/113104006321286556
https://mastodon.cloud/@radiac/113096990972136170
Nanodjango 0.8 is out, adding async view and ASGI support. Now you can write async single file scripts that look like Flask or FastAPI, but with all #django features like models, auth, admin etc.
Hi there! A big joint release today. Mostly security fixes but we also have the final release candidate of 3.13 so let’s start with that! Python 3.13.0RC2 Final opportunity to test and find any show-stopper bugs before we bless and release 3.13.0 final on October 1st. Get it here: Call to actio...
via https://mastodon.social/@hugovk/113097578994494173
How to filter a foreign key model property with django-filter.
via https://fosstodon.org/@gagliardi_vale/113090396311278113
The Django ORM, how it compares to raw SQL and gotchas that you should be aware of when using it
via https://django-news.com/issues/249
Posted by Natalia Bidart on September 3, 2024
When I started learning Git, I found many references covering two ways to undo commits with git reset:
via https://fosstodon.org/@adamchainz/113069875974994637
Whenever I publish something about my Python Docker workflows, I invariably get challenged about whether it makes sense to use virtual environments in Docker containers. As always, it’s a trade-off, and I err on the side of standards and predictability.
via https://mastodon.social/@hynek/113067230489781151
Here’s a little ORM pet peeve of mine that may deepen your understanding of how QuerySets work.
via https://fosstodon.org/@adamchainz/113058675664309064
Folks will occasionally ask if I've got an opinion on some topic Django related. I'll reply that I've got an opinion on everything, so I've certainly got an...
via https://fosstodon.org/@carlton/113056255748047320
Django’s SECRET_KEY setting is used for cryptographic signing in various places, such as for session storage and password reset tokens. This makes keeping it secure a high priority since an attacker with the key could forge things like password reset tokens.
via https://fosstodon.org/@adamchainz/113053135915858293
Posted by Sarah Boyce on August 6, 2024
Posted by Natalia Bidart on July 9, 2024
I own two Raspberries 1, a Raspberry 4 8GB and a Raspberry 5 8GB. I wouldn't recommend the 4 as a full-fledged desktop replacement, but the 5 has been very smooth so far.
I'm currently using the latest Raspberry Pi OS Lite and installed KDE on top.
Posted by Natalia Bidart on May 7, 2024
Posted by Sarah Boyce on May 6, 2024
I was lucky then with the 4 A400 I'm still using. I also have 3 BX500 that have been very reliable.
Kingston A400s and Crucial BXs have been very good as cheap SSDs in my experience.
A VPN would be my first choice. ZeroTier works like a charm on the RPis. I've shared even SQLite databases over Samba over Zerotier among a bunch of RPis daily for a couple of years without a hitch.
I haven't used source-based distros, but I've installed Linux on a couple of older Macs. You will probably need to search for proper drivers for the Webcam and Wifi. Other than, you won't have any mayor problems.
My own example. I still have an ancient netbook lying around. It runs on an Intel Atom N270, which is only 32bit / i386. It came with Windows XP and I quickly switched to Mint, when it was still supporting 32bit.
I think the last Ubuntu release supporting i386 was 18.04 (around 2018) and all other distros started to drop i386 support after that.
AFAIK Debian is the only major distro still fully supporting i386. And a Debian based distro that still supports i386 is MX Linux. My ancient and crappy netbook is running MX Linux right now.
My 'weird' example. I have a Raspberry 5! It's ARM and very new. It runs its own distro, Raspberry Pi OS (Debian based), and Ubuntu does also fully support it. Right now if you try some other distro, it probably won't even boot unless you start tinkering a lot with it.
So Debian is definitively a choice for very old hardware. And the odd ARM SoC has usually at least some custom Ubuntu build that runs with it.
Good idea! But the borders don't look good with a darker background. I'm seeing this right now: https://0x0.st/H0JJ.png
django-tui 23.9 adds an interactive shell for running django ORM queries: https://fosstodon.org/@anze3db/111608276020943202
TalkPython episode about Memray: https://talkpython.fm/episodes/show/425/memray-the-endgame-python-memory-profiler
Part 2, PostgreSQL: https://www.paulox.net/2023/11/24/database-generated-columns-part-2-django-and-postgresql/
Part 3, GeoDjango & PostGIS: https://www.paulox.net/2023/12/11/database-generated-columns-part-3-geodjango-and-postgis/
PyQT / PySide are huge, but they have been very good in my experience coding cross platform desktop programs. macOS, Windows and Linux (even on ARM) are very well supported.
I use VSCode for coding, but if it's a small script or pure text files, then I use Geany.
I've been following this project for a while and it's great. They are just not great at promoting it.
I was also a Pro user and I'd gladly pay again for a Pro version.
Ultra was too much for me on Reddit and here it's the same.
Thanks!