#668 – FEBRUARY 11, 2025
NumPy Techniques and Practical Examples
In this video course, you’ll learn how to use NumPy by exploring several interesting examples. You’ll read data from a file into an array and analyze structured arrays to perform a reconciliation. You’ll also learn how to quickly chart an analysis & turn a custom function into a vectorized function.
REAL PYTHON course
Let’s Compile Python 1.0
As part of the celebration of 31 years of Python, Bite Code compiles the original Python 1.0 and plays around with it.
BITE CODE!
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
Save Memory With BytesIO
If you want to save memory when reading from a BytesIO
object, getvalue()
is surprisingly a good choice.
ITAMAR TURNER-TRAURING
Beautifulsoup 4.13 Released
LAUNCHPAD.NET
PEP 759: External Wheel Hosting (Withdrawn)
PYTHON.ORG
PEP 2026: Calendar Versioning for Python (Rejected)
PYTHON.ORG
PEP 739: Static Description File for Build Details (Accepted)
PYTHON.ORG
Python 3.13.2 and 3.12.9 Released
CPYTHON DEV BLOG
Quiz: How to Split a String in Python
REAL PYTHON
Discussions
Add a New ApiMisuseException
PYTHON.ORG
PEP 764: Inlined Typed Dictionaries
PYTHON.ORG
Python Jobs
Backend Software Engineer (Anywhere)
Brilliant.org
More Python Jobs >>>
Articles & Tutorials
How to Split a String in Python
This tutorial will help you master Python string splitting. You’ll learn to use .split()
, .splitlines()
, and re.split()
to effectively handle whitespace, custom delimiters, and multiline text, which will level up your data parsing skills.
REAL PYTHON
The Mutable Trap: Avoiding Unintended Side Effects in Python
“Ever had a Python function behave strangely, remembering values between calls when it shouldn’t? You’re not alone! This is one of Python’s sneakiest pitfalls—mutable default parameters.”
CRAIG RICHARDS • Shared by Bob
Posit Package Manager: Secure Python Library Management
Python developers use Posit Package Manager to mirror public & internally developed repos within their firewalls. Get reporting on known vulnerabilities to proactively address potential threats. High-security environments can even run air-gapped.
POSIT sponsor
Decorator JITs: Python as a DSL
There are several Just In Time compilation tools out there that allow you to decorate a function to indicate you want it compiled. This article shows you how that works.
ELI BENDERSKY
Better Unit-Tests for Email With Django 5.2
Django 5.2 contains a new helper on the email class to make it easier to write unit-tests validating that your email contains the content you expect it to contain.
MEDIUM.COM/AMBIENT-INNOVATION • Shared by Ronny Vedrilla
Rendering Form Fields as Group in Django
Django 5.0 added the concept of field groups which make it easier to customize the layout of Django forms. This article covers what groups are and how to use them.
VALENTINO GAGLIARDI
Developer Philosophy
The author was recently invited with other senior devs to give a lightning talk on their personal development philosophy. This post captures those thoughts.
QNTM
Interrupting Scripts Without Tracebacks
This Things-I’ve-Learned post talks about how you can suppress the KeyboardInterrupt
expression so your program doesn’t exit with a traceback.
RODRIGO GIRÃO SERRÃO
PEP 772: Packaging Governance Process
This PEP proposes a Python Packaging Council with broad authority over packaging standards, tools, and implementations.
PYTHON.ORG
Python Terminology: An Unofficial Glossary
“Definitions for colloquial Python terminology (effectively an unofficial version of the Python glossary).”
TREY HUNNER
Projects & Code
shellingham: Tool to Detect Surrounding Shell
GITHUB.COM/SARUGAKU
mrab-regex: Backwards Compatible, Improved RegEx Engine
GITHUB.COM/MRABARNETT
python-sortedcontainers: Python Sorted Container Types
GITHUB.COM/GRANTJENKS
soupsieve: CSS Selector Implementation for BeautifulSoup
GITHUB.COM/FACELESSUSER
platformdirs: Get Platform-Specific Dirs, e.g. “User Data Dir”
GITHUB.COM/TOX-DEV
Events
Weekly Real Python Office Hours Q&A (Virtual)
February 12, 2025
REALPYTHON.COM
Python Atlanta
February 14, 2025
MEETUP.COM
Python Barcamp Karlsruhe 2025
February 15 to February 17, 2025
BARCAMPS.EU
Inland Empire Python Users Group Monthly Meeting
February 19, 2025
MEETUP.COM
PyData Bristol Meetup
February 20, 2025
MEETUP.COM
DjangoCongress JP 2025
February 22 to February 23, 2025
DJANGOCONGRESS.JP
PyConf Hyderabad 2025
February 22 to February 24, 2025
PYCONFHYD.ORG
Happy Pythoning!
This was PyCoder’s Weekly Issue #668.
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