Python Weekly - Python Weekly - Issue 595

View this email in your browser

Python Weekly

Welcome to issue 595 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
  One of the commonly used ways to implement mass assignment, a category of vulnerabilities, in Python is the inbuilt setattr() function. Protect your Python libraries with this in-depth look by Snyk at the potential dangers of the setattr function and how to avoid mass assignment vulnerabilities.

News

Bloomberg Launches FOSS Fund to Support Free and Open Source Projects
Bloomberg's OSPO and Corporate Philanthropy teams partnered to enable direct employee engagement to help sustain open source projects critical to our work. The three open source projects chosen as the recipients of the company’s inaugural FOSS Contributor Fund grants are Apache Arrow, Curl and Celery.


Articles, Tutorials and Talks

Now You Have Three Problems
There's a popular programming trope that if the solution to your problem involves parsing text with a regular expression, you now have two problems. Some programmers read this and think to try a different approach. Perhaps you don't actually need a regex. Maybe the problem can be solved with a simple string split or something. However, others might think a bit harder and wonder "what if I did something so audacious that it resulted in three problems?" This post is in the spirit of that!

Raw SQL, SQL Query Builder, or ORM? 
Not sure if you should use Raw SQL, a SQL query builder, or an ORM for your next project? This video explores the pros and cons of each option, allowing you to make an informed decision based on your specific needs. Choosing the wrong technology for your project can be a costly mistake, so it's crucial to understand these tools.

A Gentle Introduction to the Python Match Statement
Learn about how structural pattern matching works in Python and how it can help you write cleaner, more maintainable, and more understandable code.

The ultimate guide to Pandas’ read_csv() function
Here I unravel the mysteries behind the omnipotent and overwhelmingly complicated read_csv() function, including new features added in Pandas 2.0.

Making Python 100x faster with less than 100 lines of Rust
The author shows how to use rust to speed up the Python implementation of the "poly_match" algorithm. by 100x

Using Unpoly with Django
The article provides a tutorial on using Unpoly, a JavaScript library for seamless and fast dynamic web applications, with Django. It covers how to install and configure Unpoly, integrate it with Django views and templates, and use its various features, such as remote forms, partial page updates, and navigation.

Fun with Vector Databases
A post about using Python and FastAPI with vector databases and semantic search.

Python Monorepo: an Example. Part 1: Structure and Tooling
In this post, we describe a design for a Python monorepo: how we structure it; which tools we favor; alternatives that were considered; and some possible improvements.

The different uses of Python type hints

Common pitfalls of GitHub Actions

Improve your Django Code with pre-commit


Interesting Projects, Tools and Libraries

e2b
e2b (english2bits) is an IDE powered by AI agents. Developers describe what they want to build by writing documentation. Then let AI agents with access to tools do the coding work. 

Savant
Python Streaming Video Analytics Framework With Batteries Included.

Auto-GPT
An experimental open-source attempt to make GPT-4 fully autonomous.

Zero
A simple, fast, high performance and low latency Python framework (RPC like) for building microservices or distributed servers.

Girok
A powerful and beautiful CLI scheduler.

openplayground
An LLM playground you can run on your laptop.

taskiq
Distributed task queue with full async support.

nanobind
Tiny and efficient C++/Python bindings.

ReactPy
Reactive user interfaces with pure Python.

cy-root
Python package containing root-finding methods written in Cython.

PyQt-Fluent-Widgets
A fluent design widgets library based on PyQt5.

vocode-python
Vocode is an open source library that makes it easy to build voice-based LLM apps.

FastChat
An open platform for training, serving, and evaluating large language model based chatbots.

tomesd
Speed up Stable Diffusion with this one simple trick!


New Releases

Python in Visual Studio Code – April 2023 Release
This release includes the following announcements:
  • Data Wrangler available for Visual Studio Code Insiders
  • Move symbol refactoring
  • Create Environment button embedded in dependency files
  • Environments API for extension authors
  • Kernel Picker Improvements for Python Environments

Django 4.2 released
Django 4.2 is designated as a long-term support release. It will receive security updates for at least three years after its release. Support for the previous LTS, Django 3.2, will end in April 2024.


Upcoming Events and Webinars

PyData NYC Meetup April 2023
There will be a talk, Intro to Airflow covering everything you need to know to get started with Airflow.

PyData Denver Meetup April 2023
There will be a talk, Recipe Generator: Web Scraping and ChatGPT.

PyData Warsaw Meetup April 2023
There will be following talks
  • FOLLISCAN: how to automate an ultrasound examination with deep learning?
  • Limitations of content generation with AI (spoiler: the sky's the limit)
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.

Key phrases

Older messages

Python Weekly - Issue 594

Thursday, March 30, 2023

View this email in your browser Python Weekly Welcome to issue 594 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Build developer-first automations with Retool

Python Weekly - Issue 593

Thursday, March 23, 2023

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

Thursday, March 16, 2023

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

Thursday, March 9, 2023

View this email in your browser Python Weekly Welcome to issue 591 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Snyk is hosting a hands-on, virtual workshop to

Python Weekly - Issue 590

Thursday, March 2, 2023

View this email in your browser Python Weekly Welcome to issue 590 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Build business software 10x faster with Retool

You Might Also Like

🖥️ Why I'm Never Going Back to a Windows PC — Tips Before You Buy a Smart Ring

Wednesday, May 1, 2024

Also: How to Clear the Moisture Detected Warning on Samsung Phones, and More How-To Geek Logo May 1, 2024 Did You Know A single 1 oz shot of espresso only has approximately 40 mg of caffeine, whereas a

Daily Coding Problem: Problem #1428 [Hard]

Wednesday, May 1, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Given an array of positive integers, divide the array into two subsets such

Top Tech Deals 👀 Samsung Gaming Monitor, Pixel Watch 2, MacBook Air, and More

Wednesday, May 1, 2024

Get a discounted M3 MacBook Air or expand your Xbox storage. How-To Geek Logo May 1, 2024 Top Tech Deals: Samsung Gaming Monitor, Pixel Watch 2, MacBook Air, and More Get a discounted M3 MacBook Air or

Infographic | Visualizing Global Gold Production in 2023 🏅

Wednesday, May 1, 2024

Gold production in 2023 was led by China, Australia, and Russia, with each outputting over 300 tonnes. View Online | Subscribe Presented by: Access European benchmarks with a trusted 25-year history

⚙️ GPT-5 may be releasing sooner than expected

Wednesday, May 1, 2024

Plus: Amazon rebrands AI branch ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Noonification: How to Create a CI/CD Pipeline Using GitHub and AWS EC2

Wednesday, May 1, 2024

Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech today, May 1, 2024? The HackerNoon Newsletter brings the HackerNoon

Arc for Windows is better than Chrome

Wednesday, May 1, 2024

Adobe bug bounty; Rabbit's first R1 software update; Dream podcaster mic -- ZDNET ZDNET Tech Today - US May 1, 2024 placeholder Arc browser is now available for Windows and it's so much better

Is TikTok trying to get banned from the App Store early?

Wednesday, May 1, 2024

TikTok is offering some users a way to buy its in-app tipping tokens outside of Apple's App Store. View this email online in your browser By Alex Wilhelm Wednesday, May 1, 2024 Good morning, and

Get Compliant in 2024 - Download Ultimate PAM Policy Template Today

Wednesday, May 1, 2024

Privileged Access Management Policy Template What are your PAM policies for 2024? Get ready for the New Year Is your approach to Privileged Access Management as current and effective as it could be? In

What's new in Autodesk Inventor 2025?

Wednesday, May 1, 2024

‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