Issue #353

Python 3.8 Performance Improvements, Mastering Jupyter Notebooks, and More

Jan. 29, 2019

Python 3.8 Performance Improvements, Mastering Jupyter Notebooks, and More
#353 – JANUARY 29, 2019 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Several Stdlib Methods With Only Positional Arguments Will Be 30-70% Faster in Python 3.8
Wow, this is great. Optimization work done by Serhiy Storchaka will make several functions/methods with only positional arguments in the Python stdlib faster. This will land in Python 3.8. Also see the related discussion on Reddit.
PYTHON.ORG

Jupyter Notebook: An Introduction
Learn how to get started with The Jupyter Notebook, an open source web application that you can use to create and share documents that contain live code, equations, visualizations, and text.
REAL PYTHON

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

Running Flask on Kubernetes
A step-by-step walkthrough of how to deploy a Flask-based microservice (along with PostgreSQL and Vue.js) to a Kubernetes cluster.
TESTDRIVEN.IO

Modules and Packages: How to Create a Python Project
Learn the rationale behind Python modules, the differences between modules and packages, and how the two things interact together.
INTERNALPOINTERS.COM

High-Performance in Python With Zero-Copy and the Buffer Protocol
Using Python’s buffer protocol to achieve low memory overhead and improved performance in your data crunching programs. Nice writeup!
JULIEN DANJOU

My Path to Becoming a Python Core Developer
The story of how Emily Morehouse became a Python Core Developer. Also check out this recent interview with Emily.
EMILYEMOREHOUSE.COM • Shared by Ricky White

The “Bug-O” Notation
Interesting idea: “The Bug-O describes how much an API slows you down as your codebase grows.” Uses JavaScript for the examples but the principles apply to Python just as much.
DAN ABRAMOV


Discussions


Should Running python From the Shell Invoke Python 3 or 2?
GITHUB.COM/PYTHON • Shared by Python Bytes FM

Ah, the Old Python Packaging Issue…
TWITTER.COM/REALPYTHON

Support the PSF While You Shop at Amazon
TWITTER.COM/THEPSF

Classes vs Functions: When to Use Which and Why?
REDDIT


Python Jobs


Tech Lead / Senior Software Engineer (Seattle, WA)
INDEED.COM INCUBATOR

Python Software Engineer (London, UK)
POLE STAR SPACE APPLICATIONS LTD.

Senior Engineer Python & more (Winterthur, Switzerland)
DEEP IMPACT AG

Sr Enterprise Python Developer (Toronto, Canada)
KOGNITIV

Senior Software Engineer (Santa Monica, CA)
GOODRX

Python Software Engineers (Palo Alto, CA)
RHYTHM DIAGNOSTIC SYSTEMS, INC

More Python Jobs >>>


Articles & Tutorials


Building a Python Data Science Container Using Docker
How to package all the software required for a Python data science stack to run inside a Docker image.
FAIZAN BASHIR

Python Was Originally Developed for the Amoeba OS
Nice little piece of Python history. Did you know that Python was originally developed for a microkernel-OS called Amoeba? Me neither!
ADAFRUIT.COM

Code Faster With Kite’s New Line-of-Code Completions
Kite releases Line-of-Code Completions and goes off the cloud. Take Kite’s new AI-powered Python auto-complete plugin for a spin. It’s free. #Python #AI Compatible with Atom, Sublime, VSCode, IntelliJ, PyCharm, Vim. Download Now. It’s Free →
KITEsponsor

Stacks and Queues in Python
Covers the basics of working with these two common data structures in Python.
MARCUS SANATAN

Using Pandas to Create an Excel Diff
How to use pandas to create a diff tool that compares two similar Excel spreadsheets. I’m sure this will come in handy one day.
CHRIS MOFFITT

Python’s Requests Library (Guide)
In this tutorial on Python’s “requests” library, you’ll see some of the most useful features that requests has to offer as well as how to customize and optimize those features. You’ll learn how to use requests efficiently and stop requests to external services from slowing down your application.
REAL PYTHON

Inverting Facial Recognition Models
Or: Can we teach a neural net to convert face embedding vectors back to images? Nice writeup!
IRHUM SHAFKAT

Regrettable Code
Interesting “refactoring postmortem” on a piece of Python code that was slow and difficult to work with.
JEREMY NORING

Analyzing My Spotify Library With Jupyter and Pandas
VLADISLAV SUPALOV • Shared by Vladislav Supalov

Intro to Using SQLite3 With Python
Covers the basics of working with SQLite databases. Lean how to create, select, update, and delete rows in SQLite3 databases using Python.
CODEMENTOR.IO

Rendering GPS Traces With Python
“If you ask a bunch of people to upload GPS traces when they walk/drive and you combine those traces, you can get a rudimentary map.”
GOKBERK YALTIRAKLI


Projects & Code


onelinerizer: Convert Any Python File Into a Single Line of Code
With great power comes great responsibility…
GITHUB.COM/CSVOSS

dataclass-csv: Map CSV to Data Classes
Use Python 3.7 dataclasses instead of dictionaries to represent CSV rows, with automatic type validation and conversion. Cool!
GITHUB.COM/DFURTADO

Airtest: UI Test Automation Framework for Games and Apps
A cross-platform automated testing framework focusing mainly on games, but it can also be used for native apps. Windows and Android are currently supported; iOS support is in open beta now.
GITHUB.COM/AIRTESTPROJECT

click-web: Easily Serve click CLI Scripts Over the Web
PYPI.ORG

Making subprocess.popen() Easier to Use
GITHUB.COM/ACHILLESRASQUINHA

dpaste-magic: Easily Share Jupyter Code Cells With Others
PYPI.ORG

taxes-2018: Fills Out Forms for 2018 US Tax Returns
Don’t fire your accountant just yet…but maybe forward them this link ;-)
GITHUB.COM/PYTAXPREP

📆🐍 Upcoming Python Events


⋅ Fosdem 2019 February 2 to February 4, 2019

⋅ PyDelhi User Group Meetup February 2, 2019

⋅ Fox Valley Python User Group February 4, 2019

⋅ Melbourne Python Users Group February 4, 2019

⋅ Dominican Republic Python User Group February 5, 2019

⋅ Heidelberg Python Meetup February 6, 2019

⋅ PyStaDa February 6, 2019

⋅ STL Python February 6, 2019
Happy Pythoning!
Copyright © 2019 PyCoder’s Weekly, All rights reserved.