Django Static Files, Data Cleaning, CPython Strings, and More

#528 – JUNE 7, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Django Static Files and Templates
“Static files like CSS, JavaScript, and fonts are a core piece of any modern web application. They are also typically confusing for Django newcomers since Django provides tremendous flexibility around how these files are used. This tutorial will demonstrate current best practices for configuring static files in both local development and production.”
WILL VINCENT

Data Cleaning With pandas and NumPy
In this video course, you’ll learn how to clean up messy data using pandas and NumPy. You’ll become equipped to deal with a range of problems, such as missing values, inconsistent formatting, malformed records, and nonsensical outliers.
REAL PYTHON course

Optimize Python Code Inefficiencies and Latency With Datadog Application Monitoring
Datadog’s APM generates detailed flame graphs to provide you with deeper insights into code-level performance enabling teams to identify bottlenecks and latency in their Python code. Navigate seamlessly between app traces, logs and metrics to resolve app issues fast. Try Datadog APM free →
DATADOGsponsor

A Brief Look at CPython String
“Have you ever noticed that a string with just a few characters in Python uses several dozen bytes of memory? We handle a lot of short strings and I have been wondering why Python seems to store strings seemingly so inefficiently.”
ONDŘEJ MĚKOTA

Expedited Release of Python 3.11.0b3
CPYTHON DEV BLOG

Django Bugfix Release: 4.0.5
DJANGO SOFTWARE FOUNDATION

Typosquatting Attack on requests Package
JOSSEF HARUSH

Python News: What’s New From May 2022
REAL PYTHON


Discussions


How to Get Out of Tutorial Hell?
REDDIT

Ask HN: Have We Screwed Ourselves as Software Engineers?
HACKER NEWS


Python Jobs


Backend Software Developer
CANOPY 📍 DRAPER, UT, USA

Gameful Learning Developer
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Python Technical Architect
BLENDERBOX 📍 USA

Software Engineer (Los Angeles or Dallas)
CAUSEWAY CAPITAL MANAGEMENT LLC 📍 LOS ANGELES, CA, USA

DevOps Engineer
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Academic Innovation Developer
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Software Development Lead
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Senior Backend Engineer
DOIST 📍 ANYWHERE

Senior Storytelling Framework Engineer - Python
GOPRO 📍 FRANCE

Senior Software Engineer - Python Full Stack
BLENDERBOX 📍 USA

More Python Jobs >>>


Articles & Tutorials


Oh Open Source Supply Chain Security, Where Art Thou?
Recent security issues with ctx on PyPI followed shortly by the discovery of some typeosquatting has everyone re-examining their package supply chain. Jurgen writes about finding weirdness with two of the most popular packages out there.
JÜRGEN GMACH • Shared by Jürgen Gmach

How To Profile Python Code
No matter how good you are, sometimes your code just runs slow. Learning how to properly profile your software to identify and fix bottlenecks is a useful skill. This article talks about what you need to know to measure your code’s performance and how to use the cProfile, profile, and timeit libraries, along with others.
JOHN LOCKWOOD

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

LBYL vs EAFP: Preventing or Handling Errors in Python
In this tutorial, you’ll learn about two popular coding styles in Python: look before you leap (LBYL) and easier to ask forgiveness than permission (EAFP). You can use these styles to deal with errors and exceptional situations in your code. You’ll dive into the LBYL vs EAFP discussion in Python.
REAL PYTHON

Managing Large Python Data Science Projects With Dask
What do you do when your data science project doesn’t fit within your computer’s memory? One solution is to distribute it across multiple worker machines. This week on the show, Guido Imperiale from Coiled talks about Dask and managing large data science projects through distributed computing.
REAL PYTHON podcast

People in Your Software Supply Chain
Behind all the most popular packages you routinely pip install are a host of people whose names you likely don’t recognize. This thoughtful article talks about what we as a coding community can do to acknowledge maintainers more and contribute.
SETH MICHAEL LARSON

TDD Practice: Time API with Django
This is a step-by-step coding Kata based on a workshop that Brenton ran at DjangoConEU 2018. It gives you practice in using a Test-Driven-Development approach by writing tests for a “get time” API in Django.
BRENTON CLEELAND

Building a CRUD App with FastAPI, MongoDB, and Beanie
A step-by-step tutorial on developing an asynchronous API with FastAPI and MongoDB using the Beanie ODM library to interact with MongoDB .
ABDULAZEEZ ABDULAZEEZ ADESHINA • Shared by Abdulazeez Abdulazeez Adeshina

