Neue Episode: @shezi , Dominik und @jochen unterhalten sich über Arrays und Sequenzen: https://python-podcast.de/show/arrays-und-sequenzen/ #Python
beautiful
On macOS, `pipx run --python 3.12 mopup` is so much better than any of the on-demand builders and their various weird failure modes. Even standalone-python has failed on me in practice due to the way it’s compiled.
My favorite feature remains that it’s a universal build with a force-x86 binary called `python3.12-intel64` that makes it easy to create virtualenvs that are guaranteed to be Intel-base (and not ARM).
https://blog.glyph.im/2023/08/get-your-mac-python-from-python-dot-org.html
Tracing the evolution of a Python function with git log
The article explains how to use the git log -L command to trace the evolution of a specific function in a Python file, providing a more focused view of code changes over time. It demonstrates the process using an example from the Authlib package, highlighting the importance of setting up .gitattributes for Python files and showcasing how this method can help in debugging and understandin...
https://nerderati.com/tracing-the-evolution-of-a-python-function-with-git-log/
Django 5.1 released
The Django team is happy to announce the release of Django 5.1.
The release notesshowcase a kaleidoscope of improvements. A few highlights are:
Easier guardrails for authentication: the new and shiny LoginRequiredMiddleware,when added to <tt class="docutils literal">MIDDLEWARE</tt>, enforces authentication for all views by default.
A more inclusive framework: Django 5.1 includes several accessibilityenhancements, such as improved screen reader support in the admininterface, more semantic HTML elements, and better association of help textand labels with form fieldsets.
The second oldest ticket fixed in this release provides the long awaitedquerystring template tag,which greatly simplifies the handling of query strings when building URLs intemplates.
(If you are curious about the oldest ticket fixed in this release, check out Ticket #10743.)
You can get Django 5.1 from our downloads page or from the Python Package Index. The PGP key ID used for thisrelease is Natalia Bidart: 2EE82A8D9470983E.
With the release of Django 5.1, Django 5.0 has reached the end of mainstreamsupport. The final minor bug fix release, 5.0.8, was issued yesterday.Django 5.0 will receive security and data loss fixes until April 2025. Allusers are encouraged to upgrade before then to continue receiving fixes forsecurity issues.
See the downloads page for a table ofsupported versions and the future release schedule.
https://www.djangoproject.com/weblog/2024/aug/07/django-51-released/
@hamatti
Tip: it's probably better to prefer pprint.pp() over pprint.pprint() because pprint() sorts dictionaries by default, which can be surprising now that dictionaries maintain insertion order.
pprint.pp() was added in Python 3.8 so is available for all supported versions.
https://docs.python.org/3/library/pprint.html#pprint.pp
We have just released eGenix PyRun 2.5.0 - A Python runtime taking up only 6MB on disk, making it ideal to product distributions, container images and even local venvs.
https://www.egenix.com/company/news/eGenix-PyRun-2.5.0-GA.html
It has been said that the great scientific disciplines are examples of giants standing on the shoulders of other giants. It has also been said that the software industry is an example of midgets standing on the toes of other midgets.
— Alan Cooper
I’m very exhausted to announce attrs 24.1.0!
It comes severely delayed, but I hope the many bug fixes, speed improvements, and features like __attrs_init_subclass__ or three-argument converters make the wait worth it.
Many thanks go to Klaviyo for their continued support at The Dedicated Organization tier!
https://github.com/python-attrs/attrs/releases/tag/24.1.0 #Python
Just published the second post: "Mining JIT traces for missing optimizations with Z3"
https://pypy.org/posts/2024/07/mining-jit-traces-missing-optimizations-z3.html
Neue Episode: @shezi, Dominik und @jochen unterhalten sich über das Python Data Model: https://python-podcast.de/show/das-python-data-model/ #Python
Just published: A complete guide to implementing SSO with SAML in Django. Have a look! #Django #SSO #SAML https://wersdoerfer.de/blogs/ephes_blog/implementing-single-sign-on-sso-with-saml-for-a-django-application/
My talk from @djangoconeurope is now available online - Go give it a watch! https://www.youtube.com/watch?v=RxcRBNqxjeY
Then, after that, go give django-tasks a try: https://github.com/realOrangeOne/django-tasks
📢 The rest of the videos from DjangoCon Europe 2024 are now live on our YouTube channel! 📺✨
Watch all the keynotes, talks, and workshops you missed: https://www.youtube.com/@DjangoConEurope/videos
Neapolitan v24.5 is now available on PyPI. Fixes a wee issue in 24.4 that you almost certainly didn't notice. Thanks @EmmaDelescolle 🎁
$ pip install -U neapolitan
Enjoy! 🦄
Neue Episode: Ronny, Dominik und @jochen unterhalten sich über die DjangoCon Europe 2024: https://python-podcast.de/show/djangocon-europe-2024/
I am standing for election to the board of the Python Software Foundation - you can read my pitch and those of the other candidates at https://www.python.org/nominations/elections/2024-python-software-foundation-board/nominees/ . Cc @ThePSF
🎉 News Django News Newsletter: Django News - Django 5.1 beta 1 and Python 3.13.0 beta 3 released - Jun 28th 2024
Django 5.1 beta 1 released
Django 5.1 beta 1 is now available. It represents the second stage in the 5.1release cycle and is an opportunity for you to try out the changes coming inDjango 5.1.
Django 5.1 brings a kaleidoscope of improvements which you can read about inthe in-development 5.1 release notes.
Only bugs in new features and regressions from earlier versions of Django willbe fixed between now and the 5.1 final release. Translations will be updatedfollowing the "string freeze", which occurs when the release candidate isissued. The current release schedule calls for arelease candidate in a month from now, and a final release to follow about twoweeks after that, scheduled for August 7th.
Early and frequent testing from the community will help minimize the number ofbugs in the release. Updates on the release schedule are available on theDjango forum.
As with all alpha and beta packages, this is not for production use. But ifyou'd like to take some of the new features for a spin, or to help find and fixbugs (which should be reported to the issue tracker), you can grab a copy of the betapackage from our downloads page oron PyPI.
The PGP key ID used for this release is Natalia Bidart: 2EE82A8D9470983E.
https://www.djangoproject.com/weblog/2024/jun/26/django-51-beta-1-released/
htmx 2.0.0 has been released!
I have published a new blog post on configuring SQLite for production in Django 5.0, 4.2 or older, and Django 5.1 and newer!
I've finally finished my new #Django module, "django-cool-urls". You can use it to make sure your site never has another outgoing dead link, or just to convert YouTube embeds into proper <video> tags pointing to local files.
Explanatory blog post: https://danielquinn.org/blog/django-cool-urls/
PyPI: https://pypi.org/project/django-cool-urls/
Source code: https://gitlab.com/danielquinn/django-cool-urls
Docs: https://danielquinn.gitlab.io/django-cool-urls/
It's already in use on my own site, but perhaps someone else will find it useful.
New approved DEP! Django Enhancement Proposal 14: Background Workers – https://www.djangoproject.com/weblog/2024/may/29/django-enhancement-proposal-14-background-workers/ Great work @jake @carlton ❤️
Ep164: Buttondown with Justin Duke is live!
Justin is the founder of Buttondown, a newsletter service built with Django. We discuss scaling the code, and the team behind the project, the email space in general, new developments in web development, and Django features he’d like to see.
https://djangochat.com/episodes/buttondown-justin-duke-Si2kolaE