Issue #370

Translating Math into Python Code, PEP 594, Logging, and More

May 28, 2019

Translating Math into Python Code, PEP 594, Logging, and More
#370 – MAY 28, 2019 VIEW IN BROWSER
The PyCoder’s Weekly Logo
PEP 594: Removing Dead Batteries From the Standard Library
“This PEP proposed a list of standard library modules to be removed from the standard library. The modules are mostly historic data formats (e.g. Commodore and SUN file formats), APIs and operating systems that have been superseded a long time ago (e.g. Mac OS 9), or modules that have security implications and better alternatives (e.g. password and login).”
PYTHON.ORG

Translating Math Into Code With Examples in Java, Python, Haskell and Racket
Nice guide to translating the common discrete mathematical structures, such as sets, sequences, functions, disjoint unions, relations and syntax, into working code in Java, Python, Racket and Haskell.
MATT MIGHT

Find a Python Job Through Vettery
Vettery specializes in developer roles and is completely free for job seekers. Interested? Submit your profile, and if accepted, you can receive interview requests directly from top companies seeking Python devs. Get started →
VETTERYsponsor

Python Logging: A Stroll Through the Source Code
In this step-by-step tutorial, you’ll learn about how the Python logging package is designed from an OOP perspective. You’ll walk line by line down the package’s core module and become better equipped to know what your code is doing.
REAL PYTHON

Using Poetry in Production
“In this article I want to share my experience of using the Poetry dependency manager in production environment.”
MISHA BEHERSKY • Shared by Misha Behersky

Keras: Feature Extraction on Large Datasets With Deep Learning
In this tutorial you will learn how to use Keras feature extraction on large image datasets with Deep Learning. We’ll also learn how to use incremental learning to train your image classifier on top of the extracted features.
ADRIAN ROSEBROCK

Implementing a Convolutional Neural Network From Scratch in Python
A simple but detailed guide to what CNNs are, how they work, and how to build one from scratch in Python.
VICTOR ZHOU

Exploring Python Using GDB, the GNU Debugger
“In order to demonstrate some of GDB’s flexibility, and show some of the steps involved in practical GDB work, we’ve put together a brief example of debugging Python with GDB.”
EVAN BRODER

What the Royal Astronomical Society in 1884 Tells Us About Python Today
Or: Why dealing with time zones is hard.
SCOTT KILPATRICK

Why Python Class Syntax Should Be Different
Interesting language design discussion about Python’s class syntax and how it could be made more regular and beginner friendly.
NED BATCHELDER


Discussions


apt-get install python
Looks more like a cobra to me, but whatever ;-)
TWITTER.COM/CHIRAGDABHI96


Python Jobs


Senior Backend Engineer
CLOSE 📍 REMOTE

Lead Python Developer
KOGNITIV 📍 TORONTO, CANADA

SIPS Programmer
UNIVERSITY OF WISCONSIN 📍 MADISON, WI

Senior Python Developer
GAMING INNOVATION GROUP 📍 MALTA, EUROPE

Senior Backend Python Developer
KIWI.COM 📍 REMOTE

More Python Jobs >>>


Articles & Tutorials


Continuous Integration With Python
In this course, you’ll learn the core concepts behind Continuous Integration (CI) and why they are essential for modern software engineering teams. Find out how to how set up Continuous Integration for your Python project to automatically create environments, install dependencies, and run tests.
REAL PYTHON video

Python Is Now a Prerequisite for All These Banking Jobs
“If you can’t code and you work in finance you risk being pushed out by those who can. Not today. Not tomorrow, but soon. Slowly, surely, the need for coding skills is percolating all banks’ operations.”
SARAH BUTCHER.COM

Build a Custom Python Distro in Minutes
Create a free account and: choose from our 500+ vetted packages, automatically pull in and resolve dependencies, install the distro in a virtual environment with a single command. Supports Python 3.6+ on Linux. Try now →
ACTIVESTATEsponsor

Let’s Use GitHub Issues for CPython
Details some of the background discussions that happened with CPython switching to GitHub Issues as its official bug tracker.
MARIATTA WIJAYA / A. JESSE JIRYU DAVIS

Python’s Creator Thinks It Has a Diversity Problem
DAN KNOPF

A Tutorial on How to Integrate Vue.js With Flask
MICHAEL BUKACHI • Shared by Michael Bukachi

Django Deployment With Dokku
A step by step guide on how to deploy a typical Django app with Dokku.
PONYTECH.NET • Shared by Patrice Pawlak

As-You-Type Search With Django & Ajax
A step-by-step guide on implementing “as-you-type” AJAX search in Django
SHIBEL K. MANSOUR • Shared by Shibel K. Mansour

Python Chat Tutorial With Django and React
Discover how to build a Python chat application with Django and React using Stream Chat with this in-depth tutorial.
STREAMsponsor

Asynchronous Tasks in Django With Redis and Celery
Get a general understanding of why Celery message queues are valuable along with how to utilize Celery in conjunction with Redis in a Django application.
ADAM MCQUISTAN

Thoughts on How to Start a PyData or Python Meetup
IAN OZSVALD

Simulating A/B Tests Offline With Counterfactual Inference
ARNAB BHADURY

Some Thoughts on Red Hat Enterprise 8 Including Python 2 and What It Means
RHEL 8 includes a dual Python setup (Python 2 + Python 3) and what it means for the future of Python 2 support.
CHRIS SIEBENMANN

Analyzing the Stack Overflow Survey
Some hands-on data analysis of the raw results from Stack Overflow’s recent developer survey.
MOSHE ZADKA

How to Iterate Through a Dictionary in Python
Take a deep dive into how to iterate through a dictionary in Python. Dictionaries are a fundamental data structure, and you’ll be able to solve a wide variety of programming problems by iterating through them.
REAL PYTHON


Projects & Code


Avant-IDLE: An Experiment
Some neat ideas on how Python’s built-in IDLE REPL and editing environment could be updated and made more beginner-friendly.
AROBERGE.BLOGSPOT.COM

Ring: Advanced Cache Interface for Python
Python cache interface with clean API and built-in memcache & redis + asyncio support.
RING-CACHE.READTHEDOCS.IO

strictdom: Strictly Typed Wrapper for Dominate
A strictly typed wrapper around the popular Dominate library for creating and manipulating HTML documents in Python.
GITHUB.COM/TAWESOFT • Shared by Ben Golightly

import-x: Import Anything Like It Is a Python Module
GITHUB.COM/DEEPSOURCELABS • Shared by Mohit Solanki

scrapydweb: Web App for Scrapyd Cluster Management
GITHUB.COM/MY8100

videoflow: New Python Library to Do Computer Vision on Video
GITHUB.COM/VIDEOFLOW

📆🐍 Upcoming Python Events


PyCon Israel 2019
June 3 to June 6, 2019

Melbourne Python Users Group, Australia
June 3, 2019

Python Toulouse
June 3, 2019

Reunión Python Valencia
June 6, 2019

Dash Conference
July 16–17 in NYC
Happy Pythoning!
Copyright © 2019 PyCoder’s Weekly, All rights reserved.