Python async on the Web, GitHub Copilot, PyTorch Snake, and More

#539 – AUGUST 23, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Understanding async Python for the Web
“Recently Django 4.1 was released, and the thing most people seem interested in is the expanded async support. The Python web ecosystem has been seeing new frameworks pop up which are fully async, or support going fully async, from the start.” Learn more about async and its use in web frameworks.
JAMES BENNETT

GitHub Copilot: Fly With Python at the Speed of Thought
In this tutorial, you’ll get your hands dirty with GitHub Copilot, a virtual pair programmer powered by artificial intelligence trained on billions of lines of code. You’ll explore several practical use cases in Python for this amazing productivity tool.
REAL PYTHON

Put Your Python Skills to Work in AI
Know Python? Of course, you do. With your Python programming skills, you can take on the latest real-world challenges to learn about AI development and earn a chance to win great prizes. Ready to seize the opportunity to advance your AI career →
INTEL CORPORATIONsponsor

Writing Snake in 12 Lines of PyTorch
Using linear algebra and tensor operations, Elias has emulated the classic game of “Snake”. This is a fun way to learn more about PyTorch and NumPy.
ELIAS F. FYKSEN


Discussions


Best Way to Get Into Machine/Deep Learning?
HACKER NEWS

How Do You Decide Which Language/Tech Stack to Learn?
HACKER NEWS


Python Jobs


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

Software Engineer - Backend/Python (100% Remote)
CLOSE 📍 ANYWHERE

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

Backend Software Engineer
CATALPA 📍 ANYWHERE

Backend Engineering Manager
CLOSE 📍 ANYWHERE

More Python Jobs >>>


Articles & Tutorials


How to Find an Absolute Value in Python
In this tutorial, you’ll learn how to calculate the absolute value in Python using the built-in abs() function. You’ll also implement the corresponding mathematical formulas from scratch. Finally, you’ll change the behavior of abs() in your own classes by hooking into Python’s interface.
REAL PYTHON

Caching in Python With lru_cache
Caching is an essential optimization technique. In this video course, you’ll learn how to use Python’s @lru_cache decorator to cache the results of your functions using the LRU cache strategy. This is a powerful technique you can use to leverage the power of caching in your implementations.
REAL PYTHON course

Connect, Integrate, & Automate Your Data – From Python or Any Other Application
At CData, we simplify connectivity between the application and data sources that power business, making it easier to unlock the value of data. Our SQL-based connectors streamline data access making it easy to access real-time data from on-premise or cloud databases, SaaS, APIs, NoSQL, and Big Data→
CDATA SOFTWAREsponsor

Build a Signaling System for Your Crypto Assets
Databutton is an open source framework you can use to rapidly build, distribute and collaborate on apps, APIs, and models. In this tutorial, you’ll learn to build and deploy a tool that can help you decide when to buy or sell your crypto assets using Python, Streamlit, and Databutton.
BJÖRN LAPAKKO • Shared by Geir Arne Hjelle

Achieving High Performance With Code Generation
Not for the faint of heart, this article talks about how to write code that writes byte-code in order to achieve higher performance. It builds on an old technique popular in the 80’s that can have a new life through Python’s byte-code.
YONATAN ZUNGER

Why You Should Be Using Python’s Walrus Operator
Python’s controversial assignment expression, known as the walrus operator, can improve your code. It’s time you start using it. Learn how and where to use it and how it makes your code more readable.
MARTIN HEINZ • Shared by Martin Heinz

How to Query Datasette Servers Without Writing a Line of SQL
Ibis lets users write dataframe-like queries, and execute them on various SQL backends. Datasette lets users wrap SQLite databases with a public SQL API. Combine them and you get an excellent tool for exploring open data.
JIM CRIST-HARIF • Shared by Jim Crist-Harif

Read a CSV File From S3 Without Saving It to the Disk
Ever have to write a one-off script that grabs content from S3? Learn how to use boto3 with the tempfile module and a context manager so that download doesn’t linger around.
REDOWAN DELOWAR

Deepnote: Collaborative, Jupyter-Compatible Data Science Notebooks
Answering analytics problems is no simple task—it takes working with data sources, coding in multiple languages, creating data visualizations, and sharing with stakeholders. Deepnote helps you do that and more—all from the comfort of a browser.
DEEPNOTEsponsor

Using HTTPie and Printing HTTP Request
Learn how to use HTTPie to quickly grab things over HTTP. Examples include requesting JSON from APIs, using DuckDuckGo in Tamil, authorizing requests, cookies, and lots more.
KRACEKUMAR • Shared by kracekumar

Understanding Pickle in Python
The pickle module is used for serialization of Python objects. Learn what can be pickled, what can’t be pickled, and what to do if something isn’t pickle-able.
XIE JINGYI


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 →

discoart: Create Disco Diffusion Artworks in One Line
GITHUB.COM/JINA-AI

Python f-Strings Number Formatting Cheat Sheet
BRIANALLAN

Single Persistent Data Models with Pydbantic
GITHUB.COM/CODEMATION • Shared by Joshua Jamison

Asyncer: Utility Functions for Working With Async Python
TIANGOLO.COM

python-ds: Repo for Interview Preparation
GITHUB.COM/PRABHUPANT • Shared by Prabhu Pant

📆🐍 Upcoming Python Events


PiterPy Breakfast
August 24, 2022

PyKla Monthly Meetup
August 24, 2022

Weekly Real Python Office Hours Q&A (Virtual)
August 24, 2022

PyCon Estonia
August 25 to August 26, 2022

SPb Python Drinkup
August 25, 2022

PyBay 2022 Conference
September 10, 2022 in San Francisco (Use code realpython25 for 25% off)
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

NLP Forward, Python Unstoppable, Auditing in Pip, and More

Tuesday, August 16, 2022

NLP Forward With Transformer Models and Attention #538 – AUGUST 16, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo NLP Forward With Transformer Models and Attention What's the big breakthrough

Finding & Fixing Python Bugs, Uncommon Usage, NBA Highlights, and More

Tuesday, August 9, 2022

Finding and Fixing Python Code Bugs #537 – AUGUST 9, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Finding and Fixing Python Code Bugs Learn how to identify and fix logic errors, or bugs, in your

NLP, Python at Meta, Testing PyPy, and More

Tuesday, August 2, 2022

Your Python Coding Environment on Windows: Setup Guide #536 – AUGUST 2, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Your Python Coding Environment on Windows: Setup Guide With this opinionated

Flashcards in Django, Persistent Auth in CLIs, Replace These Libraries, and More

Tuesday, July 26, 2022

Build a Flashcards App With Django #535 – JULY 26, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Build a Flashcards App With Django Create your own flashcards app to help you to learn a new

Measuring Python Code Quality, Subtests, Parallel Processing, and More

Tuesday, July 19, 2022

Measuring Code Quality, Simplicity, and Maintainability #534 – JULY 19, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Measuring Code Quality, Simplicity, and Maintainability How maintainable is

You Might Also Like

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 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? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your