Issue #339

PyCoder’s Weekly – Issue #339

Oct. 23, 2018

PyCoder’s Weekly – Issue #339
#339 – OCTOBER 23, 2018 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Python 3.7.1 and 3.6.7 Are Now Available
Maintenance releases galore—3.7.1 and 3.6.7 are out. IDLE is usable once again on macOS. Full changelogs here (3.6.1) and here (3.7.1).
PYTHON.ORG

The Making of “requests”
Great interview/story piece with Kenneth Reitz, the creator of requests. Covers the project’s humble beginnings all the way to reaching 18 million downloads and 300+ contributors. Not a very technical article per se, it captures the passion and hard work powering one of Python’s most popular open-source projects.
ADITYA BHUSHAN DWIVEDI • Shared by Ricky White

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 onto the platform, you can receive interview requests directly from top companies seeking Python developers. Get Started.
VETTERYsponsor

Write Better Python Functions
What makes a Python function “good?” In this article Jeff shares an actionable checklist and discusses his personal definition.
JEFF KNUPP

Pyramid 1.10 Released
This release is the last planned feature release to support Python 2.7.
PYLONSPROJECT.ORG

Speeding Up URL Quoting by 10x Using Rust
How to call Rust code from Python with cffi and using it to speed up computational bottlenecks in your programs. Nice writeup!
BLUE-YONDER.COM


Discussions


“Super Potato Bruh” Is Now on Steam
Hilarious jump’n’run game made in pure Python and PyGame. Source code included.
REDDIT.COM

Quickest Way to Concatenate Strings (In Python 3.7)
str.join() vs f-strings vs str.format(): Who will win? I was pleasantly surprised to see f-strings came out ahead. Keep in mind though that this is purely a speed comparison and not about writing the most Pythonic code.
MAIL.PYTHON.ORG

Overwhelmed by the Simplicity of Python. Any Recommendation?
Moving from C/Java to Python and getting to the point where you’re writing “Pythonic” code can be difficult—for reasons you might not expect. Interesting discussion.
MAIL.PYTHON.ORG


Python Jobs


Senior Software Engineer - Full Stack (Raleigh, NC)
SUGARCRM

Head of Engineering (Remote)
FINDKEEP.LOVE

Django Developer (Remote)
WALK AS ONE

Senior Software Engineer (Los Angeles, CA)
GOODRX

Lead Developer Python/Django (Washington, DC)
IHATEIRONING

More Python Jobs >>>


Articles & Tutorials


Getting Started With Testing in Python
A complete introduction to all things testing in Python. Learn about the tools available to write and execute tests, check your application’s performance, and even look for security issues.
REAL PYTHON

Hidden Features of Python
Nice grab bag of lesser-known but useful features in Python.
STACKOVERFLOW.COM

Episode #100 of Python Bytes With Special Guests
The Python Bytes podcast has hit episode #100. This episode is a roundup of interesting projects and links from the previous episodes—and your’s truly was also a guest. Congratulations again Mike and Brian!
PYTHONBYTES.FMpodcast

Detecting Parking Spots With OpenCV and Tensorflow
Detecting occupied/free spots in aerial photos of a parking lot using computer vision and Python.
PRIYA DWIVEDI • Shared by Ricky White

Gensim Beginners Guide
Gensim is a state-of-the-art package for processing texts, working with word vector models (such as Word2Vec, FastText etc) and for building topic models using Python. This tutorial covers the basics you’ll need to get up and running.
MACHINELEARNINGPLUS.COM

Python’s range() Function
A guide to Python’s range() built-in. Get a solid understanding of how to use it, how its implementation differs in Python 3 vs 2, and how you can work around some of its limitations.
REAL PYTHON

The Waning of Python
A somewhat ranty comparison between Go and Python. There are parts that I don’t agree with, but I think Eric’s post is worth reading. How can we make Python even better for 2020 and beyond?
ERIC RAYMONDopinion

12 Factor CLI Apps
12 principles/guidelines for writing better command-line applications. Not necessarily Python-specific but absolutely worth reading if you’re building CLI apps.
JEFF DICKEY (HEROKU)

The Python Unicode Mess
“Python decided to fully integrate Unicode into the language. Nice idea, right? But here come the problems. And they are numerous.” Well… Text encoding is always messy and I feel like Python 3 made life a lot easier in that regard. This article goes into some of the frustrations and I also recommend reading the related discussion on Hacker News along with it.
JOHN GOERZENopinion

Make a Web App Using Python & Flask
How to get started with Flask and using it to write your first website. Step-by-step tutorial for getting a basic Flask web app up and running.
ARYA BOUDAIE

How to Level Up in Python
How does someone who just dabbles in Python and uses it for daily data handling tasks, become an expert in Python?
JAMES JEFFERS

Adding Type Hints to the Django ORM
How difficult would it be to add typing to Django ORM models? Will lays out some ideas in his post.
WILL MCGUGAN


Projects & Code


PySimpleGUI: Custom Layout GUIs Made Simple
Taking your Python code from the world of command-lines and into the convenience of a GUI? This project will save you a ton of work.
GITHUB.COM/MIKETHEWATCHGUY

safemd: Safety First Markdown Rendering
A Markdown renderer focusing on security first to avoid XSS exploits and the like.
ALEXANDER HULTNÉR

responder: A Familiar HTTP Service Framework
The contributors page for this project reads like a “Python web dev all stars” list. Kenneth Reitz of requests and pipenv fame, Tom Christie who created the Django Rest Framework, … Still early stages but worth playing with.
PYTHON-RESPONDER.ORG

wily: A Python Application for Tracking, Reporting on Timing and Complexity in Tests
Wily uses git to go through each revision (commit) in a branch and run complexity and code-analysis metrics over the code. You can use this to limit your code or report on trends for complexity, length etc.
ANTHONY SHAW

The “Mu” Python Editor
A simple Python editor for education purposes. Great for those completely new to programming.
CODEWITH.MU

Transcrypt: Python in the Browser
A Python to JavaScript compiler that allows you to write JavaScript applications using Python.
TRANSCRYPT.ORG

aiortc: WebRTC Implementation for Python Using asyncio
WebRTC and ORTC implementation for Python using asyncio. Extensive test suite and promises a focus on code quality.
JEREMY LAINÉ

holodeck: Simulator for Reinforcement Learning and Robotics Research
Uses Python and Unreal Engine and therefore has some cool-looking demos on the website.
BYU.EDU

sotawhat: Crawls Arxiv Papers and Summarizes the Abstracts
Helps you stay afloat with so many new papers every day.
CHIP HUYEN


Events


PyCon 2019 Call for Proposals Is Open
Get your talks in! Proposals are due November 26 (tutorials) and January 3 (talks, posters, education summit.)
PYCON.BLOGSPOT.COM

PyCon Canada 2018 Schedule
The PyCon Canada schedule is out. See you in Toronto? (The main conference days are Nov 10 + Nov 11.)
PYCON.CA

PyParis 2018
PyParis 2018 is coming up Nov 14-15
PYPARIS.ORG

Happy Pythoning!
Copyright © 2018 PyCoder’s Weekly, All rights reserved.