#359 – MARCH 12, 2019
View in Browser »
Writing Beautiful Pythonic Code With PEP 8
Learn how to write high-quality, readable code by using the Python style guidelines laid out in PEP 8. Following these guidelines helps you make a great impression when sharing your work with potential employers and team mates. Learn how to make your code PEP 8 compliant with these bite-sized lessons.
REAL PYTHON video
Enforcing The Single Responsibility Principle (SRP) in Python
The Single Responsibility Principle (or SRP) is an important concept in software development. The main idea of this concept is: all pieces of software must have only a single responsibility. Nikita’s article guides you through the complex process of writing simple code with some hands-on refactoring examples. You’ll use callable classes, SRP, dependency injection, and composition to write simple Python code. Nice read!
NIKITA SOBOLEV
Find a Python Job Through Vettery
Vettery specializes in developer roles and is completely free for job seekers. Interested? Submit your profile, and if accepted, you can receive interview requests directly from top companies seeking Python devs. Get started →
VETTERY sponsor
How to Set Up Your Python Project for Success With Tests, CI, and Code Coverage
How to add tests, CI, code coverage, and more. Very detailed writeup.
JEFF HALE
Detecting Real vs Fake Faces With Python and OpenCV
Learn how to detect liveness with OpenCV, Deep Learning, and Keras. You’ll learn how to detect fake faces and perform anti-face spoofing in face recognition systems with OpenCV.
ADRIAN ROSEBROCK
Managing Multiple Python Versions With pyenv
In this step-by-step tutorial, you’ll learn how to install multiple Python versions and switch between them with ease, including project-specific virtual environments, even if you don’t have sudo access with pyenv.
REAL PYTHON
Python Packages Growth Since 2005
“The Python ecosystem has been steadily growing [since 2005]. After the first few years of hyper growth as PyPI gained near-full adoption in the Python community, the number of packages actively developed each year—meaning they had at least one release or new distribution uploaded—has increased 28% to 48% every year.”
PYDIST.COM
Discussions
Loop With “Else” Clause
“What is the Pythonic way to handle the situation where if a condition exists the loop should be executed, but if it does not something else should be done?”
PYTHON.ORG
The Source for the Zen of Python Completely Violates the Zen of Python
“I was clicking around in PyCharm and noticed that the this module in CPython violates basically all of these principles.”
REDDIT
Python Jobs
Sr Enterprise Python Developer (Toronto, Canada)
Senior Systems Engineer (Hamilton, Canada)
Python Web Developer (Remote)
Software Developer (Herndon, VA)
Python Software Engineer (Berlin, Germany)
Computer Science Teacher (Pasadena, CA)
Senior Python Engineer (New York, NY)
Software Engineer (Herndon, VA)
Web UI Developer (Herndon, VA)
Articles & Tutorials
Don’t Make It Callable
You can make any Python object callable by adding a __call__ method to it. Like operator overloading this seems like a nifty idea at first…but is it really? Moshe’s article goes over some use cases and examples to discuss whether making objects callable is a good idea or not.
MOSHE ZADKA
Python Pandas: Merging Dataframes Using Inner, Outer, Left and Right Joins
How to merge different Dataframes into a single dataframe using Pandas’ DataFrame.merge() function. Merging is a big topic, so this part focuses on merging dataframes using common columns as Join Key and joining using Inner Join, Right Join, Left Join and Outer Join.
THISPOINTER.COM
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.
INDEED sponsor
An Introduction to Neural Networks With Python
A simple explanation of how neural networks work and how to implement one from scratch in Python. Nice illustrations!
VICTOR ZHOU
Import Almost Anything in Python
An intro to module loaders and finders so you can “hack” Python’s import system for fun and profit.
ALEKSEY BILOGUR • Shared by Aleksey Bilogur
Why You Want Formal Dependency Injection in Python Too
“In other languages, e.g., Java, explicit dependency injection is part of daily business. Python projects however very rarely make use of this technique. I’d like to make a case for why it might be useful to rethink this approach.”
GITHUB.COM/DOBIASD
Understanding and Improving Conda’s Performance
Update from the Conda team regarding Conda’s speed, what they’re working on, and what performance improvements are coming down the pike.
ANACONDA.COM
Sentence Similarity in Python Using Doc2Vec
Using Python to estimate the similarity of two text documents using the Doc2Vec module.
KANOKI.ORG
Projects & Code
ctyped: Build Ctypes Interfaces for Shared Libraries With Type Hinting
GITHUB.COM/IDLESIGN • Shared by Juan Rodriguez
iodide-project/pyodide: Run CPython on WASM in the browser
And not just that, it’s a full Python scientific stack, compiled to WebAssembly for running in the browser. More info here.
GITHUB.COM/IODIDE-PROJECT
PEP 8 Speaks: GitHub Integration for Python Code Style
A GitHub app to automatically review Python code style over Pull Requests.
PEP8SPEAKS.COM
Events
Python Atlanta
March 14, 2019
MEETUP.COM
Karlsruhe Python User Group (KaPy)
March 15, 2019
BL0RG.NET
Django Girls Rivers 2019 Workshop
March 15 to March 17, 2019
DJANGOGIRLS.ORG
PyCon Odessa
March 16 to March 17, 2019
PYCONODESSA.COM
PyCon SK 2019
March 22 to March 25, 2019
PYCON.SK
Happy Pythoning!
This was PyCoder’s Weekly Issue #359.
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