#658 – DECEMBER 3, 2024
Django Performance: Scaling and Optimization
Performance tuning in the context of Django applications is the practice of enhancing both the efficiency and effectiveness of your web project to optimize its runtime behavior. This article tells you a lot of what you need to know.
LOADFORGE.COM
Python’s pathlib
Module
Python’s pathlib
module is the tool to use for working with file paths. This post contains pathlib
quick reference tables and examples.
TREY HUNNER
Python Developers: Scrape Any Website Without Getting Blocked
ZenRows handles all anti-bot bypass for you, from rotating proxies and headless browsers to CAPTCHAs and AI. Get a complete web scraping toolkit to extract all the data you need with a single API call. Try ZenRows now for free →
ZENROWS sponsor
Managing Dependencies With Python Poetry
Learn how Python Poetry can help you start new projects, maintain existing ones, and master dependency management.
REAL PYTHON course
Nuitka Release 2.5
NUITKA.NET
Quiz: NumPy Practical Examples: Useful Techniques
REAL PYTHON
Quiz: Interacting With Python
REAL PYTHON
Discussions
Add Optional if break:
Suite to for/while
PYTHON.ORG
Articles & Tutorials
Advent of Code 2024
This annual tradition is a series of small programming puzzles that can be completed in any programming language.
ADVENTOFCODE.COM
CI/CD for Python With GitHub Actions
With most software following agile methodologies, it’s essential to have robust DevOps systems in place to manage, maintain, and automate common tasks with a continually changing codebase. By using GitHub Actions, you can automate your workflows efficiently, especially for Python projects.
REAL PYTHON
How to Debug Your Textual Application
Textual is a great Python package for creating a lightweight, powerful, text-based user interface. Debugging TUIs can be a challenge though as you no longer can use print()
and the application may not even run in your IDE’s terminal interface. This post talks about how to debug a TUI.
MIKE DRISCOLL
Reactive Notebooks and Deployable Web Apps in Python
What are common issues with using notebooks for Python development? How do you know the current state, share reproducible results, or create interactive applications? This week on the show, we speak with Akshay Agrawal about the open-source reactive marimo notebook for Python.
REAL PYTHON podcast
Constraints Are Good: Python’s Metadata Dilemma
Python’s initial flexibility in packaging with the executable setup.py
has meant that people have come to expect this power. In this post Armin argues that if constraints had been there in the first place we’d be in a better place now.
ARMIN RONACHER
Demystifying ODBC With Python
Open Database Connectivity (ODBC) is used to connect to various databases. This article aims to help you understand ODBC better by implementing database communications from scratch only using Python.
PRESTON BLACKBURN • Shared by Preston Blackburn
What the PSF Conduct WG Does
In the past week Brett has had two different people tell him what the PSF Conduct Working Group did, and both were wrong. This post tries to correct what might be common misconceptions.
BRETT CANNON
Introduction to Retrogame Programming With Pyxel
Pyxel is a Rust based framework for building retro games that comes with a Python API wrapper. This step-by-step tutorial shows you how to do some basic sprite animation to get started.
MATHIEU LECARME
Speeding Up Data Retrieval From PostgreSQL With Psycopg
Formatting and concatenating query result columns on the PostgreSQL side and then parsing them in Python might sometimes be faster than fetching the columns as separate values.
ALIAKSEI YALETSKI • Shared by Tiendil
Django Application Performance Optimization Checklist
“Improve the performance of your Django application by understanding, testing, and implementing some common optimization techniques.”
SANKET RAI
Top 10 Rules of Continuous Integration
Continuous Integration (CI) is key to rapid deployment of new features. This post gives you ten rules to consider when doing CI.
KRISTINA NIKOLOVA
Projects & Code
Sensei: Simplifying API Client Generation
CROCOFACTORY.DEV • Shared by Alexey
QodoAI Cover-Agent: AI Tool for Automated Test Generation
GITHUB.COM/CODIUM-AI
Peek: Like print
, but Easy
SALABIM.ORG • Shared by Ruud van der Ham
pyvista: 3D Plotting and Mesh Analysis
GITHUB.COM/PYVISTA
python-fire: Automatically Generate Command Line Interfaces
GITHUB.COM/GOOGLE
Events
Weekly Real Python Office Hours Q&A (Virtual)
December 4, 2024
REALPYTHON.COM
PyCon Tanzania 2024
December 4 to December 6, 2024
PYCON.OR.TZ
DELSU Tech Invasion 2.0
December 4 to December 6, 2024
HAMPLUSTECH.COM
Canberra Python Meetup
December 5, 2024
MEETUP.COM
Sydney Python User Group (SyPy)
December 5, 2024
SYPY.ORG
PyLadies Amsterdam: Introduction to Data Storytelling
December 7, 2024
MEETUP.COM
Happy Pythoning!
This was PyCoder’s Weekly Issue #658.
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