#351 – JANUARY 15, 2019
View in Browser »
Speed Up Your Python Program With Concurrency
How and when to use concurrency in Python. You’ll see a simple, non-concurrent approach and then look into why and when you’d want to use threading, asyncio, or multiprocessing.
REAL PYTHON
What I’ve Learned About Optimizing Python
A nice overview of common Python performance pitfalls and how to avoid them. Mostly aimed at CPython 2.7 but much of it applies to Python 3 as well. (While you read the article, keep in mind that “premature optimization is the root of all evil.”)
GREGORY SZORC
Develop Your Python GUI Applications With Qt
Learn how to create fluid user interfaces and data visualizations with Qt for Python in this free hands-on webinar. Also included are free examples of ready-made 2D/3D data visualizations, controls, charts, and more to get you started. Code along!
QT COMPANY sponsor
Parsing Semi-Formatted Text in Python via TextFSM
TextFSM is a module for parsing text using a simple template language. Orkhan’s article offers a nice introduction and I found it more useful than TextFSM’s official website.
ORKHAN HASANLI
Dockerizing Python Applications
See how to write a simple Python web application using Flask and get it ready for “dockerizing”, followed by creating a Docker Image, and deploying it both to a test and production environment. Good step-by-step tutorial.
STACKABUSE.COM
Improve Your Code With Atomic Functions
You may have encountered the terms atomic function and the Don’t Repeat Yourself (DRY) principle. Sean’s article demonstrates how these concepts work together to make your Python code easier to test and more readable.
SEAN TULLIS
Enforcing Consistent Formatting for JSON Files With Python
Nice little “hack” for ensuring that JSON files checked into code repositories follow a common formatting style. Helps keep your git diffs nice and clean.
MOSHE ZADKA
A* Pathfinding Algorithm Explained With Python
The animations visualizing every step of the algorithm are amazing in this article. This was originally published in 2014 but continuously updated since then.
REDBLOBGAMES.COM
Discussions
Ruby Creator on Running an Open-Source Project
“You feel better. No cost. But it doesn’t help the community. It’s how Python lost Guido (I think)” and “Please be constructive. Don’t ruin our lives.”
TWITTER.COM/YUKIHIRO_MATZ
My Parents Kept Asking for Photos of My Daughter, So I Automated It
And that my friend, is the true power of Python ;-)
REDDIT
Python Jobs
Sr Enterprise Python Developer (Toronto, Canada)
Senior Software Engineer (Santa Monica, CA)
Python Software Engineer(s) (Palo Alto, CA)
Rhythm Diagnostic Systems, Inc
Senior Python Developer (Vienna, Austria)
Articles & Tutorials
What Should Be in the Python Standard Library?
“Python has always touted itself as a ‘batteries included’ language; its standard library contains lots of useful modules, often more than enough to solve many types of problems quickly. From time to time, though, some have started to rethink that philosophy […]”
JAKE EDGE
Django Migrations: A Primer
Get comfortable with Django migrations and learn how to create database tables without writing any SQL, how to automatically modify your database after you changed your models, and how to revert changes made to your database.
REAL PYTHON
Python Basics: A Practical Introduction to Python 3
Make the leap from Beginner to Intermediate in Python with this complete curriculum freshly updated for Python 3.7. Includes exercises, interactive quizzes, and sample projects so you’ll always know what to focus on next. The first half of this book is a quick yet thorough overview of all the Python fundamentals. The second half focuses on solving interesting, real-world problems in a practical manner using Python. Last call for the Early Access discount (47% off) →
REAL PYTHON book sponsor
Machine Learning in Python
Are you struggling to get your start in machine learning using Python? In this step-by-step tutorial you’ll learn how to perform basic machine learning using Python, from scratch.
ADRIAN ROSEBROCK
Automated Machine Learning in Python
Can machine learning processes be automated? This article provides an overview of Python-based AutoML approaches and libraries.
DERRICK MWITTI
Filesystem Magic with Python
How to achieve various filesystem related tasks, such as finding duplicates or deleting files, using the PyFilesystem library. The cool thing is that all examples work with local files, archives, and network filesystems like S3 or Google Cloud Storage.
WILL MCGUGAN
Probabilistic Programming in Python
Learn how to use PyMC3 to define and solve probabilistic models.
OSVALDO MARTIN
Kenneth Reitz’s Code Style™
A short post with Kenneth’s thoughts on PEP 8.
KENNETHREITZ.ORG • Shared by Ricky White
Projects & Code
json.tool: CLI to Validate and Pretty-Print JSON Objects
I had no idea this was part of the Python standard library. Live and learn!
PYTHON.ORG
Treepace: Tree Transformation Language
Treepace
(“tree pattern replace”) is a Python library offering a concise, embeddable language for searching and replacing parts of tree structures.
MATÚŠ SULÍR
grumpy: Python 2.7 → Go Source Code Transcompiler and Runtime
Compiles Python source code to Go source code which is then compiled to native code, rather than to bytecode.
GITHUB.COM/GRUMPYHOME
Developing Privacy-Aware Applications With Python and I2P
Invisible Internet Project (I2P) provides a framework for developing privacy-aware applications. It is a virtual network working on top of the regular Internet, in which hosts can exchange data without disclosing their “real” IP addresses.
GETI2P.NET
TextFSM: Python Module for Parsing Semi-Structured Text
The engine takes two inputs—a template file, and text input (such as command responses from the CLI of a device) and returns a list of records that contains the data parsed from the text. This is pretty cool, check out this tutorial to see some examples.
GITHUB.COM/GOOGLE
PyFilesystem: Filesystem Abstraction for Python
Work with files and directories in archives, memory, the cloud, and so on as easily as your local drive.
PYFILESYSTEM.ORG
Events
DjangoCon Europe 2019 (Last Call for Speakers)
The call for proposals only remains open till January 20, so be sure to get your talks submitted in time. DjangoCon Europe takes place in Copenhagen, Denmark from April 10–14th.
DJANGOPROJECT.COM
PyData Bristol Meetup
January 17, 2019
MEETUP.COM
Python Northwest
January 17, 2019
PYNW.ORG.UK
PyLadies Dublin
January 17, 2019
PYLADIES.COM
Karlsruhe Python User Group (KaPy)
January 18, 2019
BL0RG.NET
BangPypers
January 19, 2019
MEETUP.COM
PyDelhi User Group Meetup
January 19, 2019
MEETUP.COM
Happy Pythoning!
This was PyCoder’s Weekly Issue #351.
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