Issue #583

Search DSLs, CircuitPython, Debugging Kubernetes, and More

June 27, 2023

Search DSLs, CircuitPython, Debugging Kubernetes, and More
#583 – JUNE 27, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
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 SOFTWAREsponsor

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)
CAUSEWAY CAPITAL MANAGEMENT LLC 📍 LOS ANGELES, CA, USA

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.IOsponsor

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 CORPORATIONsponsor

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


Brought to you by Real Python for Teamssponsor
Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed →

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

📆🐍 Upcoming Python Events


World Conference on Data Science & Statistics
June 26 to June 29, 2023

PyKla Monthly Meetup
June 28, 2023

Weekly Real Python Office Hours Q&A (Virtual)
June 28, 2023

SPb Python Drinkup
June 29, 2023

PyDelhi User Group Meetup
July 1, 2023

PyCon Israel 2023
July 4 to July 6, 2023
Happy Pythoning!
Copyright © 2023 PyCoder’s Weekly, All rights reserved.