Issue #13

Explicit is better than implicit.

May 11, 2012

Explicit is better than implicit.
Why python, new django podcast and much more. 

Issue #13 : Explicit is better than implicit.

 

Friday, May 11th, 2012


Hi Pythonistas,

The stickers have arrived. If you want a sticker send us a self addressed stamped envelope to:

44 Byward Market Square, Suite 210
Ottawa, Ontario Canada 
K1P 7A2

Also as little bonus to our readers; First 20 people to tweet at @pycoders we will ship them some stickers on us (don't worry we will sort out the details)!

Now on to this week's issue, we hope you guys enjoy it.  

 
RSS and archives can be found here, and here respectively.

Be a hero (or heroine) and do the right thing. Follow @pycoders.

--
Mahdi and Mike
 
News and Latest Developments.

A Django Podcast (3rdaverad.io)
This is the first episode of a new weekly Django podcast that aims to keep you up to date with what is going on in the django world.

PSF Docs Hosted on Github (github.com)
This is news! The Python Software Foundation is hosting their docs(currently only the FAQ) on github. Want to contribute, time to make a pull request!

STM Update - Back to threads (blogspot.ca)
The latest update over at pypy on the attempt to implement Software Transactional Memory on PyPy.

OUR SPONSOR POSTMATES IS HIRING!

Postmates is a small team with a huge vision that is changing local commerce.
They are currently hiring Python and iOS Engineers in San Francisco, California.


Discussions.

How can pip and pypi be improved? (reddit.com)
This is a great discussion that was sparked by our very own Mahdi on reddit. There are a ton of comments and suggestions here. Have some input, see the thread and leave a comment!



Projects.

splinter (github.com)
Splinter is a python test framework for web applications. Splinter gives you the ability to automate browser actions like selecting and interacting with dom elements on a web page.

dirq (readthedocs.org)
The goal of this module is to offer a simple queue system using the underlying filesystem for storage, security and to prevent race conditions via atomic operations.

focus.py (github.com)
Find yourself hanging out on reddit, Facebook, Twitter or some other site? Use focus.py to block yourself from visiting these sites at particular times during the day, using simple firewall type rules to filter domains.

roomahost (github.com)
Awesome. Roomahost is an Open Source HTTP Relay written in Python with Gevent. Roomahost allows you to access a web server on your localhost on the internet. What makes this especially great is that you don’t have to configure port forwarding and are not required to have a public IP.

Intellect (github.com)
The rules engine provided in intellect, a form of artificial intelligence. The memory retains knowledge relevant to the AI, and a set of rules authored in the DSL(domain specific language) that describe a necessary behavior to achieve some goal. Umm awesome.

Colorific (99designs.com)
The guys/gals over at 99designs have released Colorific,  an automatic color palette detector. What does it do? Its a command line tool that you stream an image to and it returns you the images filename and the HTML codes for the color palette. Very cool.

Articles.

Automating boring testing activities with tox (thegreenplace.net)
Eli, discusses how to test multiple python versions with separate virtualenvs using tox, this was particularly useful to Eli since he needed make sure several requirements were met before release.

Getting a Flask website up and running in Ubuntu (kramerapps.com)
Interesting in the Flask web framework? Here is a great tutorial to get a Flask website going from the ground up on Ubuntu. This tutorial takes you through the steps from installing server software, setting up virtualenvs, configuring said software and running your Flask app.

Distributing Work Without Celery (justcramer.com)
David gives us a little insight to an issue they solved at DISQUS with their new open source tool called Taskmaster. He goes on to explain the need for such a tool and why Celery isn’t a perfect fit this time.

Don't Deploy Broken Code (robgolding.com)
If you have been following Rob’s blog he has been discussing issues dealing with django in production. That being said, he provides a little trick with fabric and jenkins making sure you never deploy broken code again.

Improving your code with modern idioms (python3portting.com)
So the eventual jump to python3 coming closer and closer, there are few things you can do to improve your code and your life. Most of these idioms have been back ported to python2.6 and later. So if you can drop python2.5 support you are in luck.

Python and QRCodes (matael.org)
Seems like QR Codes are everywhere these days. This article gives you a nice intro to QR codes then has a pretty simple to follow tutorial of how to produce your own QR Codes using the python qrcode library.

Python FAQ: Webdev (veekun.com)
This is an ongoing series of blogposts that is part of a larger Python FAQ. This one focuses on web development and offers pointers on a whole host of things from choosing a web framework, the HTTP request cycle, form processing, XSS, deployment, etc. If you are looking to dip your toes into the web development or just have some questions about any of these things this is definitely worth checking out.

Learning to program: Why Python? (blogspot.ca)
Chris Chew a software engineer at Udacity, answers a blog readers question and discusses why they choose to use Python as the main teaching language. Chris then goes on to discuss some of the differences and similarities between Python and C#.

UPCOMING EVENTS

Pycoder's Weekly Issue # 14
May 18th, 2012

ABOUT THE CURATORS

This mailing list has been hand picked by Mahdi Yusuf and Mike Grouchy

ABOUT OUR SPONSORS

Postmates is a small team with a huge vision that is changing local commerce.
They are currently hiring. Check out their open positions here!

Follow on Twitter | Friend on Facebook | Forward to Friend 
Copyright © 2012 PyCoder’s Weekly, All rights reserved.





|