Delivered once every Week. No Spam Ever.

Issue - 15

Worthy Read

Ryan built three identical apps in Django, Flask and Pyramid to illustrate the strengths and weaknesses of each one of them.

Subtle little performance boosts in Python. Tricks for your code to run faster.

I’m training for a marathon and I use MapMyFitness (MMF) on my iPhone to track my mileage and pace for each workout. MMF has a public API and Jason Sanford has written a Python front end for it. Which means that I can easily get hold of all my data in Python and explore it with Pandas!

"Things which aren't magic", where I show how some of the nicer APIs provided by popular open source packages are constructed from the primitives of their respective languages. In this post we're going to take a look at Flask, and more specifically how Flask makes it possible to write "@app.route()" at the top of the function and expose its result to the internet.

Claire is an iOS and Django developer. She works as a freelancer from Saint Etienne, in France. She started to work as a Java developer at Trango, a mobile virtualization company. She later joined Epyx in Switzerland, where she discovered iOS and Django. You can follow her @ClaireReynaud.

Part II of Things which aren't magic - Flask and @app.route. In this post we're going to turn up the difficulty level a tiny bit and add the ability to have variable parameters in our URLs, by the end of this blog post we'll be able to support the expected behavior for the following piece of code.

I've used MySQL for a while now, and there were lots of surprising things I needed to cater for. This is from a Django and MySQL 5.5 perspective [*]. Later on you'll see the horrible things I did to work around. It was a terrible experience, as I've also used PostgreSQL. Handy tip for making MySQL behave more like a real database (specifically, with Django).

Python is an extremely versatile language. It allows us to work in any of our favorite programming paradigms, including procedural programming. Procedural programming is subtly different from functional programming in that procedures are not strictly prohibited from changing a shared state implicitly. That is, callables may alter elements other than their arguments.
core python

In this tutorial, you will learn how to send tweets using Python. It includes Step By Step instructions to register your app with twitter.

The final pre-production draft of the book "Programming Computer Vision with Python" by Jan Erik Solem. (as of March 18, 2012) is available under a Creative Commons license. Note that this version does not have the final copy edits and last minute fixes. PCV is a pure Python library for computer vision based on the book "Programming Computer Vision with Python" by Jan Erik Solem.
image processing

By default Python uses a dict to store an object’s instance attributes. However, for small classes that have a few fixed attributes known at “compile time”, the dict is a waste of RAM, and this makes a real difference when you’re creating a million of them. You can tell Python not to use a dict, and only allocate space for a fixed set of attributes, by settings __slots__ on the class to a fixed list of attribute names:

Features that we will implement Basic Physics Simulation, GUI, Pseudo-wind, Pseudo-liquid, Anti-aliased drawing of circles (using GFXDraw), Customization of circles and colors.Goals achieved are learn the basics of Pymunk, Pygame, how a physics engine such as PyMunk would works with a library such as PyGame.

Title says it all :)

Django’s Messages framework is an elegant workhorse, and I’ve never built a Django site that didn’t use it for displaying success/failure/info messages to users after certain actions are taken (like logging in successfully or adding an item to a cart).


relational - 40 Stars, 0 Fork
SQL-Alchemy for Humans (and data nerds).

quicksafe - 14 Stars, 0 Fork
quicksafe is a tiny Python script that provides a GUI text editor to edit notes that are then encrypted and stored within the script file itself.

pollywog - 11 Stars, 1 Fork
Syntactic sugar for working with regular expressions in Python.

twizhoosh - 6 Stars, 3 Fork
Twizhoosh is a smart Persian twitter-bot, written in Python and aimed to be easily readable and contributable.

walrus - 5 Stars, 0 Fork
Lightweight Python utilities for working with Redis

django-descriptors - 4 Stars, 1 Fork
Demonstration of using Python Descriptors to Enhance Django Models and Fields

zeroless - 4 Stars, 2 Fork
Yet another ZeroMQ wrapper for Python. However, differing from pyzmq, which tries to stay very close to the C++ implementation, this project aims to make distributed systems employing 0MQ as pythonic as possible.

python-libshorttext - 4 Stars, 0 Fork
LibShortText is a high-performance classifier for short-text such as titles, questions, sentences, and short messages. This script provides a easy way to install LibShortText.

python-taipei-metro - 3 Stars, 0 Fork
Taipei MRT interchange route python library. Must see for our ImportPython Users from Taiwan.

Machine-Learning-Tasks - 2 Stars, 0 Fork
Simple implementation of KNN Algorithm, COS Similarity, Logistic Regression in Python.

spotify-backup - 1 Stars, 0 Fork
A Python script that exports all of your Spotify playlists.

GetUserAgent - 1 Stars, 0 Fork
This project give you random user agent from known user agents.

PyDictionary - 1 Stars, 0 Fork
PyDictionary is a Dictionary Module for Python 2/3 to get meanings, translations, synonyms and Antonyms of words. It uses Google for getting meanings and translations, and for getting synonyms and antonyms.