Issue #363

PEP 570 Accepted, Idiomatic Pandas, Imports Profiling, and More

April 9, 2019

PEP 570 Accepted, Idiomatic Pandas, Imports Profiling, and More
#363 – APRIL 9, 2019 VIEW IN BROWSER
The PyCoder’s Weekly Logo
PEP 570 (Positional-Only Parameters) Got Accepted
This PEP introduces a new syntax, /, for specifying positional-only parameters in Python function definitions. Looks useful for getting tighter control over how a library API can be called (i.e. preventing positional params from being called as keyword arguments). This will also allow for some function call speed optimizations in the future.
PYTHON.ORG

Idiomatic Pandas: Tricks & Features You May Not Know
In this series you’ll see how to use some lesser-used but idiomatic Pandas capabilities that lend your code better readability, versatility, and speed.
REAL PYTHON video

Become a Python Guru With PyCharm
PyCharm is the Python IDE for Professional Developers by JetBrains providing a complete set of tools for productive Python, Web and scientific development. Be more productive and save time while PyCharm takes care of the routine.
JETBRAINSsponsor

A Local LRU Cache
How to avoid shared global state when using the functools.lru_cache decorator from the standard library.
MOSHE ZADKA

Investigating Slow Imports With Python 3.7
CPython 3.7 has a new feature (-X importtime) for profiling import time and this article gives you a good overview on how to use this to reduce application startup time.
INADA NAOKI

AvantPy: Friendly Tracebacks
AvantPy provides friendlier Python tracebacks, translated into various languages, to help beginners learn programming. Right now the project is still in its early stages and the maintainer is looking for contributors.
ANDRÉ ROBERGE


Discussions


Enormous Python Captured at Florida Nature Preserve
17 feet and 140 pounds! Have we hit Peak Python? I don’t think so…
CNN.COM

I Converted My Python Code to C and It Became 30x Slower…
REDDIT

Python Wish: Iterating Over File Contents in Chunks
TWITTER.COM/TREYHUNNER


Python Jobs


Senior Python Developer
GAMEANALYTICS LTD. 📍 COPENHAGEN, DENMARK

Senior Python Engineer
RECHARGE PAYMENTS 📍 REMOTE

Python Engineer in Healthcare
NUANCE COMMUNICATIONS 📍 BURLINGTON, MA

Machine Learning and Data Science Developer
PROTECTION ENGINEERING CONSULTANTS LLC 📍 AUSTIN, TX

Python Software Engineer
WOOGA 📍 BERLIN, GERMANY

More Python Jobs >>>


Articles & Tutorials


What Is Pip? A Guide for New Pythonistas
In this beginner-friendly tutorial, you’ll learn how to use pip, the standard package manager for Python, so that you can install and manage additional packages that are not part of the Python standard library.
REAL PYTHON

How to Save Extra Data to a Django REST Framework Serializer
Short & sweet article where you’ll learn a handy pattern for passing extra data to your DRF serializers before saving them to the database.
VITOR FREITAS

Python Opportunities Come to You on Indeed Prime
Indeed prime is a hiring platform exclusively for tech talent like you. If you’re accepted, we’ll match you with companies and roles that line up with your skills, career goals and salary expectations. Apply for free today.
INDEEDsponsor

Python Modules Management for Newbies
A quick overview on Python dependency management with PYTHONPATH and virtual environments, and how this approach compares with Golang.
WOJCIECH KULIKOWSKI

Getting Python and wxPython Apps Into the Ubuntu App Store
How the author got his own Python app on the Ubuntu/Snapcraft app store.
ANDY BULKA

The Ultimate Guide to Memorable Tech Talks
Nina Zakharenko gives some great advice about giving tech talks. This episode is full of great help and encouragement for your own public speaking adventures.
TEST & CODE podcast

Running Django in Production
Mike Kennedy and Mike Herman talk about running Django in production in episode #206 of the Talk Python Podcast.
TALK PYTHON podcast

Parallel Computation in Python With Dask
Dask is a library that scales Python computation to multiple cores or multiple machines. Setups running Dask on thousands of machines are not unheard of. This short article gives you a couple of usage examples.
MOSHE ZADKA

Python Development in Visual Studio Code (Setup Guide)
Learn how to set up Visual Studio Code for Python development. By following examples, you’ll cover everything from installing and configuring VSCode, to running tests and debugging Python apps.
REAL PYTHON video


Projects & Code


AmpliGraph: Representation Learning on Knowledge Graphs
GITHUB.COM/ACCENTURE

Cog: Generate Text With Embedded Python Code
NED BATCHELDER

qutebrowser: Web Browser Written in Python
QUTEBROWSER.ORG

pgcli v2.1.0 Released
PGCLI.COM

plantz: Python-Powered Backyard IOT Greenhouse
GITHUB.COM/FHK

Mypy 0.700 Released: Up to 4x Faster
Mypy now ships a mypy binary compiled with mypyc by default, which is up to 4x faster than the previous interpreted version. Very cool!
MYPY-LANG.BLOGSPOT.COM

📆🐍 Upcoming Python Events


PyCon Africa
August 6 to August 11 in Accra, Ghana

Python North East
April 10, 2019

DjangoCon Europe 2019
April 10 to April 15, 2019

Python Atlanta
April 11, 2019

Python Miami
April 13 to April 14, 2019

PyTexas 2019
April 13 to April 15, 2019

PythonCamp.de 2019
April 13 to April 15, 2019
Happy Pythoning!
Copyright © 2019 PyCoder’s Weekly, All rights reserved.