Python Weekly - Python Weekly - Issue 584

View this email in your browser

Python Weekly

Welcome to issue 584 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
 
  Skip the hassle of traditional test case methods, while writing top quality code today.
In this article, Snyk walks you through setup, writing, and testing your first doctest — giving you all the information you need to get started and save time.


Articles, Tutorials and Talks

Let's build GPT: from scratch, in code, spelled out. 
We build a Generatively Pretrained Transformer (GPT), following the paper "Attention is All You Need" and OpenAI's GPT-2 / GPT-3. We talk about connections to ChatGPT, which has taken the world by storm. We watch GitHub Copilot, itself a GPT, help us write a GPT (meta :D!) . 

How to improve Python, or why fourteen tools are at least twelve too many
A journey to the world of Python packaging, a visit to the competition, a hopeful look at the future, and highlights from a disappointing discussion.

Faster virtual machines: Speeding up programming language execution
This post explores how interpreters are often implemented, what a "virtual machine" means in this context, and how to make them faster.

Formalizing f-strings
F-strings allow a compact representation for the common task of interpolating program data into strings, often in order to output them in some fashion. Some restrictions were placed on f-strings to simplify the implementation of them, but those restrictions are not really needed anymore and, in fact, are complicating the CPython parser. That has led to a Python Enhancement Proposal (PEP) to formalize the syntax of f-strings for the benefit of Python users while simplifying the maintenance of the interpreter itself.

How to simulate a broken database connection for testing in Django
Three different options for how to effectively test Django code accessing the database.

An open source Python project CI pipeline
Lately I've been iterating on a reusable set of open-source continuous integration (CI) tools for my Python projects. Here's an overview, along with a sample GitHub Actions workflow file that runs these checks.

Why I Like Nox
Ever since I got involved with open-source Python projects, Tox has been vital for testing packages across Python versions (and other factors). However, lately, I’ve been increasingly using Nox for my projects instead. Since I’ve been asked why repeatedly, I’ll sum up my thoughts.

A Deep Dive Into Iterators and Itertools in Python 
Python has some amazing built-in functions and modules for working with iterators. This video is a deep dive into iterators and itertools in Python and how to use iterators for your own projects!

Boost Your Python Application Performance using Continuous Profiling
Continuous profiling is a great tool for optimizing the performance of applications. It allows us to continuously monitor and analyze application's resource usage, identify bottlenecks, and use resources more efficiently. In this article, we will take a look at how to set up and use Grafana Phlare, a powerful new open-source tool by Grafana Labs, to perform continuous profiling of Python applications running on Kubernetes.

Automating an SSH session with Python

Why Polars uses less memory than Pandas

Using pytest to test your pyspark code


Interesting Projects, Tools and Libraries

NiceGUI
Create UI. For the web. With Python. The nice way.

Sketch
AI code-writing assistant that understands data content.

beetrace
Trace your python process line by line with low overhead!

balance
A python package for balancing biased data samples.

tempy
A simple, visually pleasing weather report in your terminal.

Lotus
Pricing & Packaging Infrastructure For Any Business Model.

Sleuth
Sleuth is an open-core enterprise search tool that allows organizations to search text from various workspace apps.

gpt_index
An index created by GPT to organize external information and answer queries!


New Releases

Django 4.2 alpha 1 released


Upcoming Events and Webinars

PyData Tel Aviv Meetup January 2023
There will be following talks
  • Using Coresets to Develop and Maintain Better Machine Learning Models
  • Lateral movement detection with LATMA (LATeral Movement Analyzer)

PyData Eindhoven Meetup January 2023
There will be following talks
  • Organizing order fulfillment using mathematical optimization
  • Driver-based demand forecasting: beyond existing frameworks
  • Is there a next step in warehouse logistics optimization?

PyData Copenhagen Meetup January 2023
There will be a talk, MLOps for the rest of us: A poor man's guide to putting models in production.

Virtual: PyData Chicago Meetup January 2023
There will be a talk, A kernel-free boundary integral method (KFBIM) for solving elliptic PDEs.

