Issue #583 (June 27, 2023)

#583 – JUNE 27, 2023

Building Search DSLs With Django

A Domain Specific Language is a small language for a particular application domain. GitHub has a simple example within their issue tracker allowing constraints like “is:open” to specify searching only for open tickets. This article shows you how to build your own search DSL in Django using PyParsing.
DAN LAMANNA

Resources and Advice for Building CircuitPython Projects

Are you looking to advance your CircuitPython projects? Would you like a collection of resources and tools to help you along your path? This week on the show, Tod Kurt is here to discuss building projects with CircuitPython.
REAL PYTHON podcast

All of Your Data, from Python or Any Other Application, in Real-Time

CData simplifies connectivity to the data sources that power business, making it easier to unlock the value of data. Our SQL-based connectors streamline data access making it easy to access real-time data from on-premise or cloud databases, SaaS, APIs, NoSQL, and Big Data. Learn more at cdata.com →
CDATA SOFTWARE sponsor

Debugging Python Code in Kubernetes

Set breakpoints, step through code, and interactively debug your Python applications running on Kubernetes with ease
MARTIN HEINZ • Shared by Martin Heinz

PSF Announces New Security Developer in Residence

PYTHON SOFTWARE FOUNDATION

2023 PSF Board Election Is Open; Vote Before June 30th

PYTHON SOFTWARE FOUNDATION

Python 3.12.0 Beta 3 Released

CPYTHON DEV BLOG

Discussions

Kill a Developer in 4 Words or Less

TWITTER

Python Jobs

Software Engineer (Dallas or Los Angeles) (Los Angeles, CA, USA)

Causeway Capital Management LLC

More Python Jobs >>>

Articles & Tutorials

Migrating Netflix to GraphQL Safely

Netflix made a major architecture change, moving to GraphQL. Doing so for 100s of millions of customers without disruption was a challenge. This article details how they introduced the new pieces to the architecture and moved their developers to the new API.
SHIN, SHIKHARE, & EMMANUEL

Generating Code Without Generating Technical Debt?

GPT and other large language models can produce huge volumes of code quickly. This allows for faster prototyping and iterative development, trying out multiple solutions. But it can also leave us with a bigger amount of mess / code to maintain.
REKA HORVATH • Shared by Reka

Polish your Python Code with Pylint

Discover the — often overlooked — value of linting in Snyk’s guide to improving code quality with Pylint →
SNYK.IO sponsor

Python’s raise: Raising Exceptions in Your Code

In this tutorial, you’ll learn how to raise exceptions in Python, which will improve your ability to efficiently handle errors and exceptional situations in your code. This way, you’ll write more reliable, robust, and maintainable code.
REAL PYTHON

Why and How to Hide the Python Stack Trace

In production software you shouldn’t crash, but if you do, showing your users the stack trace can be disconcerting. This article covers how to hide the stack trace and what other information to provide.
BITE CODE

Recursion in Python

A recursive function is one that calls itself. In this video course, you’ll see what recursion is, how it works in Python, and under what circumstances you should use it.
REAL PYTHON course

Designing Pythonic Library APIs

This article summarizes principles that Ben has found useful when designing Python library APIs. Topics include: structure, naming, error handling, and type annotations.
BEN HOYT

Learn the Latest AI capabilities with Python 3.11 via OpenVINO™ 2023.0

Looking for more AI optimizations with Python 3.11? Check out OpenVINO™ DevCon for monthly workshops on how you can improve your AI applications with OpenVINO Toolkit’s 2023.0 release. Register. Learn. Connect.
INTEL CORPORATION sponsor

Supercharging My Telegram Group With ChatGPT

Using Python and ChatGPT, Duarte enriched his Telegram group with a summarizing command and a user impersonation feature. It was made using the gpt-3.5-turbo API.
DUARTE CARMO • Shared by Duarte Carmo

Bullet Proofing Django Models

Tips and techniques for writing better ORM models in Django. Topics include atomicity, validation, logging and more.
HAKI BENITA

Projects & Code

waffle: Feature Flags for Django

GITHUB.COM/DJANGO-WAFFLE

arguably: Turn Functions Into CLIs

GITHUB.COM/TREYKEOWN

autolabel: Label, Clean and Enrich Text Datasets With LLMs

GITHUB.COM/REFUEL-AI

simpleaichat: Interface With AI Chat Apps

GITHUB.COM/MINIMAXIR

Events

World Conference on Data Science & Statistics

June 26 to June 29, 2023
THEPEOPLEEVENTS.COM

PyKla Monthly Meetup

June 28, 2023
MEETUP.COM

Weekly Real Python Office Hours Q&A (Virtual)

June 28, 2023
REALPYTHON.COM

SPb Python Drinkup

June 29, 2023
MEETUP.COM

PyDelhi User Group Meetup

July 1, 2023
MEETUP.COM

PyCon Israel 2023

July 4 to July 6, 2023
PYCON.ORG.IL

Happy Pythoning!
This was PyCoder’s Weekly Issue #583.
View in Browser »

[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]

Source:: PyCoder’s