Python Weekly - Python Weekly - Issue 631

View this email in your browser

Python Weekly

Welcome to issue 631 of Python Weekly. This is the final issue of 2023. We will be back after the holiday break. Wish you and your family Happy Holidays!
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

News

2FA Requirement for PyPI begins 2024-01-01
Starting January 1, 2024, all users must enable Two-Factor Authentication (2FA) for their PyPI accounts to perform any management actions or upload files. This requirement is part of PyPI's efforts to enhance security, and users who only need to browse, download, and install packages are not affected by this change.


Articles, Tutorials and Talks

Requests vs Httpx vs Aiohttp | Which One to Pick? 
The video discusses the exploration of API communication in applications, comparing the use of requests, httpx, and aiohttp. It presents the author's preferred choice and the reasons for considering it. 

Mastering GitHub Copilot for AI Paired Programming
A 6 Lesson course teaching everything you need to know about harnessing GitHub Copilot and an AI Paired Programing resource.

Configuration in Python Applications: No Magic, Just Necessary Practice
The article explores the practice of configuration in Python applications, emphasizing the importance of transparency and avoiding magic in the process. It delves into practical approaches for managing configuration settings, advocating for clarity and necessary practices in the development of Python applications.

Balm in GILead: Fast string construction for CPython extensions
An unorthodox approach to optimizing Python C extensions that operate on Python strings.

Building a personal predictive text engine
This post discusses the development of a personal predictive text engine called AutoWrite, which takes into account words already written in a document to provide context-specific autocompletions.

How I Built an Okta Documentation Chatbot in Python
The article describes the development of Oktanaut, a Python chatbot that simplifies access to information on Okta's Developer Documentation. The chatbot was created using OpenAI and Jupyter Notebook, and two versions were developed to offer specific approaches and general knowledge. The first version used LlamaIndex and was trained on Okta's Developer Documentation, generating accurate responses due to its precision.

Colliding Secure Hashes
The article discusses the author's porting of an algorithm to run on a GPU using pyopencl, resulting in a collision of secure hashes. The author chose to truncate the middle portion of the hash rather than the end to potentially fool someone visually comparing the starts and ends of a full-length hash. 

A settings pattern for reusable Django apps
The article presents a new settings pattern for reusable Django apps, addressing the challenge of overriding app default settings with project settings. The author discusses the need for a clear and consistent pattern, and the article outlines the proposed solution, which involves inspecting the prefix of the settings to avoid returning random properties of the Django settings.

DjangoCon US 2023 Videos 
A YouTube for DjangoCon US 2023, featuring various videos from the event. It covers a range of topics related to Django development, including talks, workshops, and discussions presented at the conference.

Asyncio Task Cancellation Best Practices
In this tutorial, you will discover best practices for canceling asyncio tasks in Python.

Build an instant messenger with Django (in 6 mins) 
This video provides a quick tutorial on creating an instant messenger using Django. The tutorial aims to demonstrate the process in a concise manner, making it a helpful resource for individuals interested in developing a messaging application with Django.

Understanding GPU Memory 1: Visualizing All Allocations over Time
The part 1 shows how to use the memory snapshot tool. 
  • Part 2 - In this part, we will use the Memory Snapshot to visualize a GPU memory leak caused by reference cycles, and then locate and remove them in our code using the Reference Cycle Detector.

