Issue #373

Publishing Python Packages, Making CPython Leaner, PSF Election Results, and More

June 18, 2019

Publishing Python Packages, Making CPython Leaner, PSF Election Results, and More
#373 – JUNE 18, 2019 VIEW IN BROWSER
The PyCoder’s Weekly Logo
How to Publish Your Own Python Package to PyPI
Learn how to create a Python package for your project and how to publish it to PyPI, the Python Package Repository with this step-by-step tutorial. Quickly get up to speed on everything from naming your package to configuring it using setup.py.
REAL PYTHON video

Comparing the Same Project in Rust, Haskell, C++, Python, Scala and OCaml
“A rare opportunity to compare implementations of large programs that all did the same thing, written by friends I knew were highly competent, and have a fairly pure opportunity to see what difference design and language choices could make.”
TRISTAN HUME

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

Toward a “Kernel Python”
“We need a newer, leaner, unburdened ‘kernel’ Python. We need to dump the whole standard library out on the floor, adding back only the smallest bits that we need, so that we can tell what is truly necessary and what’s just nice to have.”
GLYPH LEFKOWITZ opinion

Use __main__.py in Python
“The magic file __main__.py is called when you run your project with the -m module flag. If you code is intended to be used a module first, and command line interface second, this makes perfect sense to use. Think of it as a place we can put whatever would be in our body of our if __name__ === "__main__" statement.”
SHANE O’NEILL

PyPI Now Supports Two-Factor Login via WebAuthn
“To further increase the security of Python package downloads, we’re adding a new beta feature to the Python Package Index: WebAuthn support for U2F compatible hardware security keys as a two-factor authentication (2FA) login security method.”
PYFOUND.BLOGSPOT.COM

PSF Announces Results of the 2019 Board of Directors Election
“The 4 available seats go to: Lorena Mesa @loooorenanicole , Kushal Das @kushaldas, Marlene Mhangami @marlene_zw, and Jannis Leidel @jezdez. Congratulations to Lorena, Kushal, Marlene, and Jannis!”
TWITTER.COM/THEPSF

Dynamic Programming Examples in Python
A short introduction to the (confusingly named) concept of dynamic programming with Python.
NATHAN GOLDBAUM


Discussions


A Fibonacci Assignment Expression Dict Comprehension (??)
TWITTER.COM/CODEWITHANTHONY

Anyone Up for a Funeral for Python 2 on January First 2020?
REDDIT


Python Jobs


Senior Backend Software Engineer
CLOSE 📍 REMOTE

Lead Python Software Developer
KOGNITIV 📍 TORONTO, CANADA

SIPS Programmer
UNIVERSITY OF WISCONSIN 📍 MADISON, WI

Data Engineer
STYLIGHT GMBH 📍 MUNICH, GERMANY

Senior Python Developer
GAMING INNOVATION GROUP 📍 MALTA, EUROPE

More Python Jobs >>>


Articles & Tutorials


So, You Want to Contribute to CPython: Gather Here
“I will try to explain how you can start contributing to CPython borrowing from some few ways I have used and found to work for me.”
JOANNAH NANJEKYE

Loop Better: A Deeper Look at Iteration in Python
“Python’s for loops don’t work the way for loops do in other languages. In this article we’re going to dive into Python’s for loops to take a look at how they work under the hood and why they work the way they do.”
TREY HUNNER

Build Python in Minutes With ActiveState
Tired of Conda-installing? Automatically build your Python runtime environment with the packages you need: Automatically resolve dependencies, install in a virtual environment with a single command, build Python 2.7 and 3.6 on Linux and Windows. Learn more →
ACTIVESTATEsponsor

How to Build Command Line Interfaces in Python With Argparse
In this step-by-step Python tutorial, you’ll learn how to take your command line Python scripts to the next level by adding a convenient command line interface that you can write with argparse.
REAL PYTHON

Python vs R — Choosing the Best Programming Language for Data Science
“Functional Programming vs. Imperative Programming, the Nature of R Programming versus Python Programming, Data Science Tasks all determine what programming language to use in Data Science Project.”
JUN WU opinion

Communicating Between Go and Python or R
“Sometimes, we need code from one language to call code written in another language directly. In this post, we’ll take a short look at how to do that using C foreign function interfaces (FFI) as a way to call functions written in Go using Python.”
MATTHEW MAHOWALD

Faster Docker Builds With Pipenv, Poetry, or Pip-Tools
“Installing dependencies separately from your code allows you to take advantage of Docker’s layer caching. Here’s how to do it with pipenv, poetry, or pip-tools.”
ITAMAR TURNER-TRAURING

Come to Mexico for PyCon Latam 2019
Come join us in beautiful Puerto Vallarta in the first installment of this conference. With an all-inclusive ticket that covers food and lodging, you can’t miss this opportunity!
PYCONsponsor

Calling Python Functions From NodeJS
On NodeJS and Python interoperability.
NICK FRANKEN

Scraping Stack Overflow With Python
NAVEEN VERMA

Making a Word Cloud Picture With Python
STANISLAS MORBIEU


Projects & Code


flake8-black: Flake8 Plugin to Run Black for Checking Python Coding Style
GITHUB.COM/PETERJC • Shared by Python Bytes Podcast

semantic: Parsing, Analyzing, and Comparing Source Code Across Many Languages
GITHUB.COM/GITHUB

Voilà: Turn Jupyter Notebooks Into Standalone Web Applications
JUPYTER.ORG

lutris: Open Source Gaming Platform for GNU/Linux
GITHUB.COM/LUTRIS

Python Preview: VS Code Plugin That Creates Object-Visualizations for Python
VISUALSTUDIO.COM • Shared by Python Bytes Podcast

fern: Curses-Based Mastodon Client
GITHUB.COM/ENKIV2

📆🐍 Upcoming Python Events


PyDelhi User Group Meetup
June 22, 2019

GeoPython 2019
June 24 to June 27, 2019

Inland Empire Pyladies (CA, USA)
June 24, 2019

Dominican Republic Python User Group
June 25, 2019

Heidelberg Python Meetup
June 26, 2019

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