#391 – OCTOBER 22, 2019
View in Browser »
Arduino Microcontrollers + Python: How to Get Started
Discover how to use Arduino microcontrollers with Python to develop your own electronic projects. You’ll learn how to set up circuits and write applications with the Firmata protocol. You’ll control Arduino inputs and outputs and integrate the board with higher-level apps.
REAL PYTHON
Let’s Write an LLVM Specializer for Python
“We’re going to build a single module Numba-like compiler for Python. It won’t be nearly as featureful or complete, but should demonstrate how you can go about building your own little LLVM specializer for a subset of Python or your own custom DSL expression compiler; and integrating it with the standard NumPy/SciPy stack for whatever scientific computing domain you work.”
STEPHEN DIEHL
SQL, Python, and R. All in One Platform. Free Forever.
Mode Studio combines a SQL editor, Python & R notebooks, and visualization builder in one platform. Connect your data warehouse and analyze with your preferred language. Make custom viz (D3.js, HTML/CSS) or use out-of-the-box charts →
MODE ANALYTICS sponsor
Python 2.7.17 Released
Python 2.7.17 is a bug fix release in the Python 2.7.x series. It is expected to be the penultimate release for Python 2.7. Full changelog here.
PYTHON.ORG
Python Code Complexity Waterfall
What can be done to prevent your Python code from getting too complex? A good linter setup does much more than finding missing commas and bad quotes. A good linter allows you to rely on it with architecture decisions and help you with the refactoring process.
NIKITA SOBOLEV
Reimplementing a Solaris Command in Python Gained 17x Performance Improvement From C
“As a result of fixing a memory allocation issue in the /usr/bin/listusers
command, that had caused issues when it was converted to 64 bit, I decided to investigate if this ancient C code could be improved by conversion to Python.”
DARREN MOFFAT
The Simple Essence of the Y Combinator (Explained in Python)
“The Y combinator is a central concept in lambda calculus, which is the formal foundation of functional languages. Y allows one to define recursive functions without using self-referential definitions.”
LIONEL PARREAUX
Python at Scale: Strict Modules
The Instagram engineering team is experimenting with a technique for writing Python modules that are side-effect-free on import to reduce server startup time and unexpected global state changes.
CARL MEYER
Python Attribute Access and the Descriptor Protocol
A deep dive into Python attribute access and the descriptor protocol. What exactly happens when we say foo.bar
?
AMIR RACHUM
Discussions
Python Jobs
Full Stack Developer (Toronto, ON, Canada)
Backend Developer (Kfar Saba, Israel)
Articles & Tutorials
time.sleep()
: How to Add Time Delays to Your Code
Learn how to add time delays to your Python programs. You’ll use decorators and the built-in time module to add Python sleep()
calls to your code. Then, you’ll discover how time delays work with threads, asynchronous functions, and graphical user interfaces.
REAL PYTHON
7 Common Mistakes That Django Developers Make
“Django is powerful web framework, but with power comes responsibility. In this article, we will cover common mistakes that are even seasoned Django developers make, yet most successful Django projects need to deal with these sooner or later.”
TOMASZ BĄK • Shared by Tomasz Bąk
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 →
VETTERY sponsor
Beyond cProfile: Sampling Profilers and Logging for Performance Optimization
“Your Python program is too slow. Maybe your web application can’t keep up, or certain queries are taking a long time. Maybe you have a batch program that takes hours or even days to run. How do you speed it up?”
ITAMAR TURNER-TRAURING
Flying High With Vaex: Analysis of Over 30 Years of Flight Data in Python
“Using the Python DataFrame library Vaex, I present the analysis of nearly 200 million flights made by U.S. carriers. Vaex uses fast out-of-core algorithms, making memory issues a thing of the past.”
JOVAN VELJANOSKI
Converting HTML to a Jupyter Notebook
“Learn how to scrape code from a webpage and save it as a Jupyter notebook. In this post, we’ll use Beautifulsoup4, urllib
, and json
, to save HTML to .ipynb
.”
ERIK MARSJA
Python Plotting With Matplotlib
Want to make beautiful plots? Learn about plotting in Python with matplotlib
by looking at the theory and following along with practical examples.
REAL PYTHON video
Keras vs tf.keras
: What’s the Difference in TensorFlow 2.0?
In this tutorial you’ll discover the difference between Keras and tf.keras. You’ll also learn what’s new in TensorFlow 2.0.
ADRIAN ROSEBROCK
Designing CI/CD Systems: Painless Status Reporting in GitHub Pull Requests
How to report status from Docker containers in an automated CI/CD system into GitHub pull requests using Python.
CRISTIAN MEDINA • Shared by Cristian Medina
Pylint: Making Your Python Code Consistent
How to configure the Pylint code linter to avoid arguing about code complexity.
MOSHE ZADKA
Python 2 EOL: Are You Prepared? Take ActiveState’s Survey for a Chance to Win a Drone
Python 2 End of Life is coming soon. Take ActiveState’s 5-minute survey to let them know how you’re preparing for the change. You’ll get the final results, plus the chance to win a camera drone.
ACTIVESTATE sponsor
Projects & Code
ssis_validator: Validate SQL Server Integration Services (SSIS) Packages
GITHUB.COM/MAHDI-HOSSEINI • Shared by Mike
Events
Python Brasil 2019
October 23 to October 29, 2019
PYTHONBRASIL.ORG.BR
PythOnRio Meetup
October 26, 2019
PYTHON.ORG.BR
PyCon Sweden 2019
October 31 to November 2, 2019
PYCON.SE
Happy Pythoning!
This was PyCoder’s Weekly Issue #391.
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