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

Key phrases

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

Tesla Autopilot investigation closed

Friday, April 26, 2024

Inside the IBM-HashiCorp deal and Thoma Bravo takes another company private View this email online in your browser By Christine Hall Friday, April 26, 2024 Good afternoon, and welcome to TechCrunch PM.

Microsoft's and Google's bet on AI is paying off - Weekly News Roundup - Issue #464

Friday, April 26, 2024

Plus: AI-controlled F-16 has been dogfighting with humans; Grok-1.5 Vision; BionicBee; Microsoft's AI generates realistic deepfakes from a single photo; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

🤓 The Meta Quest Might Be the VR Steam Deck Soon — Games to Play After Finishing Wordle

Friday, April 26, 2024

Also: Why a Cheap Soundbar Is Better Than Nothing, and More! How-To Geek Logo April 26, 2024 Did You Know TMI: Rhinotillexomania is the medical term for obsessive nose picking. 🖥️ Get Those Updates

JSK Daily for Apr 26, 2024

Friday, April 26, 2024

JSK Daily for Apr 26, 2024 View this email in your browser A community curated daily e-mail of JavaScript news A Solid primer on Signals with Ryan Carniato (JS Party #320) Ryan Carniato joins Amal

So are we banning TikTok or what?

Friday, April 26, 2024

Also: Can an influencer really tank an $800M company? View this email online in your browser By Haje Jan Kamps Friday, April 26, 2024 Image Credits: Jonathan Raa/NurPhoto / Getty Images Welcome to

[AI Incubator] 300+ people are already in. Enrollment closes tonight at 11:59pm PT.

Friday, April 26, 2024

How to decide if you're ready. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Daily Coding Problem: Problem #1423 [Medium]

Friday, April 26, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. You are given an array of nonnegative integers. Let's say you start at the

Data science for Product Managers

Friday, April 26, 2024

Crucial resources to empower you with data that matters. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Inner Thoughts

Friday, April 26, 2024

'The Inner Circle' Comes Around... Inner Thoughts By MG Siegler • 26 Apr 2024 View in browser View in browser If you'll allow me a brief meta blurb this week (not a Meta blurb, plenty of

Digest #135: Kubernetes Hacks, Terraform CI/CD, HashiCorp Acquisition, AWS Data Transfer Monitoring

Friday, April 26, 2024

Explore Advanced Kubernetes Techniques, Dive Into Terraform CI/CD Frameworks, Monitor AWS Data Transfer, and Explore Cloud Security with Gitleaks! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