Issue #158

Madness

March 20, 2015

Madness
Django and Requests Security releases, PyTricks, Mapping your Music Collection and  much more.

Issue #158: Madness

Weekly dose of all things Python.
 
Hey Everyone, 

Its that time of year again, time to take a break from your brackets to check out what happened in Python world this week! Enjoy!

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

Like what we are doing? Support us on Gratipay  We are on twitter too! 

From our sponsors:

Click here to Signup for the PageCloud Presale

Why waste your time hand-coding HTML? Discover PageCloud, the world's most advanced website editor, from Pycoders' @mgrouchy. Save 10% on the limited pre-sale until Monday March 23rd with the coupon code PYCODERS.

(Sponsor this newsletter

News


Security releases issued for Django
Another week, another new security release for Django. Upgrade your Django version where appropriate to Django 1.4.20, 1.6.11, 1.7.7 or 1.8c1.
djangoproject.com
Shared by @mgrouchy
 

Requests Vulnerability Disclosed
Time to upgrade to Requests 2.6.0, there was a vulnerability in the handling of cookies on redirect. Click through for more details, but more importantly upgrade your projects using Requests.
python-requests.org
Shared by @mgrouchy
 

Discussion


what is the "unique" python feature that makes you love it?
reddit.com
Shared by @myusuf3
 

Jobs

Projects


cerberus
A validation too for Python dictionaries.
github.com
Shared by @mgrouchy
 

PyTricks
A pretty nice collection of less popular features and tricks for Python.
github.com
Shared by @mgrouchy
 

AstroBuild
Deploy your code based on the planets alignments.
github.com
Shared by @mgrouchy
 

governor
Very useful if you are looking to get your Postgres on. This is a Template for PostgreSQL HA with etcd.
github.com
Shared by @mgrouchy
 

django-db-mailer
Interesting project. Allows you to create your email template from an admin and store the template in the database. Also supports sending messages in the background and a bunch of other nice features. Check it out.
github.com
Shared by @mgrouchy
 

holoviews
From the README, holoviews is a "Composable, declarative data structures for building complex visualizations easily."
github.com
Shared by @mgrouchy
 

equals
Fuzzy equality objects for testing, a stricter version of Mock.Any.
github.com
Shared by @mgrouchy
 

django-GNU-Terry-Pratchett
Sir Terry Pratchett has passed away. As per this reddit thread, add the 'X-Clacks-Overhead' header to your Django application honour Terry Pratchett.
github.com
Shared by @aaronbassett
 

aiomysql
Library for using a MySQL database from asyncio.
github.com
Shared by @isinf
 

Articles


Finding temp file creators
In this post the author noticed that the test suite for his project was leaving behind temporary files and decides to monkeypatch a helper in mkdtmp to find out what callers were creating the temp files. Cool post.
nedbatchelder.com
Shared by @mgrouchy
 

PyMongo And Key Order In Subdocuments
A detailed look into the question "Why does my query work in the shell but not PyMongo?".
emptysqua.re
Shared by @mgrouchy
 

Ordering issues when monkey patching in Python.
An approach to solve ordering issues when monkey patches are applied by the use of post import hooks.
dscpl.com.au
Shared by @mgrouchy
 

Real-time notifications on Django using gevent-socketio and RabbitMQ
Very complete tutorial to get realtime event notifications working on a GeoDjango based site. Uses socket.io, gevent and rabbitmq to make the magic happen.
machinalis.com
Shared by @mgrouchy
 

My approach to Class Based Views
Luke Plant gives you his DIY approach to dealing with class based views in Django.
lukeplant.me.uk
Shared by @mgrouchy
 

Mapping Your Music Collection
a look at an interesting way to visualize your music collection with numpy and other tools.
christianpeccei.com
Shared by @mgrouchy
 

Threading and Multiprocessing Tutorial for Python
Very detailed guide for beginners who want to learn about concurrency and parallelism in Python
toptal.com
Shared by @mgrouchy
 

Mining Twitter Data with Python
This is the first part of a three part series for mining twitter with Python. Each part of the series takes you through steps in the process from collecting data, pre-processing the data you collected to doing some basic analysis of term frequencies in your data.
marcobonzanini.com
Shared by @myusuf3
 
Read Later
Tweet
Forward to Friend
Copyright © 2015 PyCoder’s Weekly, All rights reserved.