Today, I bring you three interesting resources from the Python World. The first one is a different approach to SQL in Python, using decorators. DB-agnostic (based on python db api 2.0), pySimpleDb makes it almost fun to use SQL in Python, object-oriented. Personally the best approach I have seen was Pungi’s1.
The second one is more for Unix geeks with a bit of Python flavor. Would you like to be able to pipe code inside python? Like xrange(-10, 10) | grep(lambda x: x % 3 == 2) | (x * (x + 1) for x in STDIN) | list
? Well python-pipeline is your solution!
Finally, I have spent a lot of quality time with Django (that is approaching 1.0) and here is a list of semantic apps and snippets to improve your projects.
1 which obviously was written by me. As an example of the syntax:
db = AutoDB('localhost',"user","pass","database")
for row in db.table:
row['field'] = row['field'].upper()