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

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your