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 #1694 [Medium]

Thursday, February 27, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Fitbit. Given a linked list, rearrange the node values such that they appear in

JSK Daily for Feb 17, 2025

Thursday, February 27, 2025

JSK Daily for Feb 17, 2025 View this email in your browser A community curated daily e-mail of JavaScript news Meet Harmony An open source library for composing consistent and highly performant

New Blogs on ThomasMaurer.ch for 02/18/2025

Thursday, February 27, 2025

View this email in your browser Thomas Maurer Cloud & Datacenter Update This is the update for blog posts on ThomasMaurer.ch. Arc Jumpstart Drops: Share your Scripts and Tools with the Community!

The USB That’s Wasn’t 🖱️

Thursday, February 27, 2025

A forgotten universal port standard that secretly survives. Here's a version for your browser. Hunting for the end of the long tail • February 17, 2025 Today in Tedium: If you know your tech

📧 Understanding Cursor Pagination and Why It's So Fast (Deep Dive)

Thursday, February 27, 2025

​ Understanding Cursor Pagination and Why It's So Fast (Deep Dive) Read on: m​y website / Read time: 11 minutes The .NET Weekly is brought to you by: Build better with AWS, using tips and tools

Re: Are you tired of the spam?

Thursday, February 27, 2025

Hey there, Are you as tired of spam as I am? If you're like me, you always mark unwanted emails as spam, unsubscribe from unsolicited texts, and block unknown callers... But the spam doesn't

📡 Improving Your Cell Signal at Home — What Came Before Windows?

Thursday, February 27, 2025

Also: How I Fixed My Living Room Having Way Too Many Remotes How-To Geek Logo February 27, 2025 Did You Know Lampworking is a form of glasswork in which the craftsperson uses a blowtorch instead of the

Power BI Weekly #296 - 18th February 2025

Thursday, February 27, 2025

Power BI Weekly Newsletter Issue #296 powered by endjin Welcome to the 296th edition of Power BI Weekly! One official article coming from the Fabric blog this week is an explainer around How can I

The Sequence Knowledge #492: RAG-Fusion is Better than Just RAG

Thursday, February 27, 2025

Understanding the principles of RAG-fusion techniques. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Tackle Your Credit Card Debt With 0% Interest Until Nearly 2027 and 5% Cash Back

Thursday, February 27, 2025

iPhoneLife Logo Sponsored email sent by iPhone Life Tackle Your Credit Card Debt With 0% Interest Until Nearly 2027 and 5% Cash Back Did you know some credit cards can actually help you get out of debt