#525 – MAY 17, 2022
View in Browser »
Python’s min() and max(): Find Smallest and Largest Values
In this tutorial, you’ll learn how to use Python’s built-in min() and max() functions to find the smallest and largest values. You’ll also learn how to modify their standard behavior by providing a suitable key function. Finally, you’ll code a few practical examples of using min() and max().
REAL PYTHON
Using django-rich for Testing
The django-rich library adds color and formatting to Django management commands, including colorized tracebacks. Make your debugging and testing more visual.
OKKEN, JOHNSON, & SMITHpodcast
Analyze Code-Level Performance Across Your app’s Environment With Minimal Performance Overhead
Datadog’s profiler allows you to capture code profiles for all of your production instances. Compare those profiles in the profile comparison view to see how the performance of your code changes over time. You can quantify the changes you’ve made to fix a bottleneck. Try Datadog APM free →
DATADOGsponsor
The Well-Maintained Test: 12 Questions for New Dependencies
There is lots of openly available code out there, but how do you know if you should build a dependency on some random coder’s package? 12 Questions you should ask yourself before using a library.
ADAM JOHNSON
Discussions
Python Language Summit: Python Without the GIL
What’s a language summit without a conversation about the GIL? This HN discussion is all about the “nogil” conversation at the 2022 summit
HACKER NEWS
Python Jobs
Academic Innovation Developer (Ann Arbor, MI, USA)
Software Development Lead (Ann Arbor, MI, USA)
Senior Backend Engineer (Anywhere)
Senior Storytelling Framework Engineer - Python (France)
Senior Software Engineer - Python Full Stack (USA)
Gameful Learning Developer (Ann Arbor, MI, USA)
Data & Operations Engineer (Ann Arbor, MI, USA)
Lead Software Engineer (Anywhere)
Articles & Tutorials
Deploying a Flask Application Using Heroku
In this video course, you’ll learn how to create a Python Flask example web application and deploy it using Heroku. You’ll also use Git to track changes to the code, and you’ll configure a deployment workflow with different environments for staging and production.
REAL PYTHONcourse
Python Decorator Patterns
Decorators are a way of wrapping functions around functions, they’re a common technique for providing pre- and post-conditions on your code. Learn about the different ways decorators get invoked and how to write each pattern.
MARTON TRENCSENI
Pulumi: Developer-First Infrastructure with Python
Developing on the cloud is complex. What if you could use your existing programming knowledge to build, deploy, and manage infrastructure on any cloud using your favorite languages and tools? With Pulumi you can. Get started for free at pulumi.com →
PULUMIsponsor
Introduction to Linear Programming in Python
Linear programming is a technique in mathematics for optimizing multi-variable problems. This article introduces you to the world of linear programming and some Python libraries you can use to solve these kinds of problems.
MAXIME LABONNE
Gevent Performance
Gevent is a co-routine based networking library who’s sweet spot for performance is network-bound workloads. Learn how gevent allows you to efficiently interleave other CPU work while waiting on the network for results.
ROY WILLIAMS
REPL Python Programming and Debugging With IPython
IPython is a powerful alternative to the built-in REPL. Learn how to use it for exploratory programming and debugging, including using it in the Django shell.
LUKE PLANT
Unlock Secret Knowledge From Python Experts for Just $10
Packt’s Spring Sale is on and for a limited period, all eBooks and Videos are only $10. Our Products are available as PDF, ePub, and MP4 files for you to download and keep forever. All the practical content you need - by developers for developers.
PACKT PUBLISHINGsponsor
Profiling and Analyzing Performance of Python Programs
The tools and techniques for finding all the bottlenecks in your Python programs and fixing them, fast. Includes info on cProfile, py-spy, py-heat, and more.
MARTIN HEINZ• Shared by Martin Heinz
How to Code a Blockchain in 6 Steps
The best way to understand blockchains is to see one in action , or better yet, to build one. Learn how to use Python and hashlib to create your own.
ARI COHEN
Projects & Code
Events
PiterPy Breakfast
May 18, 2022
TIMEPAD.RU
PyData Bristol Meetup
May 19, 2022
MEETUP.COM
PyLadies Dublin
May 19, 2022
PYLADIES.COM
Karlsruhe Python User Group (KaPy)
May 20, 2022
BL0RG.NET
Django Girls Malabo
May 21 to May 22, 2022
DJANGOGIRLS.ORG
Happy Pythoning!
This was PyCoder’s Weekly Issue #525.
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 ]