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 (USA)
CLAY

Advanced Python Engineer (Newport Beach, CA, USA)
RESEARCH AFFILIATES

Senior Full-Stack Web Developer (White Rock, BC, Canada)
MONETIZEMORE

Python Software Engineer (Anywhere)
FLASHPOINT

Mid/Senior Django Developer (Brooklyn, NY, USA)
TYPE/CODE

Sr Python Engineer (Anywhere)
FLASHPOINT

Senior Backend Engineer Django (UK, Europe)
DATAPANE

Backend Software Engineer (Asia Pacific Region)
CATALPA INTERNATIONAL

Full Stack Software Engineer Python (United States)
DEEP SENTINEL

Senior Software Engineer (Anywhere)
DROICE LABS

Python Trainer (Jakarta, Indonesia)
PHYSIKALISCH-TECHNISCHE BUNDESANSTALT

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

Happy Pythoning!
Copyright ยฉ 2022 PyCoder’s Weekly, All rights reserved.
You are receiving this email because you opted in on our website at pycoders.com
Our mailing address: DevCademy Media Inc. ยท #720-999 West Broadway, Vancouver BC V5Z 1K5, Canada

Unsubscribe | Update Email Address

Older messages

Assert, Downloading Concurrently, Troubleshooting, and More

Tuesday, March 1, 2022

Python's Assert: Debug and Test Your Code Like a Pro #514 – MARCH 1, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Python's Assert: Debug and Test Your Code Like a Pro Learn how to use

Faster Code, Multiple Constructors, Dockerizing Django, and More

Tuesday, February 22, 2022

How We Optimized Python API Server Code 100x #513 – FEBRUARY 22, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo How We Optimized Python API Server Code 100x Tricks we used to speed up calls to our

Unit Test Docs, Python zipfile, Django Runs Black, and More

Tuesday, February 15, 2022

Documentation Unit Tests #512 – FEBRUARY 15, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Documentation Unit Tests Interesting approach to keeping documentation and code in sync: introspecting

typing.Protocol, args and kwargs, CPython 3.11.0a5 Released, and More

Tuesday, February 8, 2022

Defining Python Functions With Optional Arguments #511 – FEBRUARY 8, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Defining Python Functions With Optional Arguments Learn about Python optional

Python JIT, Security Pitfalls, macOS Deprecates Python 2, Black Formatter Stable Release, and More

Tuesday, February 1, 2022

What Is a JIT and How Can Pyjion Speed Up Your Python? #510 – FEBRUARY 1, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo What Is a JIT and How Can Pyjion Speed Up Your Python? How can you can speed

You Might Also Like

Distributed Locking: A Practical Guide

Monday, December 23, 2024

If you're wondering how and when distributed locking can be useful, here's the practical guide. I explained why distributed locking is needed in real-world scenarios. Explored how popular tools

⚡ THN Weekly Recap: Top Cybersecurity Threats, Tools and Tips

Monday, December 23, 2024

Your one-stop-source for last week's top cybersecurity headlines. The Hacker News THN Weekly Recap The online world never takes a break, and this week shows why. From ransomware creators being

⚙️ OpenA(G)I?

Monday, December 23, 2024

Plus: The Genesis Project ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Post from Syncfusion Blogs on 12/23/2024

Monday, December 23, 2024

New blogs from Syncfusion Introducing the New WinUI Kanban Board By Karthick Mani This blog explains the features of the new Syncfusion WinUI Kanban Board control introduced in the 2024 Volume 4

Import AI 395: AI and energy demand; distributed training via DeMo; and Phi-4

Monday, December 23, 2024

What might fighting for freedom in an AI age look like? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

LockBit Ransomware Developer Charged for Billions in Global Damages

Monday, December 23, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Re: How to know if your data has been exposed

Monday, December 23, 2024

Imagine getting an instant notification if your SSN, credit card, or password has been exposed on the dark web — so you can take action immediately. Surfshark Alert does just that. It helps you stay

Christmas On Repeat 🎅

Monday, December 23, 2024

Christmas nostalgia is a hell of a drug. Here's a version for your browser. Hunting for the end of the long tail • December 22, 2024 Hey all, Ernie here with a refresh of a piece from our very

SRE Weekly Issue #456

Monday, December 23, 2024

View on sreweekly.com A message from our sponsor, FireHydrant: On-call during the holidays? Spend more time taking in some R&R and less getting paged. Let alerts make their rounds fairly with our

The Power of an Annual Review & Grammarly acquires Coda

Sunday, December 22, 2024

I am looking for my next role, Zen Browser got a fresh new look, Flipboard introduces Surf, Campsite shuts down, and a lot more in this week's issue of Creativerly. Creativerly The Power of an