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

OpenAI proposes a new corporate structure - Sync #500

Sunday, January 5, 2025

Plus: Nvidia's next move; the state of AI hardware startups; "AI factories" for war; BYD enters humanoid robot race; ChatGPT Search vs. Google Search; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

🔋 You Need a Super-Fast USB Car Charger — First-Party vs. Third-Party Cookies

Sunday, January 5, 2025

Also: How I Use Shortcuts and Apple Numbers to Track My Time How-To Geek Logo January 5, 2025 Did You Know Theodore Roosevelt was the first US President to ride in an automobile while in office.

RD#487 Instance Hook Pattern

Sunday, January 5, 2025

co-located logic and controlled API ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

PD#607 Systems Ideas that Sound Good But Almost Never Work

Sunday, January 5, 2025

"let's just..." scenarios ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏

Android Weekly #656 🤖

Sunday, January 5, 2025

View in web browser 656 January 5th, 2025 Articles & Tutorials Sponsored Sick of your mobile apps crashing? Simon Grimm will show you how to fix them with less guesswork. Join Sentry's workshop

Daily Coding Problem: Problem #1659 [Easy]

Sunday, January 5, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by WhatsApp. Given an array of integers out of order, determine the bounds of the smallest

C#538 Unit Testing Clean Architecture Use Cases

Sunday, January 5, 2025

Battle-tested approach to unit testing ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Sunday Digest | Featuring 'The World’s 10 Largest Companies by Revenue' 📊

Sunday, January 5, 2025

Every visualization published this week, in one place. Jan 5, 2025 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week, we visualized the income needed to

Kotlin Weekly #440

Sunday, January 5, 2025

ISSUE #440 5th of January 2025 Articles Reverse-Engineering the Compose Compiler Plugin: Intercepting the Frontend Amanda Hinchman examines how the Jetpack Compose compiler transforms annotated

The Reasoning Race: Can Small Models Reason?

Sunday, January 5, 2025

And Some Major Changes in The Sequence you shuld read about. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