#505 – DECEMBER 28, 2021
View in Browser »
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.
Different formats and code snippets to make a large amount of network requests locally, with controls for rate limiting and error handling.
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 →
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.
Articles & Tutorials
“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.”
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
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 →
“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
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.”
“ConfZ is a new configuration management library for Python. It is based on pydantic, which makes it perfect to use together with FastAPI.”
Why previous versions of Pyodide had a low recursion limit and how the upcoming version 0.19 supports a much higher one.
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)
Projects & Code
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 ]