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

Daily Coding Problem: Problem #1664 [Easy]

Friday, January 10, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Twitter. A permutation can be specified by an array P , where P[i] represents the

Spyglass Dispatch: The Case for a For-Profit OpenAI

Friday, January 10, 2025

RIP Venu • A More Political and Real Time Threads • An OpenAI Auction • Apple's Tough 2025 The Spyglass Dispatch is a newsletter sent on weekdays featuring links and commentary on timely topics

⌨️ 10 Mods to Improve Your Mechanical Keyboard — How to Set Up Quick Share on Windows

Friday, January 10, 2025

Also: Why Are Tech Companies Trying to Sell Me Expensive Clocks? How-To Geek Logo January 10, 2025 Did You Know Famed biologist Charles Darwin and US President Abraham Lincoln were born on the same day

Your best friends in design

Friday, January 10, 2025

​ Working With Designers Product manager & UX designer collaboration guide. How members of your product team work together is just as important as the work itself. A fundamental relationship within

Charted | How Canada Would Rank as the 51st State 📊

Friday, January 10, 2025

Donald Trump has floated the idea that Canada should be the 51st state. Here's how it compares statistically. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power AI's

Pinpointing The Actual Problem 🎯

Friday, January 10, 2025

WordPress accidentally diagnoses its own business problem. Here's a version for your browser. Hunting for the end of the long tail • January 10, 2025 Pinpointing The Actual Problem A blog post from

😱Major Azure Outage in EastUS2, 🚀New AI and Azure Developer CLI Courses, azureedge.net DNS retiring

Friday, January 10, 2025

͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏

iOS Cocoa Treats

Friday, January 10, 2025

View in browser Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Adopting Swift 6 across the app codebase I've been

Issue #575: Excalibird, bird’s eye metropolis, and Stimulation Clicker

Friday, January 10, 2025

View this email in your browser Issue #575 - January 10th 2025 Weekly newsletter about Web Game Development. If you have anything you want to share with our community please let me know by replying to

22 CES products you can't miss

Friday, January 10, 2025

10 must-install Linux apps; Cybersecurity in 2025; Email encryption how-to -- ZDNET ZDNET Tech Today - US January 10, 2025 CES logo 2025 CES 2025: The 22 most impressive products you don't want to