Issue #515

Optional Arguments, Fixing a Vulnerability, Code Reviews, and More

March 8, 2022

Optional Arguments, Fixing a Vulnerability, Code Reviews, and More
#515 โ€“ MARCH 8, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Optional Arguments and Moving Beyond “Beginner” Python
It’s episode 100 of the Real Python Podcast ๐ŸŽ‰ This week you’ll learn how to define Python functions that accept optional arguments or default values, and you’ll get tips for going beyond the beginner stage with Python.
REAL PYTHON podcast

How I Found (And Fixed) a Vulnerability in Python
“I decided to deepen my knowledge in this field and explore cache poisoning vulnerabilities in the open source domain. I focused my research on the most popular web frameworks, such as Flask, Bottle, and Tornado. Eventually, I found and fixed a vulnerability in Python.”
ADAM GOLDSCHMIDT

Data Elixir: Data Science Newsletter
Data Elixir is an email newsletter that keeps you on top of the latest tools and trends in Data Science. Covers machine learning, data visualization, analytics, and strategy. Curated weekly with top picks from around the web โ†’
DATA ELIXIRsponsor

Code Review Guidelines for Data Science Teams
Although written for Data Science teams, a good article on why any team of coders should do code reviews. How to do them, what to look for, and how to improve your code.
TIM HOPPER

PyCon US 2022 Schedule Published
PYCON.BLOGSPOT.COM

Django 4.0.3 Bug Fix Release
DJANGO SOFTWARE FOUNDATION


Discussions


Your Python 4 Dream List
“If there was to ever be Python 4 (not a minor version increment, but full fledged new Python), what would you like to see in it?”
REDDIT

How to Speed Up the agg of Pandas groupby Bins?
STACK OVERFLOW


Python Jobs


Senior Backend Software Engineer
CLAY ๐Ÿ“ USA

Advanced Python Engineer
RESEARCH AFFILIATES ๐Ÿ“ NEWPORT BEACH, CA, USA

Senior Full-Stack Web Developer
MONETIZEMORE ๐Ÿ“ WHITE ROCK, BC, CANADA

Python Software Engineer
FLASHPOINT ๐Ÿ“ ANYWHERE

Mid/Senior Django Developer
TYPE/CODE ๐Ÿ“ BROOKLYN, NY, USA

Sr Python Engineer
FLASHPOINT ๐Ÿ“ ANYWHERE

Senior Backend Engineer Django
DATAPANE ๐Ÿ“ UK, EUROPE

Backend Software Engineer
CATALPA INTERNATIONAL ๐Ÿ“ ASIA PACIFIC REGION

Full Stack Software Engineer Python
DEEP SENTINEL ๐Ÿ“ UNITED STATES

Senior Software Engineer
DROICE LABS ๐Ÿ“ ANYWHERE

Python Trainer
PHYSIKALISCH-TECHNISCHE BUNDESANSTALT ๐Ÿ“ JAKARTA, INDONESIA

More Python Jobs >>>


Articles & Tutorials


Optimizing Memory Usage in Python Applications
“When it comes to performance optimization, people usually focus only on speed and CPU usage. Rarely is anyone concerned with memory consumption, well, until they run out of RAM. There are many reasons to try to limit memory usage, not just avoiding having your application crash because of out-of-memory errors.”
MARTIN HEINZ

A Gentle Introduction to Serialization for Python
Discover how to use two common Python serialization libraries: pickle and HDF5. This article talks about what can be serialized, how to do it, where you can use it, and how to choose between the two methods discussed.
JASON BROWNLEE

Considering a Career in Cyber Security
Start your path to a new career with the only cybersecurity bootcamp with a job guarantee! Get hands-on experience and learn practical skills with 1:1 support from a cybersecurity mentor and career coaches, all from the comfort of your home and at your own pace โ†’
SPRINGBOARDsponsor

Using Higher-Order Containers to Process DataFrames
StaticFrame is an alternative to Pandas that has immutable DataFrames. Learn all about its core containers: Bus, Batch, Quilt, and Yarn, all of which provide abstractions for multi-table datasets.
CHRISTOPHER ARIZA โ€ข Shared by Christopher Ariza

Manage Your To-Do Lists Using Python and Django
Use Django to build a to-do list manager app. This step-by-step tutorial will teach you how to use Django’s class-based views to build a powerful app while dramatically reducing your development time.
REAL PYTHON

How and Why I Use Pytest’s xfail
pytest has two different ways of marking a test so that it isn’t run. This article shows the difference between pytest.mark.skip and pytest.mark.xfail and why to use xfail.
PAUL GANSSLE

String Interning in Python
Python optimizes smaller strings. If you assign multiple variables with the same string value, all the variables will refer to the same string underneath. Learn how it works.
REDOWAN DELOWAR โ€ข Shared by Redowan Delowar

Find Your Next Tech Job Through Hired
Hired has 1000s of companies ranging from startups to Fortune 500s who are actively hiring developers, data scientists, mobile engineers, & more. It’s simple: create a profile with your skills for hiring managers to reach you directly. Sign up today!
HIREDsponsor

Python Environment Dependency & Workspace Management
How to install and switch between multiple versions of Python, manage dependencies & virtual environments, and how to reproduce and environment on another machine.
JAN GIACOMELLI

Generating a Word Cloud in Python
Word or text clouds are a common way for analysts to display textural, qualitative, or semantical data analysis. Learn how to build one in Python.
OLGA BEREZOVSKY โ€ข Shared by Olga Berezovsky


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 โ†’

django-distill: Static Site Generator Based on Django
GITHUB.COM/MEEB

msgspec: Fast, Friendly JSON & MessagePack Library
JCRISTHARIF.COM โ€ข Shared by Jim Crist-Harif

curvipy: Package for Teaching Mathematical Functions, Curves and Linear Transformations
GITHUB.COM/DYLANNALEX

Linux SysOps Handbook
ABDULLAH BARRAK

robox: Simple Library for Exploring/Scraping the Web
GITHUB.COM/DANCLAUDIUPOP โ€ข Shared by Dan Claudiu Pop

debugpy: Debug Adapter Protocol for Python
GITHUB.COM/MICROSOFT

๐Ÿ“†๐Ÿ Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
March 9, 2022

Santa Cruz Python Meetup
March 9, 2022

Heidelberg Python Meetup
March 9, 2022

pyCologne User Group Treffen
March 9, 2022

Inland Empire Python Users Group Monthly Meeting
March 15, 2022

Python Web Conference 2022 (Virtual)
March 21 to March 25, 2022
Happy Pythoning!
Copyright ยฉ 2022 PyCoder’s Weekly, All rights reserved.