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.

Key phrases

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

a16z’s Infrastructure team gets a new general partner

Friday, April 19, 2024

Post News is shutting down and Wall Street isn't feeling a Salesforce-Informatica pairing View this email online in your browser By Christine Hall Friday, April 19, 2024 Image Credits: Andreessen

New Roundtable! Additive for Mass Production Applications

Friday, April 19, 2024

The Outlook for the Future View this email in your browser engineering.com Roundtable - Additive for Mass Production Applications: The Outlook for the Future 6 Considerations for Choosing the Right

📷 What to Know About Macro Photography — Why You Should Buy a Budget Motherboard

Friday, April 19, 2024

Also: How to Automatically Highlight Values in Excel, and More! How-To Geek Logo April 19, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your

Is the wind going out of the AI sails?

Friday, April 19, 2024

Rippling vacuums up venture capital and Ramp bags more millions View this email online in your browser By Haje Jan Kamps Friday, April 19, 2024 Image Credits: Getty Images / Carol Yepes Welcome to

Llama 3 is out - Weekly News Roundup - Issue #463

Friday, April 19, 2024

Plus: brand-new, all-electric Atlas; AI Index Report 2024; Microsoft pitched GenAI tools to US military; Humane AI Pin reviews are in; debunking Devin; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Daily Coding Problem: Problem #1417 [Easy]

Friday, April 19, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Wayfair. You are given a 2 x N board, and instructed to completely cover the board with

Charted | How Hard Is It to Get Into an Ivy League School? 🎓

Friday, April 19, 2024

We detail the admission rates and average annual cost for Ivy League schools, as well as the median SAT scores required to be accepted. View Online | Subscribe Presented by: Discover the motivations

Dark Matter & Tortured Poets

Friday, April 19, 2024

New music releases aren't what they used to be -- for good and bad. Dark Matter & Tortured Poets By MG Siegler • 19 Apr 2024 View in browser View in browser New music releases in 2024 are a

Impact of AI on Product Management

Friday, April 19, 2024

​ Impact of AI on Product Management The rise of the AI Product Manager. Product managers have always championed customer's needs. However, with AI, the job requires new technical and ethical

⚙️ Zuck has entered the chat(bot)

Friday, April 19, 2024

Plus: AI video's coming to mobile! ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