Unlock Secret Knowledge from Python Experts for Just $10
Packt’s Spring Sale is on and for a limited period, all eBooks and Videos are only $10. Our Products are available as PDF, ePub, and MP4 files for you to download and keep forever. All the practical content you need - by developers for developers.
PACKT PUBLISHINGsponsor

Making pip install a Little Less Slow
Installing packages with pip, Poetry, and Pipenv can be slow. Learn how to ensure it’s not even slower, and a potential speed-up.
ITAMAR TURNER-TRAURING

Crash Course in Web3 Application Development With Python
A step-by-step tutorial on how to send your first transaction on the Ethereum blockchain using Python and the web3 package.
TYLER LANGLOIS


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 →

huey: A Little Task Queue for Python
GITHUB.COM/COLEIFER

django-managerie: Expose Django Commands in the Admin
GITHUB.COM/AKX

pyAudioProcessing: Audio Feature Extraction & Classification
GITHUB.COM/JSINGH811

pyperformance: Python Performance Benchmark Suite
GITHUB.COM/PYTHON

ga-extractor: Tool for Extracting Google Analytics Data
GITHUB.COM/MARTINHEINZ

📆🐍 Upcoming Python Events


Python Meeting Düsseldorf
June 8, 2022

Weekly Real Python Office Hours Q&A (Virtual)
June 8, 2022

Python North East
June 8, 2022

Python Live: An Introduction to Practical MLOps
June 9, 2022

Python Miami
June 11 to June 12, 2022
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

Not Functions, But Classes; Exploring Scope; All About Asterisks; and More

Tuesday, May 31, 2022

Python's "Functions" Are Sometimes Classes #527 – MAY 31, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Python's “Functions” Are Sometimes Classes Ever use list() or enumerate()

Building a URL Shortener, Debug Life, Pigeon Deterents, and More

Tuesday, May 24, 2022

Build a URL Shortener With FastAPI and Python #526 – MAY 24, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Build a URL Shortener With FastAPI and Python In this step-by-step project, you'll

Python's min() and max(), django-rich, Evaluating Dependencies, and More

Tuesday, May 17, 2022

Python's min() and max(): Find Smallest and Largest Values #525 – MAY 17, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Python's min() and max(): Find Smallest and Largest Values In this

PyCon US 2022 Wrap-Up, Game Engines, PyScript, and More

Tuesday, May 10, 2022

PyCon US 2022 Highlights #524 – MAY 10, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo PyCon US 2022 Highlights “It was wonderful to be back at PyCon US in person again. PyCon is way too big for

Dunder Methods, Closing Files, The GIL, and More

Tuesday, May 3, 2022

Dunder Methods in Python: The Ugliest Awesome Sauce #523 – MAY 3, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Dunder Methods in Python: The Ugliest Awesome Sauce Double-underscore methods, also

You Might Also Like

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

Daily Coding Problem: Problem #1645 [Hard]

Sunday, December 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Implement regular expression matching with the following special characters: .

PD#606 How concurrecy works: A visual guide

Sunday, December 22, 2024

A programmer had a problem. "I'll solve it with threads!". has Now problems. two he ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

RD#486 (React) Things I Regret Not Knowing Earlier

Sunday, December 22, 2024

Keep coding, stay curious, and remember—you've got this ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

🎶 GIFs Are Neat, but I Want Clips With Sound — Your Own Linux Desktop in the Cloud

Sunday, December 22, 2024

Also: 9 Games That Were Truly Ahead of Their Time, and More! How-To Geek Logo December 22, 2024 Did You Know Dextrose is another name for glucose, so if you see it listed prominently on the ingredients

o3—the new state-of-the-art reasoning model - Sync #498

Sunday, December 22, 2024

Plus: Nvidia's new tiny AI supercomputer; Veo 2 and Imagen 3; Google and Microsoft release reasoning models; Waymo to begin testing in Tokyo; Apptronik partners with DeepMind; and more! ͏ ͏ ͏ ͏ ͏ ͏

Sunday Digest | Featuring 'The World’s 20 Largest Economies, by GDP (PPP)' 📊

Sunday, December 22, 2024

Every visualization published this week, in one place. Dec 22, 2024 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week, we visualized public debt by

Android Weekly #654 🤖

Sunday, December 22, 2024

View in web browser 654 December 22nd, 2024 Articles & Tutorials Sponsored Solving ANRs with OpenTelemetry While OpenTelemetry is the new observability standard, it lacks official support for many