Python Performance, Moving Django Models, the 2020 Python Language Summit, and More

#420 – MAY 12, 2020
The PyCoder’s Weekly Logo
Under Discussion: The Performance of Python
Victor Stinner and Julien Danjou sat down (remotely, that is) with Anne-Laure Civeyrac to talk about Python’s performance. They discuss everything from profiling, why Python is slow, and projects aimed at improving Python’s performance. Check it out!
ANNE-LAURE CIVEYRAC

How to Move a Django Model to Another App
In this step-by-step tutorial, you’ll learn how to move a Django model from one app to another using Django migrations. You’ll explore three different techniques and learn some helpful guidelines for choosing the best approach for your situation and needs.
REAL PYTHON

Find Performance Bottlenecks in Python Code
“We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.” - Donald Knuth. Blackfire is built to let you find the 3%. Quick install, appealing and user-friendly UI. →
BLACKFIREsponsor

Naomi Ceder to Step Down From PSF Board of Directors
Naomi Ceder will not be running for re-election to the PSF board of directors. In this blog post, she explains her reasons and thanks the community for the chance to serve.
NAOMI CEDER

Effortless Concurrency with Python’s concurrent.futures
Python’s concurrent.futures module is a high-level interface for the threading and multiprocessing modules. You can use it to effortlessly code asynchronous tasks!
REDOWAN DELOWAR • Shared by Redowan Delowar

Remapping Python Opcodes
Take a deep dive into .pyc files, opcodes, and disassembling code in this in-depth article about decompiling a .pyc module with obfuscated opcodes.
CHRIS LYNE

Calculating Streaks in Pandas
Identifying streaks can be useful when dealing with sporting statistics, app logins, and more. Learn how to calculate streaks in Python using the pandas library and visualize them using Matplotlib.
JOSH DEVLIN • Shared by Josh Devlin


Discussions


Which Characters Are Considered Whitespace by split()?
If you’re porting some Python 2 code to Python 3, you might want to check this out.
STACK OVERFLOW

The Python World Has Shown Increased Preference for Double Quotes
Is this the new tabs vs. spaces? Which do you prefer?
RAYMOND HETTINGER ON TWITTER


Python Jobs


Senior Python Engineer (Remote, East Coast Only)
ENTERRA SOLUTIONS

Fullstack Software Engineer ML, Python (Remote)
CYBERCODERS

Python Programmer (Remote)
DICE.COM

Sr Python Developer Django, Flask, DevOps (Remote)
CYBERCODERS

More Python Jobs >>>


Articles & Tutorials


Faster Machine Learning on Larger Graphs: How NumPy and Pandas Slashed Memory and Time in StellarGraph
This week, StellarGraph released a new version of its open source library for machine learning on graphs. One of the most exciting features of StellarGraph 1.0 is a new graph data structure — built using NumPy and Pandas — that results in significantly lower memory usage and faster construction times.
HUON WILSON • Shared by Tim Pitman

Python eval(): Evaluate Expressions Dynamically
Learn how Python’s eval() built-in works and how to use it effectively in your programs. Additionally, you’ll learn how to minimize the security risks associated with the use of eval().
REAL PYTHON

Python WebDev Environment
Want to get your web application project started quicker? ActiveState’s WebDev build for Python has everything you need in a single, pre-built runtime environment, including Django, Flask and Bottle frameworks, as well as other useful tools and utilities. Get it for Windows, Mac and Linux. →
ACTIVESTATEsponsor

Systems Programming With bash and Python 3
Python’s portability, quick development time, and batteries-included philosophy make it an excellent choice for SysAdmins looking to automate command-line tasks.
KEN YOUENS-CLARK

Python Refactorings
Here are six ways you can refactor code to be more concise, more Pythonic, and more performant.
NICK THAPEN

RPP – Episode #8: Docker + Python for Data Science and Machine Learning
Docker is a common tool for Python developers creating and deploying applications, but what do you need to know if you want to use Docker for data science and machine learning? What are the best practices if you want to start using containers for your scientific projects? This week Christopher’s guest is Tania Allard, she is a Sr. Developer Advocate at Microsoft focusing on Machine Learning, scientific computing, research and open source.
REAL PYTHON podcast

Learn the Foundational Coding and Statistics Skills Needed to Start Your Career in Data Science
Interested in data science but not sure where to get started? Springboard’s Data Science Prep course was carefully crafted for go-getters ready for a challenge and need to brush up on a few basics before diving in to a data science bootcamp.
SPRINGBOARDsponsor

The 2020 Python Language Summit
“The Python Language Summit is a small gathering of Python language implementers (both the core developers of CPython and alternative Pythons), as well third-party library authors and other Python community members. The summit features short presentations followed by group discussions. In 2020, the Summit was held over two days by videoconference […]”
PYTHON SOFTWARE FOUNDATION

