Python Weekly - Python Weekly - Issue 572

View this email in your browser

Python Weekly

Welcome to issue 572 of Python Weekly. It has been more than 6 weeks, our Twitter account @PythonWeekly all of a sudden got suspended for no reason. I immediately appealed via their standard process and also followed multiple times, but no response at all. 😞 Do we have any subscriber who works at Twitter and can help get our account reinstated?
 
From Our Sponsor 
 
  Ready to flex your security skills?
Join the Fetch the Flag CTF to solve 16 challenges, compete against thousands of teams, and win prizes. Plus, prepare for game day by learning hacking tactics in the CTF 101 workshop. Register to join on Nov. 9.

Articles, Tutorials and Talks

Hello World under the microscope
In this article, we will trace the execution path of the "Hello World" micro-program written in Python and run on Windows, starting from a single call to the high-level print function, through the subsequent levels of abstraction of the interpreter, operating system and graphics drivers, and ending with the display of the corresponding pixels on the screen. As it turns out, this path in itself is neither simple nor short, but definitely fascinating.

How we use binary search to find compiler bugs
This post will talk about how we use binary search to isolate miscompiled functions, a technique that is applicable to any compiler if you have the right infrastructure.

How to implement a “dry run mode” for data imports in Django
In data import processes it’s often useful to have a “dry run” mode, that runs through the process but doesn’t actually save the data. This can allow you to check for validity and gather statistics, such as how many records already exist in the database. In this post, we’ll look at how to implement a dry run mode in Django by using a database transaction and rolling it back.

A Deep Dive Into Date And Time In Python 
You can easily get overwhelmed when working with date and time data. There are numerous date and time formats, ISO standards, time zones, and daylight-saving settings. In today’s video, I am taking a deep dive into Python’s built-in datetime package and the available alternatives that can help you quickly deal with this type of data.

Musings on Python Type Hints
Since starting a new job earlier this year, I've spent a good amount of time learning how to leverage type hints to help write readable, maintainable code. Let's take a look at some patterns that arise in Python where type hinting can get a little bit tricky.

Building an OCR service with Amazon Textract and AWS Lambda
Optical Character Recognition (OCR) automates extracting text from visual assets such as PDFs and images. This tutorial teaches how to use Amazon Textract and AWS Lambda to build an OCR service.

How the Guardian approaches quote extraction with NLP
A case study of the Guardian's spaCy-Prodigy workflow to modularize quote extraction for content creation. This study includes iterative annotation guidelines and custom interface functionality.

Generating Chess Puzzles with Genetic Algorithms
We took a library used for function minimization, attached Stockfish to it, and used it to generate surprisingly complex mate in 3 chess puzzles without too much code. 

How to Build a Knowledge Base Platform Using Redis
Building multi-model applications with Redis Stack is surprisingly straightforward! Follow along with a tutorial that shows how to build a knowledge base in Python that incorporates powerful search features.

Understanding Hashing and Equality in Python with __hash__ and __eq__
Learn about how they work, how you should use them, and what you absolutely should not do.

Finding and analyzing free stock index data with Python and EDGAR
Historical stock index data can be hard to find for free, but when we use the SEC's EDGAR system and Python, we can extract it quite easily.

Create Presentation from Jupyter Notebook
Presentation is a great way to share your results and findings with a non-technical audience. The data-rich presentation with charts, tables, and code may be tedious to create. The good news is that you can create a presentation directly from Jupyter Notebook!


Interesting Projects, Tools and Libraries

Python Charts
Learn data visualization with Python. You will find code examples of Python graphs made with matplotlib, seaborn, plotly and other packages.

Neograd
A Deep Learning framework created from scratch with Python and NumPy.

puff
Puff is a batteries included "deep stack" for Python. It's an experiment to minimize the barrier between Python and Rust to unlock the full potential of high level languages. Build your own Runtime using standard CPython and extend it with Rust. 

htmx-Flask
htmx-Flask is an extension for Flask that adds support for htmx to your application. It simplifies using htmx with Flask by enhancing the global request object and providing a new make_response function.

Forestplot
A Python package to make publication-ready but customizable coefficient plots.

pgsqlite
Load SQLite3 databases into PostgresSQL.


Upcoming Events and Webinars

DragonPy Meetup October 2022 - Ljubljana
There will be following  talks
  • HTTP codes and how APIs use and abuse them
  • Fast Tests
  • A molecular biologist's journey from bash to Python

Virtual: PyLadies SoFlo Meetup October 2022
There will be a talk, Python in cybersecurity.

PyData Eindhoven Meetup October 2022
There will be following talks
  • Computer Vision for Intelligent Transportation Systems
  • A quick introduction to micro-Python
  • Assessing the performance of autonomous vehicles by using computer vision

PyData Calgary Meetup October 2022
There will be following talks
  • How to design an MLOps framework: Building operational systems for big data ML models
  • Mapping in Python: Using the Geopy and folium python packages

Virtual: PyData Chicago Meetup October 2022
There will be a talk, Building an MLOps platform at HelloFresh.
 
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 © 2022 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 571

Thursday, October 13, 2022

View this email in your browser Python Weekly Welcome to issue 571 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Join Retool's developer preview event No more

Python Weekly - Issue 570

Thursday, October 6, 2022

View this email in your browser Python Weekly Welcome to issue 570 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Deepnote is a data notebook for collaboration:

Python Weekly - Issue 569

Thursday, September 29, 2022

View this email in your browser Python Weekly Welcome to issue 569 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Establishing a fast and non-intrusive bug catching

Python Weekly - Issue 568

Thursday, September 22, 2022

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

Thursday, September 15, 2022

View this email in your browser Python Weekly Welcome to issue 567 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Ever wonder how your information stays secure? Dig

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