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

📧 Did you want this discount?

Thursday, May 2, 2024

Your chance to save on MMA is about to end. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Scoop: Tiger Global-backed Innovaccer in talks to raise $250M

Wednesday, May 1, 2024

Plus: An update on Google's layoffs and the social platform X didn't see coming View this email online in your browser By Christine Hall Wednesday, May 1, 2024 Welcome to TechCrunch PM. Today,

🖥️ Why I'm Never Going Back to a Windows PC — Tips Before You Buy a Smart Ring

Wednesday, May 1, 2024

Also: How to Clear the Moisture Detected Warning on Samsung Phones, and More How-To Geek Logo May 1, 2024 Did You Know A single 1 oz shot of espresso only has approximately 40 mg of caffeine, whereas a

Daily Coding Problem: Problem #1428 [Hard]

Wednesday, May 1, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Given an array of positive integers, divide the array into two subsets such

Top Tech Deals 👀 Samsung Gaming Monitor, Pixel Watch 2, MacBook Air, and More

Wednesday, May 1, 2024

Get a discounted M3 MacBook Air or expand your Xbox storage. How-To Geek Logo May 1, 2024 Top Tech Deals: Samsung Gaming Monitor, Pixel Watch 2, MacBook Air, and More Get a discounted M3 MacBook Air or

Infographic | Visualizing Global Gold Production in 2023 🏅

Wednesday, May 1, 2024

Gold production in 2023 was led by China, Australia, and Russia, with each outputting over 300 tonnes. View Online | Subscribe Presented by: Access European benchmarks with a trusted 25-year history

⚙️ GPT-5 may be releasing sooner than expected

Wednesday, May 1, 2024

Plus: Amazon rebrands AI branch ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Noonification: How to Create a CI/CD Pipeline Using GitHub and AWS EC2

Wednesday, May 1, 2024

Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech today, May 1, 2024? The HackerNoon Newsletter brings the HackerNoon

Arc for Windows is better than Chrome

Wednesday, May 1, 2024

Adobe bug bounty; Rabbit's first R1 software update; Dream podcaster mic -- ZDNET ZDNET Tech Today - US May 1, 2024 placeholder Arc browser is now available for Windows and it's so much better

Is TikTok trying to get banned from the App Store early?

Wednesday, May 1, 2024

TikTok is offering some users a way to buy its in-app tipping tokens outside of Apple's App Store. View this email online in your browser By Alex Wilhelm Wednesday, May 1, 2024 Good morning, and