Issue #366

PyCon, Python Adware, GeoDjango, and More

April 30, 2019

PyCon, Python Adware, GeoDjango, and More
#366 – APRIL 30, 2019 VIEW IN BROWSER
The PyCoder’s Weekly Logo
How to Get the Most Out of PyCon
PyCon is about to kick off! Whether you’re a first-timer or a seasoned attendee, this guide will help you get ready to have a great PyCon.
REAL PYTHON

Meet Python Content Creators at the PyCharm PyCon Booth
If you’re at PyCon this week come and meet yours truly, along with Michael Kennedy from the Talk Python podcast, Brian Okken from Test & Code, Miguel Grinberg, Chris Medina, PyBites, and the Real Python Team. Be sure to stop by and say hi :)
PAUL EVERITT

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

Teaching a Kid to Code With PyGame Zero
How can you excite a kid about computers? In this article the author shares his experience teaching his six year old son some programming using PyGame Zero.
MATT LAYMAN

Detecting Parkinson’s Disease With Computer Vision
Learn how to use OpenCV and machine learning to automatically detect Parkinson’s disease in hand-drawn images of spirals and waves.
ADRIAN ROSEBROCK

Mac Adware, à la Python
An examination of a malicious piece of macOS software (adware) which leverages Python and various levels of obfuscation to hinder analysis.
OBJECTIVE-SEE.COM

Make a Location-Based Web App With Django and GeoDjango
Learn how to use Django and GeoDjango to build a location-based web application from scratch. You’ll be building a simple nearby shops application that lists the shops closest to a user’s location, powered by PostgreSQL and PostGIS.
REAL PYTHON video


Discussions


repeatfunc() Itertools Recipe
For example, repeatfunc(random, 10) would be a shortcut for (random() for i in range(10))
RAYMOND HETTINGER

Why Is This in the Official Python Docs?
“Lame Lame Lame, DO NOT USE THIS!!!”
REDDIT


Python Jobs


Brought to you by Indeed Primesponsor
Apply today to see what job opportunities are waiting for you!

Senior API Developer (Copenhagen, Denmark)
GAMEANALYTICS LTD.

Senior Python Engineer (Remote)
RECHARGE PAYMENTS

Python Engineer in Healthcare (Burlington, MA)
NUANCE COMMUNICATIONS

Senior Backend Python Developer (Remote)
KIWI.COM

More Python Jobs >>>


Articles & Tutorials


2019 PSF Annual Report
“Our first Annual Report shows you just a few ways the generous support from our partners and friends helps us support our mission”
PYTHON.ORG

Detecting SQL Injections in Python Code Using AST
Python has a built-in ast module that lets you inspect, parse and edit Python code. This article shows a real-world example of how you can use this module to detect SQL injection vulnerabilities in Python code.
ARTEM GOLUBIN

Join a Community of 3.5 Million Developers on DigitalOcean
Discover why Python developers love self-hosting their apps on DigitalOcean, the simplest cloud platform. Get started with a $100 credit for new users →
DIGITALOCEAN

Python at Netflix
A sampling of how Python is used at Netflix: “We use Python through the full content lifecycle, from deciding which content to fund all the way to operating the CDN that serves the final video to 148 million members.”
AMJITH RAMANUJAM

Distributions vs Releases: Why Python Packaging Is Hard
Why Python packaging is hard: just because you both installed v1.2.3, doesn’t mean you installed the same thing…
ALEX BECKER • Shared by Alex Becker

Getting to Know Python 3.7
Short & sweet article that covers some of the new features and improvements available in Python 3.7: data classes, async/await, and more.
CASEY FAIST

Python in Visual Studio Code: April 2019 Release
Python interactive now comes with a built-in variable explorer, debugging is easier to configure, and improvements to the Python Language Server have been made.
MICROSOFT.COM

Python KeyError Exceptions and How to Handle Them
Learn how to handle Python KeyError exceptions. They are often caused by a bad key lookup in a dictionary, but there are a few other situations when a KeyError can be raised as well.
REAL PYTHON

Getting Started With Mercurial for Version Control
Super short article to show you the basics of Mercurial, a distributed version control system written in Python.
MOSHE ZADKA

Top 3 Python Libraries for GraphQL
A summary of the best Python libraries for the GraphQL query language.
OBERT MATYSZEWSKI

Serving GIFs With a Python-Powered Discord Bot
MAX ONG ZONG BAO

Create Your Own Timing Context Manager in Python
Covers various ways to write a Python context manager that measures execution time.
FLORIAN DAHLITZ

Python dis Module and Constant Folding
Why is pow(3, 89) slower than 3 ** 89? Quick article looking at the dis module and when CPython’s constant folding kicks in.
PYTHONTIPS.COM • Shared by Jim Anderson


Projects & Code


typed-json-dataclass: Enhanced Dataclasses
Enhances dataclasses to perform basic type checking and makes the dataclass JSON serializable.
GITHUB.COM/ABATILO

Python Decompiler
This free online tool can decompile Python bytecode (.pyc) back into equivalent Python source code.
PYTHON-DECOMPILER.COM

pyflame: A ptrace-ing Profiler for Python
GITHUB.COM/UBER

pydockenv: Python Virtual Environments, but Backed by Docker
GITHUB.COM/SE7ENTYSE7EN

pydantic: Data Validation and Settings Management Using Python Type Hinting
HELPMANUAL.IO

stackprinter: Debugging-Friendly Tracebacks for Python
GITHUB.COM/CKND

📆🐍 Upcoming Python Events


⋅ PyCon US 2019 May 1 to May 10, 2019. See you there!

⋅ Reunión Python Valencia May 2, 2019

⋅ Canberra Python Meetup May 2, 2019

⋅ Sydney Python User Group (SyPy) May 2, 2019

⋅ PyDays Vienna May 3 to May 5, 2019

⋅ Python Atlanta Meetup May 9, 2019
Happy Pythoning!
Copyright © 2019 PyCoder’s Weekly, All rights reserved.