The Best of Python in 2013

It’s hard to believe that 2013 has already come and about to go. However, the year was not without some fantastic articles, tutorials, tips, and freebies spread throughout the Internet. Today, we will take some time to reflect on the most outstanding development related articles of 2013. So hurry up and review these before the Langoliers get them!

Here are a few quick lists of big news, posts, and resources.

Hope you enjoy!
So without further ado…

News and Releases

Let’s get caught up with relevant news and releases from around the Python web development community.

1. Heroku now supports different Python runtimes.
This is neat, just add a `runtime.txt` file with your chosen Python runtime and you are off to the races. Default is now 64bit CPython 2.7.4.
2. Two Scoops of Django
Brought you by Django sweethearts Daniel Greenfeld and Audrey Roy. This book contains insights for new to intermediate Django developer as well as best practices for Django 1.5.
3. Codeq: Static Analysis for Python Projects
Pretty cool project for running static analysis on your Python projects. Sign in with github and see. Seems to be running PEP8 checks as of now.
4. PyCon US 2013 Talk Videos
Miss PyCon US 2013? Well don’t fret, all the talks were recorded and will be put online for all to see. Thanks to the hard work of the video/audio team and the runners at PyCon US.
5. PythonMonk
This is a set of free interactive tutorials to help you learn Python. Very well done!
6. Asyncio (Tulip) Merge Into Python 3.4

Interesting Reads

1. Will Scientists ever move to Python 3?
In this article the author puts the “impossible” task of moving the entire scientific community to Python 3 into focus.
2.A guide to Python frameworks for Hadoop
Everyone is talking about big data these days and Hadoop is a tool often used for the processing of these large datasets. This article gives you a rundown with the details of all the popular python frameworks available to use hadoop.
3. An introduction to pytest
There are plenty of Python Testing frameworks out there and pytest is another one that seems to be picking up some steam. This is a pretty exhaustive introduction to pytest, so definitely a worthwhile read if this is something you are looking to learn about.
4. Realtime Django Using Node.js and Redis
This article goes through one way to build real time apps using Django, redis, and node.js.
5. Python shortcuts for the Python beginner
Definitely a cool list for beginners coming from other languages. Quite a few idioms in there too.
6. Of being lazy
Interesting article about lazy loading in python and other way you can get the desired effect without the overhead of complexity.
7. Better Typography for iPython Notebooks
Awesome article on improving readability and typography in iPython Notebooks with a little bit of CSS.
8. Virtualenv’s bin/activate is Doing It Wrong
The thesis of this post is that while virtualenv is a fantastic tool virtualenv’s bin/activate is inherently un-Unixy which can lead to plenty of problems. The author then proceeds to give suggestions on how to “do it right”.
9. Threading in Python
This is an introductory  article on using Python’s threading and Queue modules for multithreaded systems, the article does forget to mention GIL, which everyone should be concerned with when working with threads in Python.
10. Python Is Not Just a Language — It’s a Development Platform
Awesome article that every Python developer should read. Good retrospective of Python by Doug Hellmann.
11. Deploying Django with Salt Stack
Provisioning tool Salt Stack is pretty great. Check out this article to learn some of the basics of using Salt Stack and how to deploy a Django app with the tool.
12. Getting started with Python for Data Scientists
Data Community DC gives a great intro to Python for aspiring(or current) data scientists. They give a breakdown of all the tools and resources you might need to get started as well as the tools you might need to proceed with doing some data analysis.
13. Core Concepts of Django Forms
Still a little hazy on Django forms or looking to refresh your knowledge on their core concepts? The author of this blogpost has got you covered. Check it out.
14. Approach: Building a toy template engine in Python
If you ever wondered how template engines worked under the hook, check out this blog post where the author gives a guided tour through the creation of a toy template engine.
15. Python’s magical self
Python’s `self` , some hate it, some misunderstand it and some just done care. In this post the author explains Python’s `self` argument and how it works with illustrative examples.
16. Python Descriptors Demystified
All you ever wanted to know about descriptors in Python.
17. Facts and Myths about Python names and values
How do Python names and values work? Let Ned clarify your understanding with examples. Fantastic post.
18. setup.py vs. requirements.txt
There’s a lot of misunderstanding between setup.py and requirements.txt and their roles. A lot of people have felt they are duplicated information and have even created tools to handle this “duplication”.
19. Functional linked lists in Python
A good tutorial about creating a linked listed data type in Python using a functional programming style.
20. A Guide to Analyzing Python Performance
Nice primer guide to analyzing performance in Python.
21. Of Solving the Rubik’s From Scratch
Really detailed explanation with lots of code of how to solve a Rubik’s Cube with Python. Cool post.
22. Introduction to Pandas and Vincent
Get an introduction to Pandas and its Dataframe and Series objects. Then create a visualization of the data produced from using these objects using Vincent.


Ever wonder how complex your current code base it? Want to run cyclomatic complexity? Check. Raw data metrics on your code base? Check! Run it on your code you will see. Fight the stack!
2. django-conch
Very neat project. Django-conch exposes the django shell as an ssh server. This could be very useful for debugging Django sites on remote servers.
3. pudb
pudb is a full screen console based debugger for Python.
4. python-social-auth
Python Social Auth aims to be your swiss army knife for authorizing with all the different social services out there. With support for multiple frameworks currently (Django, Flask, Webpy) and support for lots of services python-social-auth definitely warrants a look if you are looking for this type of functionality in your application.
5. motor
Motor is a non-blocking MongoDB driver for Python Tornado applications.
6. elephant
Elephant is an S3-backed key-value store with querying powered by Elasticsearch.
7. sublime-bower
This is pretty cool. Those of you who use Twitter’s Bower can now install  via Package Control in Sublime Text 2, and they will appear right in your project.
8. Pony ORM
Pony ORM is interesting. Pony translates Python Generators into SQL. It has a graphical editor for models and plenty of other features. Free for Non-commercial use with paid commercial licenses.
9. Falcon Framework
Falcon dubs itself as the high-performance cloud API framework. Falcon claims to easily serve up to 30 times as many requests on the same hardware as competing web frameworks. Sound interesting to you? Check it out.
10. cherrymusic
A music streaming server written in python. Stream your own music collection to all your devices!
11. smiley
Smiley includes several subcommands for running Python programs and monitoring all of the internal details for recording and reporting.
12. wssh
This is a ssh to websockets bridge which allows you to invoke a remove shell over HTTP. Pretty great. This includes is a web interface and a server.
13. babel
Babel is a Python library that provides an integrated collection of utilities that assist with internationalizing and localizing Python applications.
14. regexpbuilder
Make regexes easier to read and maintain by composing them with chained methods and variables.
15. flask-restful
This is a simple framework for creating great REST API’s with Flask.
16. pulsar
Looking for a web framework in Python that put asynchronous operation first?  that is Event driven concurrent framework for Python.
17. quokka
A Flask-based CMS built ontop of MongoDB.
18. dejavu
Ever wonder how Shazam works? Audio fingerprinting and recognition algorithm implemented in Python!

Thanks Pycoders Weekly.