Object Subscriptions Deep-Dive, Django Survey Results, Pip Caching, and More

#508 – JANUARY 18, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Unravelling “[]” Subscriptions in Python
“It’s quite possible you’re not familiar with this formal term, but you are probably familiar with the syntax: the square brackets used for indexing lists and tuples (sequence[4]), accessing the value of a specified dictionary (dictionary["key"]), etc. To cover this topic we will break up into three parts: general subscriptions, slicing, and multiple arguments.”
BRETT CANNON

Working With Pipenv
Pipenv is a packaging tool for Python that solves some common problems associated with the typical workflow using pip, virtualenv, and requirements.txt. In this course, you’ll go over what problems Pipenv solves and how to manage your Python dependencies with it.
REAL PYTHON course

Start Monitoring Service Dependencies to Eliminate Latency and Errors
Datadog APM empowers developer teams to identify anomalies, resolve issues, and improve application performance. Begin collecting stack traces, visualizing them as flame graphs, and organizing them into profile types, such as CPU, I/O, and more. Try Datadog APM free with a 14 day trial →
DATADOGsponsor

A Probabilistic Programming Language in 70 Lines of Python
Learn how Probabilistic Programming Languages (PPLs) work by building a simple one in Python.
ANDREA COGNOLATO

Python News: What’s New From December 2021?
The Python community elected its fourth steering council in December 2021. In this article, you’ll catch up on the results of the election as well as news about new maintenance releases of Python and about end-of-life for Python 3.6.
REAL PYTHON

Django Developers Survey 2021 Results
DSF + JETBRAINS

FastAPI 0.72.0 Released
TIANGOLO.COM


Discussions


IPython 8 CLI Runs “Black” Autoformatter on REPL Code
This Twitter thread explores concerns about using the IPython REPL with autoformatting enabled for education purposes and interactive math.
RAYMOND HETTINGER

Can Someone Explain _ and __ in Python Clearly for Me?
REDDIT


Python Jobs


Senior Full-Stack Web Developer (Anywhere)
MONETIZEMORE

Python Engineer Web Scraping (Asia, TX, America)
NEWSCATCHER

PyCoder's Weekly Curator and Podcast Co-Host (Anywhere)
REAL PYTHON

Senior Software Engineer (Anywhere)
BREW

Sr DevOps Engineer (San Jose, CA, USA)
TARA TECHINCAL SOLUTIONS

Senior Software Engineer (Anywhere)
BRAVELY

More Python Jobs >>>


Articles & Tutorials


Problems With Testing Python Pre-Releases and Pip Caching
“Pip was caching a wheel built using CFFI and Python 3.11.0-alpha2 and was installing that same wheel for the now Python 3.11.0-alpha3 both on our local machines and in our test suite. By clearing the pip cache on our machines and our CI we were able to get a passing test suite.”
SETH MICHAEL LARSON

Launching Python, Virtual Environments, and Locking Dependencies With Brett Cannon
Would you like a simple command to launch your Python programs using v the newest version of the language installed on your machine? This week on the show, we continue our conversation with Brett Cannon. Brett discusses his project, the Python Launcher for Unix.
REAL PYTHON podcast

Application Performance Monitoring, Built for Developers by Developers
Scout is an application performance monitoring tool designed to help Python developers find and fix performance issues quickly. With unlimited seats and applications, users of Scout’s APM tool find that anyone can be a performance expert. Click to sign up for your free 14-day trial today →
SCOUT APMsponsor

Build and Submit HTML Forms With Django (Part 4 of 4)
In the final part of this tutorial series, you’ll continue to build out a social network with Django. You’ll wrap up by working with Django forms, learning how to display helpful error messages, setting up dynamic URLs in your app, and more.
REAL PYTHON

Introduction to Data Verification & Storage With Pydbantic
Walk through the basics of pydbantic and discover how to create, query, update, and remove data from models. Review how pydbantic handles migrations after detecting any changes and how to integrate pydbantic with Redis for caching.
JOSHUA JAMISON • Shared by Joshua Jamison

5 Ways to Use Python on an iPad
“It turns out that it’s actually pretty easy to code in Python on the iPad, especially if you’re willing to work in Jupyter Notebooks. […] Here are five ways you can code in Python on any iPad right now.”
DAVID AMOS • Shared by David Amos

Generate Your Text Files With Python Using Cog
An interview with Ned Batchelder about the interesting history of the Cog project and how you can use it to automate the work of generating text with arbitrary Python code.
PODCAST.__INIT__ podcast

