#528 – JUNE 7, 2022
View in Browser »
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 PYTHONcourse
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
Discussions
Python Jobs
Backend Software Developer (Draper, UT, USA)
Gameful Learning Developer (Ann Arbor, MI, USA)
Python Technical Architect (USA)
Software Engineer (Los Angeles or Dallas) (Los Angeles, CA, USA)
Causeway Capital Management LLC
DevOps Engineer (Ann Arbor, MI, USA)
Academic Innovation Developer (Ann Arbor, MI, USA)
Software Development Lead (Ann Arbor, MI, USA)
Senior Backend Engineer (Anywhere)
Senior Storytelling Framework Engineer - Python (France)
Senior Software Engineer - Python Full Stack (USA)
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 PYTHONpodcast
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
Events
Python Meeting Düsseldorf
June 8, 2022
PYDDF.DE
Python North East
June 8, 2022
PYTHONNORTHEAST.COM
Python Miami
June 11 to June 12, 2022
PYTHONDEVELOPERSMIAMI.COM
Happy Pythoning!
This was PyCoder’s Weekly Issue #528.
View in Browser »
[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]