Keep Your Data DRY with APIFlask
The post discusses using APIFlask, which conforms to the OpenAPI spec with its routes and schemas, allowing for automatic API documentation. It emphasizes the benefits of keeping data DRY (Don't Repeat Yourself) and the ease of documenting APIs while writing them. The post provides insights into how APIFlask can help in avoiding redundant code and maintaining a clear and concise codebase.

Python Gotcha: List Copy Problems
Copying a Python list (or any mutable object) isn't as simple as setting one equal to another. Let's discuss a better way to do this.

Bash One-Liners for LLMs
Six solid examples of how llamafile can help you be productive on the command line.

How many CPU cores can you actually use in parallel?
Figuring out how much parallelism your program can use is surprisingly tricky.

The Key To The `key` Parameter in Python
A parameter named `key` is present in several Python functions, such as `sorted()`. Let's explore what it is and how to use it.


Interesting Projects, Tools and Libraries

OpenVoice
A versatile instant voice cloning approach that requires only a short audio clip from the reference speaker to replicate their voice and generate speech in multiple languages.

PromptBench
A Unified Library for Evaluating and Understanding Large Language Models.

generative-ai-python
The Google AI Python SDK enables developers to use Google's state-of-the-art generative AI models (like Gemini and PaLM) to build AI-powered features and applications.

TwitchDropsMiner
An app that allows you to AFK mine timed Twitch drops, with automatic drop claiming and channel switching.

feud
Build powerful CLIs with simple idiomatic Python, driven by type hints.

microagents
Agents Capable of Self-Editing Their Prompts / Python Code.

django-ninja-crud
Declarative CRUD Endpoints & Tests with Django Ninja.

skytrack
A command-line based plane spotting and aircraft OSINT reconnaissance tool made using Python.

resemble-enhance
AI powered speech denoising and enhancement.

whisper-plus
Advancing Speech-to-Text Processing.

mergekit
Tools for merging pretrained large language models.

llm-mistral
LLM plugin providing access to Mistral models busing the Mistral API.

tinyzero
Easily train AlphaZero-like agents on any environment you want!
 
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 630

Friday, December 15, 2023

View this email in your browser Python Weekly Welcome to issue 630 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 629

Thursday, December 7, 2023

View this email in your browser Python Weekly Welcome to issue 629 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 628

Thursday, November 30, 2023

View this email in your browser Python Weekly Welcome to issue 628 of Python Weekly. One of the Y Combinator companies is looking for a Founding Engineer with 6+ years of experience, expertise in ETL,

Python Weekly - Issue 627

Thursday, November 23, 2023

View this email in your browser Python Weekly Welcome to issue 627 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Use GenAI to report on product development Stepsize

Python Weekly - Issue 626

Friday, November 17, 2023

View this email in your browser Python Weekly Welcome to issue 626 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

iOS Dev Weekly - Issue 693

Friday, January 3, 2025

Happy New Year, and here's to a cracking 2025! 🎊 View on the Web Archives ISSUE 693 January 3rd 2025 Comment Happy New Year, everyone! 🎊 I hope you all had a restful and relaxing break if you took

JSK Daily for Jan 3, 2025

Friday, January 3, 2025

JSK Daily for Jan 3, 2025 View this email in your browser A community curated daily e-mail of JavaScript news Optimizing Productivity: Integrate Salesforce with JavaScript Scheduler Syncfusion

Daily Coding Problem: Problem #1657 [Easy]

Friday, January 3, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Airbnb. Given a linked list and a positive integer k , rotate the list to the right by k

🍎 How I Use Trackpad Gestures to Manage my Mac — Are You Wearing Your Smartwatch Correctly?

Friday, January 3, 2025

Also: I Used a Temporary eSIM While Traveling and Have Thoughts How-To Geek Logo January 3, 2025 Did You Know There might never have been a Star Wars if not for George Lucas' lead foot and diabetes

SWLW #632: On avoiding pile-ups, The Chief Architect role, and more.

Friday, January 3, 2025

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

Ranked | The World's Top Companies by Revenue in 2024 💵

Friday, January 3, 2025

Walmart, Amazon, and China's State Grid generate over half a trillion dollars in annual revenue, driven by their vast global presence. View Online | Subscribe | Download Our App FEATURED STORY

Issue #574: Web gaming strikes back, Doom Captcha, and Phaser Box2D

Friday, January 3, 2025

View this email in your browser Issue #574 - January 3rd 2025 Weekly newsletter about Web Game Development. If you have anything you want to share with our community please let me know by replying to

Could AI make you a billionaire?

Friday, January 3, 2025

Siri's secret recordings; Is streaming still worth it?; Transform your doodles with AI -- ZDNET ZDNET Tech Today - US January 3, 2025 lm-email-verifaction-tool Could AI make you a billionaire in

⚙️ The grid can't handle AI

Friday, January 3, 2025

Plus: Anthropic's guardrails ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

LDAPNightmare PoC Exploit Crashes LSASS and Reboots Windows Domain Controllers

Friday, January 3, 2025

THN Daily Updates Newsletter cover JavaScript: Mastering JavaScript from Basics to Advanced Topics ($54.99 Value) FREE for a Limited Time This book provides a comprehensive introduction to JavaScript