Python Testing Style Guide, Performance Management, Pygame Asteroids Clone, and More

#465 – MARCH 23, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Python Testing Style Guide
Need a quick yet thorough guide to testing? This excellent resource is for you.
STARGIRL FLOWERS

A 5-Point Framework For Python Performance Management
“Performance testing — like sailboat racing — depends on the conditions along the racecourse.”
STEVEN F. LOTT • Shared by Alex Mitelman

Spend Less Time Debugging and More Time Building with Scout APM
Scout APM uses tracing logic to tie bottlenecks to source code to help developers identify and resolve performance issues. At only $39/month, Scout provides the insights you need in just 4 min! Start your free 14-day trial today and we’ll donate $5 to the OSS project of your choice when you deploy →
SCOUT APMsponsor

How to Write Unit Tests in Python, Part 1: Fizz Buzz
Get an introduction to unit testing in Python from the author of the Flask Megatutorial.
MIGUEL GRINBERG

Build an Asteroids Game With Python and Pygame
Build a clone of the Asteroids game in Python using Pygame. Step by step, you’ll add images, input handling, game logic, sounds, and text to your program.
REAL PYTHON

SQLAlchemy 1.4.0 Released
Patch versions 1.4.1 and 1.4.2 are also now available.
SQLALCHEMY.ORG

The Python Package Index Is Now a GitHub Secret Scanning Integrator
GITHUB.BLOG

Python Basics Book: Paperback Copies Now Available
“Python Basics: A Practical Introduction to Python 3” is now available as a paperback book. Go from beginner to intermediate Python knowledge with a clear, concise, and practical curriculum. Print copies available at a discounted launch price until the end of the week →
REAL PYTHONsponsor


Discussions


If You Use Python, When Do You Plan to Adopt Mypy for Type Checking?
In a recent Twitter poll, 45% of respondents said they already use Mypy, while 40% say they never plan to use it.
TWITTER.COM/GLYPH


Python Jobs


Intermediate Python Developer (Boulder, CO, USA)
UPLIGHT

Data Engineer (Seattle, WA, USA)
DOXO

Software Development Engineer (Indianapolis, IN, USA)
TOC LOGISTICS INTERNATIONAL, INC.

Full-Stack Django Developer (Oslo, Norway)
UNIFAI

More Python Jobs >>>


Articles & Tutorials


Python AI: How to Build a Neural Network & Make Predictions
Build a neural network from scratch as an introduction to the world of artificial intelligence (AI) in Python. You’ll learn how to train your neural network and make accurate predictions based on a given dataset.
REAL PYTHON

Unit Testing Python Code in Jupyter Notebooks
Even if you code in Jupyter notebooks, there’s no excuse to not be testing your code!
MATT WRIGHT

Performance is a Feature, Test it as Such
Test performance in CI/CD. Validate production deploys. Blackfire offers a robust way to run test scenarios and validate code changes, automatically. Discover Blackfire for free for 15 days →
BLACKFIREsponsor

Connecting to MongoDB and Updates on the Python Packaging Landscape
Have you heard about NoSQL databases, or wondered how to use one with Python? How does MongoDB store information and what packages can you use to connect this type of database to your Python project?
REAL PYTHON podcast

Want a vaccination appointment? It helps to know a Python programmer
Programmers are writing scripts to help find vaccine appointments for those who are eligible.
KEVIN COLLIER

Understand Django: Deploy A Live Site
Learn the steps you should take to prepare your Django project for life on the web.
MATT LAYMAN • Shared by Matt Layman

Instantly Refactor your Python Code From Inside your IDE
Sourcery helps make all the code your work with cleaner and easier to work with. Get instant advice on where your code is too complex or too confusing and how you can actually fix it.
SOURCERYsponsor

Trail of Bits Security Peeps Emit Tool to Weaponize Python’s Insecure Pickle Files
“Python’s pickle pilloried with prudent premonition of poisoning.”
THOMAS CLABURN

Machete Mode: Tagging Frames
Sometimes you gotta write some ugly code to get some things done.
NED BATCHELDER

John Cleese Has an NFT Bridge to Sell You for $69.3 Million
The world has gone temporarily (?) insane.
CAMERON FAULKNER


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 →

outrun: Execute a Local Command Using the Processing Power of Another Linux Machine
GITHUB.COM/OVERV

