#505 – DECEMBER 28, 2021
View in Browser »
Contents
Python Zip Imports: Distribute Modules and Packages Quickly
In this step-by-step tutorial, you’ll learn what Zip imports are and how to use them in Python. You’ll learn to create your own importable ZIP files and make them available for use. Finally, you’ll learn how to use the zipimport module to dynamically import code from ZIP files.
REAL PYTHON
Writing Fast Async HTTP Requests in Python
Different formats and code snippets to make a large amount of network requests locally, with controls for rate limiting and error handling.
JONLUCA DECARO
Shortcut Provides Speedy Task Management, Reporting, and Collaboration for Software Teams
Shortcut is project management built for developers. Whether you’re a startup that iterates quickly by providing every engineer with a free pallet of Red Bull, or a large org that has strict ship dates to hit, give us a try for free →
SHORTCUT sponsor
Should You Use Upper Bound Version Constraints?
package>=7 vs package>=7,<8: Should you be adding upper bounds to dependency version constraints in Python packages?
HENRY SCHREINER • Shared by Henry Schreiner
PEP 669: Low Impact Monitoring for CPython
sing a profiler or debugger in CPython can have a severe impact on performance. Slowdowns by an order of magnitude are common. This PEP proposes an API for monitoring of Python programs running on CPython that will enable monitoring at low cost.
PYTHON.ORG
Discussions
Python Jobs
Senior Software Engineer (Anywhere)
Sr DevOps Engineer (San Jose, CA, USA)
Senior Python Developer (Anywhere)
Senior Backend Engineer (Anywhere)
Senior Software Engineer (Anywhere)
Python Backend Engineer (Hasselt, Belgium)
Articles & Tutorials
Head First Taichi: A Beginner’s Guide to High Performance Computing in Python
“The Taichi Programming Language is an attempt to extend the Python programming language with constructs that enable general-purpose, high-performance computing. It is seamlessly embedded in Python, yet can summon every ounce of computing power in a machine — the multi-core CPU, and more importantly, the GPU.”
DUNFAN LU
How to Speed Up XGBoost Model Training
XGBoost is an open-source implementation of gradient boosting designed for speed and performance. However, even XGBoost training can sometimes be slow. There are quite a few approaches to accelerating this process like changing tree construction algorithm leveraging cloud computing, and distributed XGBoost.
MICHAEL GALARNYK • Shared by Michael Galarnyk
Courier + Segment = Transactional Product Notifications In Minutes
While Courier is still a developer API first and foremost, Segment users can now take advantage of the complete Courier platform, including omnichannel notification routing, dynamic message templates, user preferences management, automations and more by simply adding Courier as a Segment destination →
COURIER sponsor
Testing argparse Applications: The Better Way
“When you are creating command-line applications in Python, you probably heard of argparse, which is a great library for exactly doing this, and it is even included in Python’s standard library. But have you ever tried to create tests for a command-line application?”
JÜRGEN GMACH • Shared by Jürgen Gmach
Ordering Movie Credits With Graph Theory and Python
How do you order movie end credits? “This is surprisingly hard to answer. Pick any two films and you’ll find conflict in how screen credits are ordered. There are so many minor disagreements, in fact, that a human can’t hope to reconcile them.”
ENDCRAWL.COM
Seamless FastAPI Configuration With ConfZ
“ConfZ is a new configuration management library for Python. It is based on pydantic, which makes it perfect to use together with FastAPI.”
SILVAN MELCHIOR
Function Pointer Cast Handling in Pyodide
Why previous versions of Pyodide had a low recursion limit and how the upcoming version 0.19 supports a much higher one.
HOOD CHATHAM
Speed Up Your Arduino Designs and Debugging With Dr.Duino
Arduino users worldwide agree that Dr.Duino kits are the easiest way to design and debug projects. Build amazing projects without even needing a breadboard. Right now, get a free Arduino boot camp course with every kit. (Limited to the first 200 kits)
DR.DUINO sponsor
Exploring Google Analytics Realtime Data with Python
Taking full advantage of Google Analytics features and data using its REST API and Python.
MARTIN HEINZ • Shared by Martin Heinz
Projects & Code
Events
SPb Python Drinkup
December 30, 2021
MEETUP.COM
PyDelhi User Group Meetup
January 1, 2022
MEETUP.COM
Melbourne Python Users Group, Australia
January 3, 2022
J.MP
Dominican Republic Python User Group
January 4, 2022
PYTHON.DO
Weekly Real Python Office Hours Q&A (Virtual)
January 5, 2021
REALPYTHON.COM
Happy Pythoning!
This was PyCoder’s Weekly Issue #505.
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 ]