Site icon GIXtools

Issue #666: Monkeypatching Django, LLMs with Python, RegExes, and More (Jan. 28, 2025)

#666 – JANUARY 28, 2025

Monkeypatching Django

The nanodjango project is a modification to the Django framework that lets you get started with a single file instead of the usual cookie cutter directory structure. This is a detailed post explaining how nanodjango monkeypatches Django to achieve this result.
RICHARD TERRY

Simon Willison: Using LLMs for Python Development

What are the current large language model (LLM) tools you can use to develop Python? What prompting techniques and strategies produce better results? This week on the show, we speak with Simon Willison about his LLM research and his exploration of writing Python code with these rapidly evolving tools.
REAL PYTHON podcast

Postman AI Agent Builder Is Here: The Quickest Way to Build AI Agents. Start Building

Postman AI Agent Builder is a suite of solutions that accelerates agent development. With centralized access to the latest LLMs and APIs from over 18,000 companies, plus no-code workflows, you can quickly connect critical tools and build multi-step agents — all without writing a single line of code →
POSTMAN sponsor

How to Use Regular Expressions in Python

This post explores the basics of regular expressions in Python, as well as more advanced techniques. It includes real-world use cases, and performance optimization strategies.
FEDERICO TROTTA

Discussions

How Is the PSF Governed and Funded?

PYTHON.ORG

Python Jobs

Backend Software Engineer (Anywhere)

Brilliant.org

More Python Jobs >>>

Articles & Tutorials

Exploring Python’s tuple Data Type With Examples

In Python, a tuple is a built-in data type that allows you to create immutable sequences of values. The values or items in a tuple can be of any type. This makes tuples pretty useful in those situations where you need to store heterogeneous data, like that in a database record, for example.
REAL PYTHON course

Embedding Python in Rust (For Tests)

In the Python world, Rust is sometimes used to implement libraries and tools where speed is required. The opposite can be useful as well: using Python in the Rust world to add flexibility in testing. This article shows you how.
PHIL EATON

Universal Dataframes With PyCapsule + Narwhals

The Arrow PyCapsule interface and Narwhals are both ways of generically interacting with dataframes. If you want to write a data science tool that can interact with a variety of libraries, this article will show you how.
MARCO GORELLI • Shared by Marco Gorelli

Language Translation With Python

Mark has been working on a project where some of the data being consumed wasn’t in English. To get around this he’s used LibreTranslate. This post details how he plugged all this together using Python.
MARK LITWINTSCHIK

Billions of Requests Per Second With Memcached

“Facebook receives billions of requests per second and stores trillions of items in their databases.” This article outlines how they use a key-value store to help achieve that.
LEONARDO CREED

Fake Django Objects With Factory Boy

The factory_boy library is a tool for managing fixtures for your tests. This article shows you how to use it with Django.
AIDAS BENDORAITIS

PEP 771: Default Extras for Python Software Packages

This PEP proposes a mechanism to allow one or more extras (optional components of a distribution) to be installed by default if none are provided explicitly.
PYTHON.ORG

PEP 773: A Python Installation Manager for Windows

This PEP proposes a design for a single Windows install workflow tool that satisfies all the needs of the existing installers for the platform.
PYTHON.ORG

Technical Session on Fine-Grained Authorization in Python

Learn how to write dynamic policies that enable your app to support features like scoped permissions and hierarchical resources with Oso – plus a live demo on refactoring an app from hardcoded permissions to debuggable authorization.
OSO sponsor

functools.cmp_to_key()

This article explores functools.cmp_to_key(), a function that turns comparison functions into key functions.
MATHSPP.COM • Shared by Rodrigo Girão Serrão

TDD vs. BDD: What’s the Difference?

Discover the key differences between TDD vs BDD, their workflows, tools, and best practices for developers.
ANTONELLO ZANINI

Projects & Code

face-censor: Detect and Blur Faces in Images

GITHUB.COM/SPRING-0

Tamga: Logging Utility With Multiple Formats and Color

GITHUB.COM/DOGUKANURKER

bruin: Build Data Pipelines With SQL and Python

GITHUB.COM/BRUIN-DATA

check-config: Keep You Configuration Files in Sync

GITHUB.COM/MRIJKEN

SmartTitleTool: Flexible Smart Title Case Formatter for Python

PYPI.ORG • Shared by Khalid Sulaiman Al-Mulaify

Events

Weekly Real Python Office Hours Q&A (Virtual)

January 29, 2025
REALPYTHON.COM

SPb Python Drinkup

January 30, 2025
MEETUP.COM

Python Devroom @ FOSDEM 2025

February 2 to February 3, 2025
FOSDEM.ORG

Melbourne Python Users Group, Australia

February 3, 2025
J.MP

PyBodensee Monthly Meetup

February 3, 2025
PYBODENSEE.COM

STL Python

February 6, 2025
MEETUP.COM

PyCascades 2025

February 8 to February 10, 2025
PYCASCADES.COM

Happy Pythoning!
This was PyCoder’s Weekly Issue #666.
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

Exit mobile version