Issue #209


March 25, 2016

Benefits of PyCon, Concentration, principle of least astonishment and much more.

Issue #209: left-pad

Weekly dose of all things Python.
Hi Everyone!

Share an article with us and if it lands in newsletter get highlighted as a contributor in the newsletter!

Like what we are doing? Have any comments or suggestions? Check us out on twitter

Mahdi & Mike
From our sponsors:


PyDev 4.5.5: code-completion, pytest, python 3 parsing, debugger
A new release of PyDev is out the door with lots of new stuff, including code completion improvements, fixes for pytest integration, improved Python 3 parsing and more.
Shared by @mgrouchy

pep8 package and pep257 package renamed to 'pycodestyle` and `pydocstyle`.
Time to update your dependencies. pep8 package and pep257 package renamed to 'pycodestyle` and `pydocstyle`, click through for more details.
Shared by @mgrouchy


Python and the Principle of Least Astonishment
Shared by @mgrouchy

What if the NPM left-pad fiasco had happened on PyPi?
Shared by @mgrouchy

What is the benefit of attending PyCon?
Shared by @myusuf3
Backend Software Developer (East Timor/Anywhere) 
Posted By  Catalpa International.  PROMOTED

Systems Developer - Python (Toronto, ON, Canada) 
Posted By  beanfield Metroconnect. 

Front End Developer (Toronto, ON, Canada) 
Posted By  beanfield Metroconnect. 

Senior Full Stack Engineer (San Francisco, CA) 
Posted By  AdRoll.

Application Reliability Engineer (Remote) 
Posted By  Zapier.

See More Python Jobs >> 


Stay focused on work when you want, and goof off when you don't.
Shared by @myusuf3

Simulate reverse causality using quantum suicide.
Shared by @myusuf3

try is an easy-to-use cli tool to try out python packages.
Shared by @tuxtimo

Dplyr for Python. Those of you from the R community will find this familiar trying to bring the ease of Dplyr to Python.
Shared by @myusuf3

Python disk and file-based cache.
Shared by @grant_jenks

venv-update: Synchronize your virtualenv quickly and exactly.
Shared by @kenstruys


Micropackages and Open Source Trust Scaling
Not Python specifically but with the recent npm 'left-pad' debacle, this is worth a read.
Shared by @mgrouchy

Python and the Principle of Least Astonishment
A look at the principle of least astonishment and how it relates to Python, and programmers coming to Python.
Shared by @mgrouchy

Mocking in Python - How to Bypass Expensive and External Code Within Your Tests
An oft talked about subject is Mocking. Still not up to speed? Check out this post to get started.
Shared by @mgrouchy

Green dice are loaded (welcome to p-hacking)
A look at using p-values to demonstrate that a hypothesis is true (even when its not?). Great read.
Shared by @mgrouchy

How To Use Elasticsearch With Python and Django ( Part 1 ) - Qbox
Get started integrating elasticsearch into your Django app with this tutorial.
Shared by @mgrouchy

Python reflection: how to list modules and inspect functions
A look at reflection in Python and how to perform some common tasks.
Shared by @mgrouchy

Property based testing, hypothesis and finding a bug
A detailed look at doing Property based testing with hypothesis.
Shared by @mgrouchy

Speeding up Python and NumPy: C++ing the Way
Using C extensions to improve the performance of mathematical code!
Shared by @myusuf3

Functional Programming: Concepts, Idioms and Philosophy
Introduction to you pythonistas interested in the functional way of thinking.
Shared by @myusuf3

Scrapy Tips from the Pros
Many ways we scrape a website, and with a few tips from the pros you will be cooking.
Shared by @stummjr
Read Later
Forward to Friend
Copyright © 2016 PyCoder’s Weekly, All rights reserved.