scikit-survival: Survival Analysis Built on Top of Scikit-Learn
GITHUB.COM/SEBP

testbook: Unit Test Your Jupyter Notebooks the Right Way
GITHUB.COM/NTERACT

CHIRP: A Forensic Collection Tool Written in Python
GITHUB.COM/CISAGOV

visual-automata: Wrapper for Caleb Evans’ Automata Library With More Visualization Features
GITHUB.COM/LEWIUBERG

📆🐍 Upcoming Python Events


⋅ Real Python Office Hours (Virtual) March 24, 2020

⋅ Python Web Conference 2021 March 22 to March 27, 2021

⋅ An Introduction to Delivering Technical Presentations With Confidence March 25, 2021

⋅ PyCon Israel 2021 (Virtual) May 2 – 3, 2021

⋅ PyCon 2021 (Virtual) May 12 – 18, 2021

⋅ DjangoCon Europe 2021 (Virtual) June 2 – 6, 2021

⋅ PyCon Cameroon 2021 March 18 to March 21, 2021
Happy Pythoning!
Copyright © 2021 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

Pythonic Pattern Matching, PyQt vs. PySide, Speeding Up Pandas, and More

Tuesday, March 16, 2021

Pattern Matching Tutorial for Pythonic Code #464 – MARCH 16, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Pattern Matching Tutorial for Pythonic Code Structural pattern matching is coming in

Poison Packages on PyPI, Python Synthesizers, Monoliths to Managed Architecture, and More

Tuesday, March 9, 2021

Poison Packages: User Hits Python Community With 4000 Fake Modules #463 – MARCH 9, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Poison Packages: User Hits Python Community With 4000 Fake Modules

SemVer Won't Save You, Python Flies on Mars, Automated TPS Reports, and More

Tuesday, March 2, 2021

Semantic Versioning Will Not Save You #462 – MARCH 2, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Semantic Versioning Will Not Save You Semantic versioning aims to both communicate the version

Python Turns 30, Concurrency is Tricky, You Should Upgrade pip, and More

Tuesday, February 23, 2021

Python Concurrency: The Tricky Bits #461 – FEBRUARY 23, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Python Concurrency: The Tricky Bits An exploration of threads, processes, and coroutines in

match/case, Mutable Python Strings, Cleaning Text With Pandas, and More

Tuesday, February 16, 2021

PEP 634: Structural Pattern Matching (`match`/`case`) #460 – FEBRUARY 16, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo PEP 634: Structural Pattern Matching ( match / case ) A few links related to

You Might Also Like

Daily Coding Problem: Problem #1646 [Medium]

Monday, December 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Write a function that rotates a list by k elements. For example, [1, 2, 3, 4,

GCP Newsletter #430

Monday, December 23, 2024

Welcome to issue #430 December 23rd, 2024 News Event Official Blog Calling all devs: Code the future of baseball with Google Cloud and MLB - Google Cloud and MLB are hosting a hackathon where

⏯️ Make a Holiday Guest Profile for Your Streaming Services — What Is Linux Mint?

Monday, December 23, 2024

Also: I Played the Worst Mobile Games So You Don't Have To, and More! How-To Geek Logo December 23, 2024 Did You Know The giant splashes of color that make poinsettias a popular holiday decoration

Ranked | The Most Satisfying vs. Most Reliable Car Brands in 2024 🚙

Monday, December 23, 2024

The most reliable car brands are rarely the most satisfying to own, according to recent Consumer Reports survey data. View Online | Subscribe | Download Our App Presented by: Find the megatrends

Bitcoin Enthusiasts Are Letting Altcoins Pass by

Monday, December 23, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 23, 2024? The

Last Minute Gifts from Walmart

Monday, December 23, 2024

ZDNET ZDNET Sponsored Message In Partnership with Walmart December 23, 2024 exclusive offer Walmart Last-minute gifts from Walmart Shop Now Walmart The tech you've been wishing for–at everyday low

15 ways AI saved me weeks of work in 2024

Monday, December 23, 2024

ZDNET's product of the year; Windows 11 24H2 bug list updated -- ZDNET ZDNET Tech Today - US December 23, 2024 AI applications on various devices. 15 surprising ways I used AI to save me weeks of

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 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