Issue #637

Apple App Store, Built-Ins, Constraint Programming, and More

July 9, 2024

Apple App Store, Built-Ins, Constraint Programming, and More
#637 – JULY 9, 2024 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Python Grapples With Apple App Store Rejections
A string that is part of the urllib parser module in Python references a scheme for apps that use the iTunes feature to install other apps, which is disallowed. Auto scanning by Apple is rejecting any app that uses Python 3.12 underneath. A solution has been proposed for Python 3.13.
JOE BROCKMEIER

Python’s Built-in Functions: A Complete Exploration
In this tutorial, you’ll learn the basics of working with Python’s numerous built-in functions. You’ll explore how you can use these predefined functions to perform common tasks and operations, such as mathematical calculations, data type conversions, and string manipulations.
REAL PYTHON

Python Error and Performance Monitoring That Doesn’t Suck
With Sentry, you can trace issues from the frontend to the backend—detecting slow and broken code, to fix what’s broken faster. Installing the Python SDK is super easy and PyCoder’s Weekly subscribers get three full months of the team plan. Just use code “pycoder” on signup →
SENTRYsponsor

Constraint Programming Using CP-SAT and Python
Constraint programming is the process of looking for solutions based on a series of restrictions, like employees over 18 who have worked the cash before. This article introduces the concept and shows you how to use open source libraries to write constraint solving code.
PHILIPPE OLIVIER

Register for PyOhio, July 27-28
PYOHIO.ORG • Shared by Anurag Saxena

Psycopg 3.2 Released
PSYCOPG

Polars 1.0 Released
POLARS

Quiz: Python’s Magic Methods
REAL PYTHON


Discussions


Any Web Devs Successfully Pivoted to AI/ML Development?
HACKER NEWS


Articles & Tutorials


A Search Engine for Python Packages
Finding the right Python package on PyPI can be a bit difficult, since PyPI isn’t really designed for discovering packages easily. PyPiScout.com solves this problem by allowing you to search using descriptions like “A package that makes nice plots and visualizations.”
PYPISCOUT.COM • Shared by Florian Maas

Programming Advice I’d Give Myself 15 Years Ago
Marcus writes in depth about things he has learned in his coding career and wished he new earlier in his journey. Thoughts include fixing foot guns, understanding the pace-quality trade-off, sharpening your axe, and more. Associated HN Discussion.
MARCUS BUFFETT

Keeping Things in Sync: Derive vs Test
Don’t Repeat Yourself (DRY) is generally a good coding philosophy, but it shouldn’t be adhered to blindly. There are other alternatives, like using tests to make sure that duplication stays in sync. This article outlines the why and how of just that.
LUKE PLANT

8 Versions of UUID and When to Use Them
RFC 9562 outlines the structure of Universally Unique IDentifiers (UUIDs) and includes eight different versions. In this post, Nicole gives a quick intro to each kind so you don’t have to read the docs, and explains why you might choose each.
NICOLE TIETZ-SOKOLSKAYA

Defining Python Constants for Code Maintainability
In this video course, you’ll learn how to properly define constants in Python. By coding a bunch of practical example, you’ll also learn how Python constants can improve your code’s readability, reusability, and maintainability.
REAL PYTHON course

Django: Test for Pending Migrations
The makemigrations --check command tells you if there is missing migrations in your Django project, but you have to remember to run it. Adam suggests calling it from a test so it gets triggered as part of your CI/CD process.
ADAM JOHNSON

How to Maximize Your Experience at EuroPython 2024
Conferences can be overwhelming, with lots going on and lots of choices. This post talks about how to get the best experience at EuroPython, or any conference.
SANGARSHANAN

Polars vs. pandas: What’s the Difference?
Explore the key distinctions between Polars and Pandas, two data manipulation tools. Discover which framework suits your data processing needs best.
JODIE BURCHELL

An Overview of the Sparse Array Ecosystem for Python
An overview of the different options available for working with sparse arrays in Python.
HAMEER ABBASI


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 →

Get Space Weather Data
GITHUB.COM/BEN-N93 • Shared by Ben Nour

AI to Drop Hats
DROPOFAHAT.ZONE

amphi-etl: Low-Code ETL for Data
GITHUB.COM/AMPHI-AI

aurora: Static Site Generator Implemented in Python
GITHUB.COM/CAPJAMESG

pytest-edit: pytest --edit to Open Failing Test Code
GITHUB.COM/MRMINO

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
July 10, 2024

PyCon Nigeria 2024
July 10 to July 14, 2024

PyData Eindhoven 2024
July 11 to July 12, 2024

Python Atlanta
July 11 to July 12, 2024

PyDelhi User Group Meetup
July 13, 2024

DFW Pythoneers 2nd Saturday Teaching Meeting
July 13, 2024
Happy Pythoning!
Copyright © 2024 PyCoder’s Weekly, All rights reserved.