Improve Your Tests With the Python Mock Object Library
In this course, you’ll learn how to use the Python mock object library, unittest.mock, to create and use mock objects to improve your tests. Obstacles like complex logic and unpredictable dependencies make writing valuable tests difficult, but unittest.mock can help you overcome these obstacles.
REAL PYTHON video

Monitoring Python Flask Microservices With Prometheus
Learn how to set-up Prometheus on a Flask application to serve up metrics like requests-per-second, average response time, memory usage, and CPU usage.
VIKTOR ADAM


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 →

pyp: Easily Run Python at the Shell! Magical, but Never Mysterious
GITHUB.COM/HAUNTSANINJA

client_python: Prometheus Instrumentation Library for Python Applications
GITHUB.COM/PROMETHEUS

pywasm: A WebAssembly Interpreter Written in Pure Python
GITHUB.COM/MOHANSON

tqdm: A Fast, Extensible Progress Bar for Python and CLI
GITHUB.COM/TQDM

machine-learning-experiments: Interactive Machine Learning Experiments
GITHUB.COM/TREKHLEB

Mimesis: Fake Data Generator
GITHUB.COM/LK-GEIMFARI • Shared by Isaak

datagene: Dataset Comparison Toolbox Using Transformations and Similarity Statistics
GITHUB.COM/FIRMAI

pytest-datafixtures: Data Fixtures for Pytest Made Simple
GITHUB.COM/IDLESIGN • Shared by pythonz

📆🐍 Upcoming Python Events


⋅ EuroPython 2020: Partial Speaker Lineup Released EuroPython has released part of their speaker lineup for the conference, which is slated to take place online from July 23–26, 2020.
Happy Pythoning!
Copyright © 2020 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

 | 

Older messages

Python 3.9 Release Schedule, Documenting Tests, RegExes, Pythonic Lightsabers, and More

Tuesday, May 5, 2020

Python 3.9 Release Schedule #419 – MAY 5, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Python 3.9 Release Schedule In last week's episode we had the dates mixed up, here are the correct ones:

The End of the Python 2 Era, New Features in Python 3.9, Common Python App Layouts, and More

Tuesday, April 28, 2020

The Final Python 2 Release Marks the End of an Era #418 – APRIL 28, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo The Final Python 2 Release Marks the End of an Era The final version of Python 2

Pythonic Video Conferencing, OOP Inheritance vs Composition, Faster Pandas, and More

Tuesday, April 14, 2020

Open Source Virtual Backgrounds With Python and OpenCV #416 – APRIL 14, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Open Source Virtual Backgrounds With Python and OpenCV With so much of the

Python + Arduino, Final Python 2.x Release, Effective Python 2nd Ed., and More

Tuesday, April 7, 2020

Arduino With Python: How to Get Started #415 – APRIL 7, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Arduino With Python: How to Get Started Discover how to use Arduino microcontrollers with

You Might Also Like

This Week in Rust #588

Saturday, March 1, 2025

Email isn't displaying correctly? Read this e-mail on the Web This Week in Rust issue 588 — 26 FEB 2025 Hello and welcome to another issue of This Week in Rust! Rust is a programming language

WebAIM February 2025 Newsletter

Friday, February 28, 2025

WebAIM February 2025 Newsletter Read this newsletter online at https://webaim.org/newsletter/2025/february Feature Global Digital Accessibility Salary Survey Results The results of the WebAIM and GAAD

JSK Daily for Feb 28, 2025

Friday, February 28, 2025

JSK Daily for Feb 28, 2025 View this email in your browser A community curated daily e-mail of JavaScript news Introducing the New Angular TextArea Component It is a robust and flexible user interface

Daily Coding Problem: Problem #1704 [Medium]

Friday, February 28, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Amazon. At a popular bar, each customer has a set of favorite drinks, and will happily

iOS Dev Weekly – Issue 701

Friday, February 28, 2025

What does Dave write about when he has a fever? 🤒 Let's find out! ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Feature | The Best Visualizations from February on Voronoi 🏆

Friday, February 28, 2025

See the most popular, most discussed, and most liked visualizations on our new data storytelling app Voronoi from February. View Online | Subscribe About a year ago, we launched Voronoi, our free new

Issue #582: Phaser Launcher, DOOM in TypeScript types, and A Prison for Dreams

Friday, February 28, 2025

View this email in your browser Issue #582 - February 28th 2025 Weekly newsletter about Web Game Development. If you have anything you want to share with our community please let me know by replying to

Stop Android photo surveillance 🔍

Friday, February 28, 2025

Cheaper streaming 📺; 1Password nightmare 💀 -- ZDNET ZDNET Week in Review - US February 28, 2025 machine eye A new Android feature is scanning your photos for 'sensitive content' - how to stop

Why Natural Language Coding Isn’t for Everyone—Yet

Friday, February 28, 2025

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, February 28, 2025? The

iOS Cocoa Treats

Friday, February 28, 2025

View in browser Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Animatable Protocol: Taming Unruly SwiftUI Animations In