PyData Leeds - Inaugural Meetup
This is going to be slightly different from a usual meetup as we want to use the first meetup to listen to the Leeds Python/Data community to find out what you are interested in hearing about and additionally to see if there are any kind people that would like to volunteer some of their time to help us as an organiser.
 
Our Other Newsletters
Programmer Weekly - A free weekly newsletter for programmers.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
 
Copyright © 2023 Python Weekly, All rights reserved.
You are receiving our weekly newsletter because you signed up at http://www.PythonWeekly.com.

Our mailing address is:
Python Weekly
Brooklyn
Brooklyn, NY 11209

Add us to your address book


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Older messages

Python Weekly - Issue 582

Thursday, January 5, 2023

View this email in your browser Python Weekly Welcome to issue 582 of Python Weekly. Happy New Year! I hope everyone had a nice holiday break. News Compromised PyTorch-nightly dependency chain between

Python Weekly - Issue 581

Thursday, December 22, 2022

View this email in your browser Python Weekly Welcome to issue 581 of Python Weekly. This is the final issue of 2022. We will be back on January 5th, 2023 after the holiday break. Wish you all a Happy

Python Weekly - Issue 580

Friday, December 16, 2022

View this email in your browser Python Weekly Welcome to issue 580 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Finding JIT Optimizer Bugs using SMT

Python Weekly - Issue 579

Thursday, December 8, 2022

View this email in your browser Python Weekly Welcome to issue 579 of Python Weekly. Let's get straight to the links this week. News PyCon US 2023 Registration Launch! The news you've been

Python Weekly - Issue 578

Thursday, December 1, 2022

View this email in your browser Python Weekly Welcome to issue 578 of Python Weekly. Let's get straight to the links this week. From Our Sponsor The past, present, and future of notebooks Data

You Might Also Like

iOS Dev Weekly - Issue 688

Friday, November 22, 2024

How do you get an app featured on the App Store? There's a new process, and it's great! 📝 View on the Web Archives ISSUE 688 November 22nd 2024 Comment Every developer, from solo indie devs to

Why Nvidia's CEO loves NotebookLM

Friday, November 22, 2024

I love my Alexa-enabled microwave; Best early Black Friday deals -- ZDNET ZDNET Tech Today - US November 22, 2024 Jensen Huang Even Nvidia's CEO is obsessed with Google's NotebookLM AI tool

Digest #151: Uber’s Migration, Terraform Tips, AMI Creation, and Helm Chart Scanning

Friday, November 22, 2024

Learn zero-downtime migration techniques, improve testing workflows, and master AMI creation. Plus, explore Terraform tools, Helm chart validation, and debugging AWS EC2 issues. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

SWLW #626: AI makes Tech Debt more expensive, The problem with most L&D strategies, and more.

Friday, November 22, 2024

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found

Warning: Over 2,000 Palo Alto Networks Devices Hacked in Ongoing Attack Campaign

Friday, November 22, 2024

THN Daily Updates Newsletter cover Generative AI For Dummies ($18.00 Value) FREE for a Limited Time Generate a personal assistant with generative AI Download Now Sponsored LATEST NEWS Nov 22, 2024

⚙️ Businesses increase AI spend to $13.8 billion

Friday, November 22, 2024

Plus: World leaders endorse digital green action plan ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Post from Syncfusion Blogs on 11/22/2024

Friday, November 22, 2024

New blogs from Syncfusion Building Oqtane Modules with Syncfusion Components for Blazor [Webinar Show Notes] By Carter Harris This blog provides show notes for our Nov. 14, 2024, webinar, “Building

ASP.NET Core News - 11/22/2024

Friday, November 22, 2024

View this email in your browser Get ready for this weeks best blog posts about ASP.NET Core! Integrating .NET Aspire With Azure Storage — by fsazanavets Lanayx/Oxpecker: ASP.NET Core based F# framework

Recording: 'Data Storytelling: What Organizations Need to Know Going Into 2025'

Friday, November 22, 2024

Thank you for your interest in our latest webinar. As promised here is your recording of the event. View email in browser Recording Now Available Thank you for your interest in receiving a recording of

💻 Issue 437 - Introducing local Azure Service Bus Emulator

Thursday, November 21, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 437 Release Date Nov 21, 2024 Your weekly report of the most popular .NET news, articles and projects