Django News Newsletter

Archives
Jobs
Podcast
Videos
August 11, 2023

Python 3.12.0rc1 and Generative Agents oh mai

Python 3.12.0rc1, Generative Agents with Django (sort-of), ORM Cheatsheet, a Retargetable Python Compiler, and more!

News

Python 3.12.0 release candidate 1 released

Python 3.12.0rc1 is the first release candidate of Python 3.12, with a final version expected on 2023-10-02. Maintainers are urged to ready their projects for 3.12 compatibility, though this preview is not advised for production use.

The Python Software Foundation 2022 Annual Impact Report

The Python Software Foundation's 2022 Annual Impact Report highlights a year where they welcomed a new Executive Director, reconvened for the first in-person PyCon US since 2019, expanded membership options, awarded $215K in grants, incorporated PyLadies chapters into their fiscal sponsorship program and much more.

Python Software Foundation News: Announcing Our New PyPI Safety & Security Engineer!

Mike Fiedler joins the PSF as the inaugural PyPI Safety & Security Engineer, boasting 15 years of Python experience and a recent role as a PyPI Maintainer. See from Mike's follow-up post too.

Updates to Django

This week the updates have been curated by Yemisi, from the Djangonaut Space contributor program. You can find Yemisi on Twitter @Oluwayhemisi1 or LinkedIn Oluwayemisi Ismail.

In the previous week, we had 17 pull requests merged into Django by 11 different contributors. Notably, we're thrilled to acknowledge the participation of 2 first-time contributors, aokugel and almazkun. Congratulations to the both of them for having their first commits merged into Django-welcome on board!

Now in 5.0, QuerySet.aiterator supports previous calls to prefetch_related(). This will help to reduce the number of queries made to the database and improve the performance of data retrieval in async applications #34331 .

For those using GEOS library, (a library for performing geometric operations), Django 5.0 will be supporting GEOS 3.12. Olibook has actively worked to add support for this #34686 and while also adding GEOSGeometry.equals_identical , a new method allowing point-wise equivalence checking of geometries, thank you olibook!

If you're new to the forum, Django Internals is a hub for discussions revolving around the ongoing development of Django. Engaging here offers you a valuable opportunity to contribute to shaping the future trajectory of Django!

Sponsored Link 1

Sick of performance issues? Enter Scout's APM tool for Python apps. Easily pinpoint and fix slowdowns with intelligent tracing logic. Optimize performance hassle-free, delighting your users. Try us out for free!

Articles

Django: The perils of string_if_invalid in templates

The use of string_if_invalid in Django templates can lead to issues, prompting suggestions to avoid or even remove it, with ongoing experiments exploring alternative behaviors inspired by Jinja's flexibility.

Django ORM Cheatsheet: Mastering Database Operations in Django

A comprehensive cheatsheet for Django's ORM offers newcomers and experienced developers a go-to guide for mastering database interactions without needing raw SQL queries.

LPython: Novel, Fast, Retargetable Python Compiler

LPython, a new Python compiler, offers fast compilation to optimized machine code across multiple backends, boasts Just-In-Time (JIT) capabilities, and interoperates with CPython, while aiming to deliver both rapid runtime and code generation, with the project currently in its alpha stage.

Quirks of Python package versioning

Python package versioning, while seemingly straightforward with formats like SemVer, has intricate quirks that necessitate using the official packaging.version.Version class rather than treating versions as mere strings.

Events

Announcement: CFP Launch – PyLadies

PyLadiesCon, a conference promoting diversity in the Python community, has opened its Call for Papers and invites speakers of all backgrounds to share their expertise for the online event scheduled from Dec 1-3, 2023.

Sponsored Link 2

Maintenance is Mandatory. Keeping your Django applications up to date helps avoid serious security problems and bugs.

Podcasts

Craft of Open Source Podcast: #49 OpenFeature

On the Flagsmith podcast, Justin Abrahms, Principal Architect at OpenFeature with a notable background in Django, delves into the evolution of open-source development, underscoring its pivotal role in tech and advocating for enhanced open-source management.

Projects

joonspk-research/generative_agents

The Smallville sandbox world is a core simulation module for generative agents. The repository for "Generative Agents: Interactive Simulacra of Human Behavior" provides a Django-built core simulation module for computational agents that mimic human behaviors, complete with setup instructions and demo animation.

25 AI agents inhabit a digital Westworld, unaware that they are living in a simulation. They go to work, gossip, organize socials, make new friends, and even fall in love. Each has a unique personality and backstory. source

incuna/django-pgcrypto-fields

Transparent field level encryption for Django using the pgcrypto postgresql extension.

centerofci/mathesar

Web application providing an intuitive user experience to databases.

Sponsorship

Interested in placing your product, service, or job vacancy squarely in the spotlight of a committed and active group of Django professionals?

Django News is the perfect place to do so! With over 3,365 subscribers, this is a targeted and passionate audience you don't want to miss out on. As a sponsor of the upcoming Fall season, you'll have the opportunity to showcase your offering to a highly relevant group of professionals.

Contact us today to learn more about sponsorship opportunities.


Django News is not associated with the Django Software Foundation.

Django is a registered trademark of the Django Software Foundation.

Don't miss what's next. Subscribe to Django News Newsletter:
link
jefftriplett.com
Powered by Buttondown, the easiest way to start and grow your newsletter.