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

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