#398 – DECEMBER 10, 2019
View in Browser »
MicroPython: An Intro to Programming Hardware in Python
Are you interested in the Internet of Things, home automation, and connected devices? In this tutorial, you’ll learn about MicroPython and the world of electronics hardware. You’ll set up your board, write your code, and deploy a MicroPython project to your own device.
REAL PYTHON
PEP 591: Adding a final
Qualifier to Typing
This PEP proposes a final
qualifier to be added to the typing
module—in the form of a final
decorator and a Final
type annotation—to serve three related purposes: Declaring that a method should not be overridden, declaring that a class should not be subclassed, declaring that a variable or attribute should not be reassigned.
PYTHON.ORG
Monitor Your Python Environment With Datadog APM and Distributed Tracing
Use detailed flame graphs to identify bottlenecks and latency, and correlate log and trace data for individual requests. Plus, the Datadog APM’s tracing client auto-instruments popular frameworks and libraries like Flask, Tornado, Django, and more. Try it free with a 14-day trial of Datadog →
DATADOG sponsor
Doing Python Configuration Right
“Let’s talk about configuring Python applications, specifically the kind that might live in multiple environments – dev, stage, production, etc.”
MICHAEL WHALEN
8 Great pytest Plugins
“One of the best aspects of the popular Python testing tool is its robust ecosystem. Here are eight of the best pytest plugins available.”
OPENSOURCE.COM • Shared by Python Bytes FM
Two Malicious Python Libraries Caught Stealing SSH and GPG Keys
Also see the related discussion on Hacker News.
LUKAS MARTINI
Dismissing Python Garbage Collection at Instagram
How Instagram’s Django backend runs with GC disabled and gets a 10% performance gain.
INSTAGRAM ENGINEERING BLOG
Python Code Style & Pythonic Idioms
A review of general concepts, language idioms, and Pythonic coding conventions.
PYTHON-GUIDE.ORG
Monads Aren’t as Hard as You Think
Monads explained with Python code examples.
YING WANG
Python Jobs
Senior Python Engineer (Munich, Germany)
Senior Python/Django Developer (Eindhoven, Netherlands)
Django Full Stack Web Developer (Austin, TX)
Contract Python / RaspPi / EPICS (Remote)
Articles & Tutorials
Inflationary Constant Factors and Why Python is Faster Than C++ (PDF)
Why constant-factor differences in algorithm complexity do matter in practice.
MEHRDAD NIKNAMI
Beautiful Soup: Build a Web Scraper With Python
In this tutorial, you’ll walk through the main steps of the web scraping process. You’ll learn how to write a script that uses Python’s requests library to scrape data from a website. You’ll also use Beautiful Soup to extract the specific pieces of information that you’re interested in.
REAL PYTHON
See How the Top BI Platforms Compare to Mode Analytics
This month, Mode was named a leader in BI and analytics by G2 Crowd. G2 aggregated customer reviews for all the top BI platforms. See which companies do best in ease of setup, ease of admin, future direction, and more →
MODE ANALYTICS sponsor
Multithreading vs Multiprocessing in Python
A discussion of misconceptions about multithreading in Python.
AMINE BAATOUT
Variables in Python
Learn how every item of data in a Python program can be described by the abstract term “object,” and how to manipulate objects using symbolic names called “variables.”
REAL PYTHON video
3 Packages to Build a Spell Checker in Python
“Learn what packages can work as a spell checker in Python. We’ll discuss pyspellchecker
, TextBlob
, and autocorrect
for performing this task.”
THEAUTOMATIC.NET
OCR in Python with Tesseract, OpenCV and Pytesseract
Get started with Tesseract and OpenCV for OCR in Python: preprocessing, deep learning OCR, text extraction and limitations.
FILIP ZELIC
Using Machine Learning to Learn How to Compress
shrynk
is a Python package that uses machine learning to compress your Pandas DataFrame (or Python dictionaries).
VKS.AI • Shared by Pascal van Kooten
Installing & Updating Packages in Python
Learn how to install, use, and update Python packages using pip, conda, and Anaconda Navigator.
ERIK MARSJA
Python Strings and Character Data (Interactive Quiz)
Test your understanding of Python strings and character data.
REAL PYTHON
Measure and Improve Python Code Performance With Blackfire.io
Profile in development, test/staging, and production, with no overhead for end users! Blackfire supports any Python version from 2.7.x and 3.x. Find bottlenecks in wall-time, I/O, CPU, memory, HTTP requests, and SQL queries.
BLACKFIRE sponsor
Projects & Code
py27hash: Python 2.7 Hashing and Iteration in Python 3+
GITHUB.COM/DAVIDMEZZETTI • Shared by David Mezzetti
rotvpn: Run Your Own VPN in the Cloud With Python
GITHUB.COM/JAR-O • Shared by James Robson
schemathesis: Property-Based Testing for Open API Schemas
GITHUB.COM/KIWICOM • Shared by Dmitry Dygalo
Events
Python Miami
December 14 to December 15, 2019
PYTHONDEVELOPERSMIAMI.COM
DFW Pythoneers 2nd Saturday Teaching Meeting
December 14, 2019
MEETUP.COM
Inland Empire Python Users Group Monthly Meeting
December 17, 2019
MEETUP.COM
Heidelberg Python Meetup
December 18, 2019
MEETUP.COM
PiterPy Breakfast
December 18, 2019
TIMEPAD.RU
PyData Bristol Meetup
December 19, 2019
MEETUP.COM
Python Northwest
December 19, 2019
PYNW.ORG.UK
PyLadies Dublin
December 19, 2019
PYLADIES.COM
MadPUG
December 19, 2019
MEETUP.COM
Happy Pythoning!
This was PyCoder’s Weekly Issue #398.
View in Browser »
[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]
from Planet Python
via read more
No comments:
Post a Comment