Issue #435

Data Version Control, Python In Your Downloads, Common Packaging Mistakes, and More

Aug. 25, 2020

Data Version Control, Python In Your Downloads, Common Packaging Mistakes, and More
#435 – AUGUST 25, 2020 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Data Version Control With Python and DVC
In this tutorial, you’ll learn to use DVC, a powerful tool that solves many problems encountered in machine learning and data science. You’ll find out how data version control helps you to track your data, share development machines with your team, and create easily reproducible experiments!
REAL PYTHON

A Deep Dive Into the Official Docker Image for Python
Take a stroll through the Dockerfile for the official Python Docker image. Along the way you’ll see how the image uses a custom Python build and always includes the latest version of pip.
ITAMAR TURNER-TRAURING

Python Developers Are in Demand on Vettery
Vettery is an online hiring marketplace that’s changing the way people hire and get hired. Ready for a bold career move? Make a free profile, name your salary, and connect with hiring managers from top employers today →
VETTERYsponsor

Never Run Python in Your Downloads Folder
Learn about security issues that exploit how Python interacts with PATH and why you should always think twice about your current working directory.
GLYPH LEFKOWITZ

Ask for Forgiveness or Look Before You Leap?
Is it faster to “ask for forgiveness” or “look before you leap” in Python? And when is it better to use one over the other?
SEBASTIAN WITOWSKI

Common Python Packaging Mistakes
Learn about common mistakes made in creating and building a Python package and how to avoid them.
JOHN WODDER


Discussions


Why Does np.inf // 2 Result in NaN and Not Infinity?
Wait, can you even divide infinity by anything?
STACK OVERFLOW

I Programmed Someone Out of a Job and Now I Feel Bad
REDDIT


Python Jobs


Senior Backend Software Engineer
TATARI, INC. 📍 LOS ANGELES, CA, USA

Advanced Python Engineer
RESEARCH AFFILIATES LLC 📍 NEWPORT BEACH, CA, USA

Software Engineer
PRI TECHNOLOGY 📍 REMOTE

Python Software Engineer
TECHNOLOGY NAVIGATORS 📍 REMOTE

More Python Jobs >>>


Articles & Tutorials


Python mmap: Improved File I/O With Memory Mapping
In this tutorial, you’ll learn how to use Python’s mmap module to improve your code’s performance when you’re working with files. You’ll get a quick overview of the different types of memory before diving into how and why memory mapping with mmap can make your file I/O operations faster.
REAL PYTHON

How to Fit All Human Knowledge in a Box
How to use the power of Cython to unlock the potential of both Python and C++, and help streamline the way that knowledge can be packaged and shared all over the world – even without the internet.
TESS MACCREA AND JUAN DIEGO CABALLERO • Shared by Tess McCrea

Structured Concurrency in Python With AnyIO
One of AsyncIO’s weaknesses is that it doesn’t support structured concurrency, unlike competitive projects like Trio. That’s where AnyIO comes in!
MATT WESTCOTT

Constant Time LFU
Caching is a popular way to improve application performance. The LRU strategy is popular, even though it is sometimes sub-optimal compared to the LFU strategy, because it has constant-time performance. However, you can improve LFU to get constant time performance, with some memory overhead as a trade-off.
ARPIT BHAYANI

Rust for a Pythonista, Part III: Python Bindings
In the third part of this series, you’ll learn how to add Python bindings to a Rust crate as well as test, package, and release a project to PyPI.
DMITRY DYGALO • Shared by Dmitry Dygalo

Market Prediction with ETFs & Convolutional Networks
How well can convolutional neural networks and sector ETF data predict the direction of the Dow Jones Industrial Average in the future?
GREGORY JANESH • Shared by Gregory Janesch

High Demand for Python-Driven ML Tools to Boost Robot Farming
Robots driven by Python, PyTorch, and computer vision are being used to identify, map, and target weeds in a field, helping farmers increase yield and avoid widespread use of an herbicide. While this article is non-technical, it’s an interesting study of Python’s impact in the real world.
FINTECHDEMAND.COM

Which Programming Language Is Best for Economic Research?
The most widely used programming languages for economic research are Julia, Matlab, Python and R. Despite Python’s strengths, most notably its extensive ecosystem of packages, the authors settle on Julia as their preferred language.
ALVARO AGUIRRE AND JON DANIELSSON

R and Python: The Data Science Dynamic Duo
The R language has seen a big comeback this summer, rising sharply in the TIOBE index. But the future of the relationship between R and Python is less about “R vs. Python” and more about “R and Python.”
ALEX WOODIE

Python, Javascript, R and Julia Contribute Billions to GDP
Open-source programming languages, which are incredibly valuable, are not well accounted for in economic statistics. How much economic value do you think Python has?
DAN KOPF


Projects & Code


Brought to you by Real Python for Teamssponsor
Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed →

newspaper: News, Full-Text, and Article Metadata Extraction in Python 3
GITHUB.COM/CODELUCAS

anyio: High Level Compatibility Layer for Multiple Asynchronous Event Loop Implementations
GITHUB.COM/AGRONHOLM

mccabe: McCabe Complexity Checker for Python
GITHUB.COM/PYCQA

databay: Python Interface for Scheduled Data Transfer
GITHUB.COM/VOYZ

strawberry: A GraphQL Library for Python
GITHUB.COM/STRAWBERRY-GRAPHQL

present: A Terminal-Based Presentation Tool With Colors and Effects
GITHUB.COM/VINAYAK-MEHTA • Shared by Vinayak Mehta

📆🐍 Upcoming Python Events


PyCon Japan 2020
August 28 to August 30, 2020
Happy Pythoning!
Copyright © 2020 PyCoder’s Weekly, All rights reserved.