Issue #505

The "zipimport" Module, Fast Async HTTP Requests, Versioning, PEP 669, and More

Dec. 28, 2021

The "zipimport" Module, Fast Async HTTP Requests, Versioning, PEP 669, and More
#505 – DECEMBER 28, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
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 →
SHORTCUTsponsor

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


Good Python Projects to Read for Examples of Modern Python?
HACKER NEWS

Why Aren’t Pandas Operations In-Place?
STACK OVERFLOW


Python Jobs


Senior Software Engineer
BREW 📍 ANYWHERE

Sr DevOps Engineer
TARA TECHINCAL SOLUTIONS 📍 SAN JOSE, CA, USA

Senior Python Developer
SIX FEET UP 📍 ANYWHERE

Senior Backend Engineer
BMAT 📍 ANYWHERE

Senior Software Engineer
BRAVELY 📍 ANYWHERE

Python Backend Engineer
MADEWITHLOVE 📍 HASSELT, BELGIUM

More Python Jobs >>>


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 →
COURIERsponsor

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.DUINOsponsor

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

Calling Rust From Python Using PyO3
SAID VAN DE KLUNDERT


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 →

poetry-kernel: Python Jupyter Kernel Using Poetry for Reproducible Notebooks
GITHUB.COM/PATHBIRD

primify: Embed ASCII Art Image Into a Prime Number
GITHUB.COM/LEVIBORODENKO

pythons-gc-and-orms: Exploring the Number of GCs When Doing Basic ORM Work
GITHUB.COM/MIKECKENNEDY

glide-text2im: Diffusion-Based Text-Conditional Image Synthesis Model
GITHUB.COM/OPENAI

Box: Python Dictionaries With Advanced Dot Notation Access
GITHUB.COM/CDGRIFFITH

ItsDangerous: Sign and Verify Arbitrary Data
PALLETSPROJECTS.COM

Happy Pythoning!
Copyright © 2021 PyCoder’s Weekly, All rights reserved.