Don’t Wrap Instance Methods With the functools.lru_cache Decorator
Wrapping instance method in Python suffers from one giant gotcha—class instances don’t get garbage collected properly. This post explores that.
REDOWAN DELOWAR • Shared by Redowan Delowar

Analyzing Stock Data Near Events With Pandas
Stock market returns are heavily impacted by some events, like FOMC announcements, and we can use Pandas to understand this impact.
MATT WRIGHT

What’s Your Favorite Programming Language?
Take the Developer Nation survey, share your views and make an impact on the developer ecosystem. Plus, you get a chance to win cool prizes, licenses, gaming accessories, vouchers and many more.
SLASHDATA LTDsponsor

Make Simple Mocks With SimpleNamespace
“When testing Python code you may need a mock object. That’s okay! But what’s the best way to build a simple mock?”
ADAM JOHNSON

Autodocumenting Makefiles
DANIEL ROY GREENFELD


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 →

av_hubert: A Self-Supervised Learning Framework for Audio-Visual Speech
GITHUB.COM/FACEBOOKRESEARCH

tplot: Create Text-Based Graphs in the Terminal
GITHUB.COM/JEROENDELCOUR

mae: PyTorch Implementation of Masked Autoencoders
GITHUB.COM/FACEBOOKRESEARCH

python_communism: Initiating the Communist Revolution in Each of Our Python Modules
GITHUB.COM/JOKTEUR

teyit: Formatter for Your Python Unit Tests
GITHUB.COM/ISIDENTICAL

📆🐍 Upcoming Python Events


⋅ Weekly Real Python Office Hours Q&A (Virtual) January 18, 2021

⋅ PyData Bristol Meetup January 20, 2022

⋅ Python Northwest January 20, 2022

⋅ PyLadies Dublin January 20, 2022

⋅ MadPUG January 20 to January 21, 2022

⋅ Karlsruhe Python User Group (KaPy) January 21, 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

Django Front Ends, Language of the Year, PSF News, and More

Tuesday, January 11, 2022

Build a Django Front End With Bulma – Part 2 #507 – JANUARY 11, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Hey there, Quick announcement: I'm looking to hire a talented PyCoder's Weekly

Build a Social Network With Django, Make Your Own Linter, Log Injections Attacks, and More

Tuesday, January 4, 2022

Gem: Exploding String Alternatives #506 – JANUARY 4, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Gem: Exploding String Alternatives Here's a Python gem: a small bit of Python that uses the

The "zipimport" Module, Fast Async HTTP Requests, Versioning, PEP 669, and More

Tuesday, December 28, 2021

Python Zip Imports: Distribute Modules and Packages Quickly #505 – DECEMBER 28, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Python Zip Imports: Distribute Modules and Packages Quickly In this

Python Exceptions, Poetry, Steering Council Elections, and More

Tuesday, December 21, 2021

Raising and Handling Python Exceptions #504 – DECEMBER 21, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Raising and Handling Python Exceptions In this course, you'll learn what an exception

Advent of Python, Error Message Styles, Django 4.0, and More

Tuesday, December 7, 2021

Advent of Code: Solving Your Puzzles With Python #502 – DECEMBER 7, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Advent of Code: Solving Your Puzzles With Python Advent of Code is an online

You Might Also Like

Distributed Locking: A Practical Guide

Monday, December 23, 2024

If you're wondering how and when distributed locking can be useful, here's the practical guide. I explained why distributed locking is needed in real-world scenarios. Explored how popular tools

⚡ THN Weekly Recap: Top Cybersecurity Threats, Tools and Tips

Monday, December 23, 2024

Your one-stop-source for last week's top cybersecurity headlines. The Hacker News THN Weekly Recap The online world never takes a break, and this week shows why. From ransomware creators being

⚙️ OpenA(G)I?

Monday, December 23, 2024

Plus: The Genesis Project ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Post from Syncfusion Blogs on 12/23/2024

Monday, December 23, 2024

New blogs from Syncfusion Introducing the New WinUI Kanban Board By Karthick Mani This blog explains the features of the new Syncfusion WinUI Kanban Board control introduced in the 2024 Volume 4

Import AI 395: AI and energy demand; distributed training via DeMo; and Phi-4

Monday, December 23, 2024

What might fighting for freedom in an AI age look like? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

LockBit Ransomware Developer Charged for Billions in Global Damages

Monday, December 23, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Re: How to know if your data has been exposed

Monday, December 23, 2024

Imagine getting an instant notification if your SSN, credit card, or password has been exposed on the dark web — so you can take action immediately. Surfshark Alert does just that. It helps you stay

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