Tuesday, March 12, 2019

PyCoder’s Weekly: Issue #359 (March 12, 2019)

#359 – MARCH 12, 2019
View in Browser »

The PyCoder’s Weekly Logo


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

alt

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)

Kognitiv

Senior Systems Engineer (Hamilton, Canada)

Preteckt

Python Web Developer (Remote)

Premiere Digital Services

Software Developer (Herndon, VA)

L2T, LLC

Python Software Engineer (Berlin, Germany)

Wooga

Computer Science Teacher (Pasadena, CA)

ArtCenter College of Design

Senior Python Engineer (New York, NY)

15Five

Software Engineer (Herndon, VA)

Charon Technologies

Web UI Developer (Herndon, VA)

Charon Technologies

More Python Jobs >>>

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

alt

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

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

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 »

alt

[ 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

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...