Python Weekly - Python Weekly - Issue 612

View this email in your browser

Python Weekly

Welcome to issue 612 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
 
Get Your Weekly Dose of Programming
A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers. Join For Free


Articles, Tutorials and Talks

Catching up on the weird world of LLMs 
In this talk, Simon Willison summarizes everything he has learned about LLMs over the past year: how they are built, what they can do, what they can't do and how we can best tame them and use them to solve interesting problems.

Behind "Hello World" on Linux
When you run a simple "Hello World" Python program on Linux, a lot more happens behind the scenes than you might think. This post explores the different steps that take place when you run a "Hello World" program, from parsing the command line to executing the code.

Quirks of Python package versioning
This article should serve as a list of reasons to not handle Python versions as simple strings due to their complexity. Instead use the official packaging.version.Version class to parse, compare, and reason about Python versions.

swap_8_and_9: How a simple import can modify the Python interpreter
This post presents a simple Python module that after imported, changes the values of two integers. The purpose is (a) show that modules can do harmful and unexpected things, (b) show an example of how to write a simple module in C, and (c) introduce a few things in CPython source code.

Building and Evaluating Medical AI Models 
Learn how to build and evaluate medical AI models with TensorFlow. This is a great, real world project for improving your machine learning skills. You will use TensorFlow to evaluate chest x-rays.

A few weird ways of displaying git hashes
This  post explores unconventional methods of representing Git hashes, discussing creative alternatives to the standard hexadecimal format for representing commit identifiers. 

Killing the ProcessPoolExecutor
A story about the Python GIL, threading, and fixing code that already works.

Exploring approaches to field-level encryption in Python for Django applications
Following our previous post on column-level encryption, this post explores several implementation approaches and discusses their advantages and disadvantages.

Creating a context manager in Python
Objects with `__enter__` and `__exit__` methods can be used as context managers in Python. This article discusses most of what you'll want to know when creating your own context managers.

Llama from scratch
A tutorial on how to implement a paper and debug your model.

Function Calling: Integrate Your GPT Chatbot With Anything
Learn about GPT new function calling feature which allows chatbots to interact with anything, opening up new possibilities for AI-powered applications.

How to profile a FastAPI asynchronous request
A short walkthrough of how to profile an HTTP request through an asynchronous FastAPI API handler.

Build GPT-powered Chatbots around Enterprise data with Python
Traditionally most chatbots were a tree of if-else blocks. Some had a layer of sophistication where users’ intent was captured, to decide which function should be triggered. However, the tech was never good enough to resolve an actual query — until now. After GPT-3, we've seen how large language models are able to formulate near-human answers. In this tutorial, we'll index documents, create a GPT-powered bot on top of it, and finally expose it as an API.

A non-mathematical introduction to Kalman Filters for programmers
The post offers programmers a non-mathematical introduction to Kalman filters, explaining their practical applications and benefits in various fields without delving into complex mathematical details. It serves as a beginner-friendly guide for understanding the fundamentals and potential uses of Kalman filters in a programming context.

Django: The perils of string_if_invalid in templates 

Dealing with Pandas's nullable float dtypes

Python AI Organ Segmentation Tutorial 


Interesting Projects, Tools and Libraries

DevOpsGPT
Multi agent system for AI-driven software development. Convert natural language requirements into working software. Supports any development language and extends the existing base code.

PokerKit
An open-source Python library for poker simulations and hand evaluations.

devlooper
A program synthesis agent that autonomously fixes its output by running tests!

LanceDB
Developer-friendly, serverless vector database for AI applications.

Color-diffusion
A diffusion model to colorize black and white images.

YiVal
AI evaluation tool for streamlined and comprehensive comparison of prompts, models, and parameters across various modalities.

Functionary
Functionary is a language model that can interpret and execute functions/plugins.


New Releases

Python in Visual Studio Code – August 2023 Release
This release includes the following announcements:
  • Python extension Dev Container for Contributors
  • Debug configuration for running Python files with arguments
  • Npm package for the Python extension API
  • Error-tolerant Pytest discovery

Python 3.12.0 release candidate 1 released


Upcoming Events and Webinars

PyLadies Dublin Meetup August 2023
There will be a talk, An Introduction to Unicode in Python and a workshop, Python/Ansible.

Cleveland Python Meetup August 2023
There will be a talk, Building 3D Interactive Tooling with Python.

PyData Hamburg Meetup August 2023
There will be following talks
  • Self-healing code generation with LLMs
  • Image Generation & Brand Marketing : Exploring the potential of Stable Diffusion in Marketing Content Creation 
  • From Text to Trends: Leveraging Large Language Models for Time Series Forecasting
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 611

Thursday, August 3, 2023

View this email in your browser Python Weekly Welcome to issue 611 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly

Python Weekly - Issue 610

Thursday, July 27, 2023

View this email in your browser Python Weekly Welcome to issue 610 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly

Python Weekly - Issue 609

Thursday, July 20, 2023

View this email in your browser Python Weekly Welcome to issue 609 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Python Tkinter GUI Design Using

Python Weekly - Issue 608

Sunday, July 16, 2023

View this email in your browser Python Weekly Welcome to issue 608 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly

Python Weekly - Issue 607

Thursday, July 6, 2023

View this email in your browser Python Weekly Welcome to issue 607 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly

You Might Also Like

Software Testing Weekly - Issue 220

Saturday, May 18, 2024

Software Testing Conferences 📚 View on the Web Archives ISSUE 220 May 18th 2024 COMMENT Welcome to the 220th issue! Have you ever been to a testing conference? They're a great way to learn about

📶 Is a Cellular iPad Worth It? — How to Prevent YouTube From Taking Over Your Screensaver

Saturday, May 18, 2024

Also: This Robot Vacuum Can Clean Stairs, and More! How-To Geek Logo May 18, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your inbox by

Weekend Reading — Objection-oriented programming

Saturday, May 18, 2024

This week we find a power-up box, replace GitHub Actions with Maven XMLs, avoid the worst website in the world, revisit RTO policies, “listen” to OpenAI employees, watch our Slack private messages, do

Daily Coding Problem: Problem #1445 [Easy]

Saturday, May 18, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Jane Street. The United States uses the imperial system of weights and measures, which

You don’t have to take our word for it…

Saturday, May 18, 2024

You can probably tell how excited we are to re-launch our Gigantic courses – which bring on-demand product management training for today's modern Product Managers and Product Leaders. In fact, we

🐍 New Python tutorials on Real Python

Saturday, May 18, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: What Is the __pycache__ Folder in Python? In

Visualized | Life Expectancy by Region (1950-2050F) 📊

Saturday, May 18, 2024

This map shows life expectancy at birth for key global regions, from 1950 to 2050F. View Online | Subscribe Presented by Voronoi: The App Where Data Tells the Story FEATURED STORY Life Expectancy by

New Wi-Fi Vulnerability Enables Network Eavesdropping via Downgrade Attacks

Saturday, May 18, 2024

THN Daily Updates Newsletter cover The DevSecOps Playbook: Deliver Continuous Security at Speed ($19.00 Value) FREE for a Limited Time A must-read guide to a new and rapidly growing field in

🐍 New Python tutorials on Real Python

Saturday, May 18, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: What Is the __pycache__ Folder in Python? In

Toward 'local' AI w/ Apple's new chip

Saturday, May 18, 2024

faster than the cloud ☁️ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