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

Recording: 'Data Storytelling: What Organizations Need to Know Going Into 2025'

Friday, November 22, 2024

Thank you for your interest in our latest webinar. As promised here is your recording of the event. View email in browser Recording Now Available Thank you for your interest in receiving a recording of

💻 Issue 437 - Introducing local Azure Service Bus Emulator

Thursday, November 21, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 437 Release Date Nov 21, 2024 Your weekly report of the most popular .NET news, articles and projects

💎 Issue 444 - Why did people rub snow on frozen feet? (2017)

Thursday, November 21, 2024

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 444 Release Date Nov 21, 2024 Your weekly report of the most popular Ruby news, articles and

💻 Issue 444 - JavaScript Dos and Donts

Thursday, November 21, 2024

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 444 Release Date Nov 21, 2024 Your weekly report of the most popular JavaScript news, articles

📱 Issue 438 - Reverse Engineering iOS 18 Inactivity Reboot

Thursday, November 21, 2024

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 438 Release Date Nov 21, 2024 Your weekly report of the most popular iOS news, articles and projects Popular

💻 Issue 362 - React Anti-Pattern: Stop Passing Setters Down the Components Tree

Thursday, November 21, 2024

This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 362 Release Date Nov 21, 2024 Your weekly report of the most popular React news, articles and projects

💻 Issue 444 - Building simple event-driven applications with Pub/Sub

Thursday, November 21, 2024

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 444 Release Date Nov 21, 2024 Your weekly report of the most popular Node.js news, articles and

📱 Issue 441 - Shift Left Is the Tip of the Iceberg

Thursday, November 21, 2024

This week's Awesome Swift Weekly Read this email on the Web The Awesome Swift Weekly Issue » 441 Release Date Nov 21, 2024 Your weekly report of the most popular Swift news, articles and projects

💻 Issue 439 - Async/Await Is Real And Can Hurt You

Thursday, November 21, 2024

This week's Awesome Rust Weekly Read this email on the Web The Awesome Rust Weekly Issue » 439 Release Date Nov 21, 2024 Your weekly report of the most popular Rust news, articles and projects

📲 Why I Ditched Linux for Samsung DeX — Buy This Instead of a Gaming Headset

Thursday, November 21, 2024

Also: Taking Instagram Stories to the Next Level, and More! How-To Geek Logo November 21, 2024 Did You Know Thurl Ravenscroft was both the voice behind the Christmas song "You're a Mean One,