Python Weekly - Python Weekly - Issue 625

View this email in your browser

Python Weekly

Welcome to issue 625 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
 
  Linting is a process where errors in the code can be flagged while source code is written. In other words, linting is a pre-build check, also called static code analysis. Join Snyk for an easy to follow walkthrough of linting checks in their recent article on improving code quality in Python.


Articles, Tutorials and Talks

Getting up in another processes memory 
In this video, we learn how we can read memory belonging to other processes by building a memory dumper from scratch. One of the key components is the /proc file system: an interface that the kernel provides for introspecting processes. Combined with ptrace, a system call that allows attaching to and taking control of another process, we write a program to automate extracting information that would otherwise be completely hidden to us!

Building a Python compiler and interpreter 
A series about implementing the Python programming language, from scratch, in Python. The end goal of this series is to explore and play around with the concepts and algorithms that are needed to implement a programming language like Python. To that end, we will create a programming language with a subset of the features that Python has and, along the way, we will play with tokenizers, parsers, compilers, and interpreters!

Database generated columns: Django & SQLite
An introduction to database generated columns, using SQLite and the new GeneratedField added in Django 5.0.

Why SciPy builds for Python 3.12 on Windows are a minor miracle
Moving SciPy to Meson meant finding a different Fortran compiler on Windows, which was particularly tricky to pull off for conda-forge. This post tells the story about how things looked pretty grim for the Python 3.12 release, and how things ended up working out just in the nick of time.

What's with ML software and pickles?
The article discusses the author's evolving perspective on the use of Python's pickle module in the machine learning ecosystem. It highlights the issues, security concerns, and brittleness associated with pickle, offering insights into the reasons behind its widespread usage and the challenges it addresses in the machine learning field.

Build an AI Tool to Summarize Books Instantly
Get the gist of any book without reading it cover to cover.

Everything You Can Do with Python's bisect Module
Learn how to optimize search and keep your data sorted in Python with the "bisect" module.

7 Tips To Structure Your Python Data Science Projects 
This video will cover 7 tips to streamline the structure of your Python data science projects. With the right setup and thoughtful software design, you'll be able to modify and enhance your projects more efficiently.

Python obfuscation traps
In the realm of software development, open-source tools and packages play a pivotal role in simplifying tasks and accelerating development processes. Yet, as the community grows, so does the number of bad actors looking to exploit it. A recent example involves developers being targeted by seemingly legitimate Python obfuscation packages that harbor malicious code.

Debugging CSRF Failed / 403 Forbidden errors in Django
A guided deep dive into Django's source code to understand why your application is failing CSRF validation.

New goodies in Django 5.0
The article highlights the new features added in Django 5.0.

The most performant timestamp functions in Python: EXTENDED
Part 2 of different timestamp functions performance across Python versions and machine types. What is the fastest way to get the current time?


Interesting Projects, Tools and Libraries

LocalAIVoiceChat
Local AI talk with a custom voice based on Zephyr 7B model. Uses RealtimeSTT with faster_whisper for transcription and RealtimeTTS with Coqui XTTS for synthesis.

DeepSeek-Coder
Let the Code Write Itself.

tiger
Open Source LLM toolkit to build LLM applications. TigerRAG (embedding, RAG), TigerTune (fine-tuning), TigerArmor (AI safety).

lm-format-enforcer
Enforce the output format (JSON Schema, Regex etc) of a language model.

autollm
Ship RAG based LLM web apps in seconds.

lato
Python microframework for modular monoliths and loosely coupled apps.

giskard
The testing framework for ML models, from tabular to LLMs.

RoboGen
A generative and self-guided robotic agent that endlessly propose and master new skills.

error-links
Adds helpful links to the REPL when an exception happens.

Hexabyte
A modern, modular, and robust TUI hex editor.


New Releases

Python in Visual Studio Code – November 2023 Release
This release includes the following announcements:
  • Improvements to Shift + Enter run line in terminal
  • Deprecated built-in linting and formatting features
  • Improvements to Python linting extensions
  • Reconfiguration of test output
  • Virtual environment deactivation help
  • Announcing Python in VS Code release videos


Upcoming Events and Webinars

San Francisco Python Meetup November 2023
There will be following talks
  • Image recognition using Python, PyTorch, OpenAI and Streamlit in Snowflake
  • Automated Photo Retouching
  • Advisory Databases and Dependabot: and How They Apply to Python

Virtual: PyLadies Berlin Meetup November 2023
There will be following talks
  • Empowering the Future: Girl's Day in Germany
  • Developing a Large-scale Creative Commons Dataset for Image

PyLadies Paris Meetup November 2023
There will be following talks
  • No downtime migrations in Django
  • The science of debugging

PyData Amsterdam Meetup November 2023
There will be following talks
  • How to build a great wind power forecast using machine learning 
  • Intelligent charging of EVs using machine learning

PyData Bristol Meetup November 2023
There will be following talks
  • Natural Language Processing - from Academic Theory to Business Application
  • TweetNLP

PyData Montreal Meetup November 2023
There will be following talks
  • Human/AI superteams: building collaborative systems with human-in-the-loop learning
  • A Gentle Introduction to Large Language Models
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 624

Thursday, November 2, 2023

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

Thursday, October 26, 2023

View this email in your browser Python Weekly Welcome to issue 623 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Are you making the most of LLMs in your applications

Python Weekly - Issue 622

Thursday, October 19, 2023

View this email in your browser Python Weekly Welcome to issue 622 of Python Weekly. Let's get straight to the links this week. News FlaskCon 2023 Call For Proposals is Open Submit your talk

Python Weekly - Issue 620

Thursday, October 5, 2023

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

Thursday, September 28, 2023

View this email in your browser Python Weekly Welcome to issue 619 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Mojo Programming Language – Full Course

You Might Also Like

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 ☁️ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

OpenAI and Google lay out their competing AI visions

Saturday, May 18, 2024

Plus: Is Mark Zuckerberg a style icon now? View this email online in your browser By Cody Corrall Saturday, May 18, 2024 Welcome back to TechCrunch's Week in Review. This week had two major events

Noonification: Dear America, I Am Breaking Up With You

Saturday, May 18, 2024

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

📧 EF Core Migrations: A Detailed Guide

Saturday, May 18, 2024

​ EF Core Migrations: A Detailed Guide Read on: m​y website / Read time: 10 minutes BROUGHT TO YOU BY ​ Low-code Framework for .NET Devs ​ Introducing Shesha, a brand new, open-source, low-code