Issue #525

Python's min() and max(), django-rich, Evaluating Dependencies, and More

May 17, 2022

Python's min() and max(), django-rich, Evaluating Dependencies, and More
#525 – MAY 17, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
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, & SMITH podcast

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

DjangoCon Europe 2022 Call for Proposals
DJANGOCON.EU

DjangoCon US 2022 Call for Proposals
PRETALX.COM

Python Release Python 3.11.0b1
PYTHON.ORG

Python in Visual Studio Code: May 2022 Release
MICROSOFT.COM


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

Which Python Packages Do You Use the Most?
MIKE DRISCOLL


Python Jobs


Academic Innovation Developer
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Software Development Lead
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Senior Backend Engineer
DOIST 📍 ANYWHERE

Senior Storytelling Framework Engineer - Python
GOPRO 📍 FRANCE

Senior Software Engineer - Python Full Stack
BLENDERBOX 📍 USA

Gameful Learning Developer
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Data & Operations Engineer
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Lead Software Engineer
RIGHT SIDE UP 📍 ANYWHERE

More Python Jobs >>>


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 PYTHON course

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


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 →

ads: Store Data in Soundwaves
GITHUB.COM/STACKBUFFER

TatSu: Generate Python Parsers From EBNF Grammars
GITHUB.COM/NEOGENY

woodwork: Data Typing Namespace for Many ML Tools
GITHUB.COM/ALTERYX

pony: Pony Object Relational Mapper
GITHUB.COM/PONYORM

open-data-anonymizer: Data Anonymization & Masking
GITHUB.COM/ARTLABSS

📆🐍 Upcoming Python Events


PiterPy Breakfast
May 18, 2022

Weekly Real Python Office Hours Q&A (Virtual)
May 18, 2022

PyData Bristol Meetup
May 19, 2022

PyLadies Dublin
May 19, 2022

Karlsruhe Python User Group (KaPy)
May 20, 2022

Django Girls Malabo
May 21 to May 22, 2022
Happy Pythoning!
Copyright © 2022 PyCoder’s Weekly, All rights reserved.