| | News and Latest Developments. Circus 0.2 Released Version 0.1 of Circus the supervisord-like process watcher has been released. This project is pretty interesting and created by @tarek_zaide and benoitc rauth Hate writing the same OAuth code over and over again, here is a package provided by litl, which is fully tested; I think we can consider this problem solved. | 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. Whats the best way to reorder strings? This is a great discussion on /r/python about the best way to reorder strings and more specifically get all the distinct permutations of a string in Python. Lots of gems in this one and a fair amount of discussion around itertools. Worth the read. Python's Hardest Problem For more than a decade, no single issue has caused more frustration or curiosity for Python novices and experts alike than the Global Interpreter Lock. Excellent article. Good discussion in comments. Projects. Django Sampler From the repo: “Django Sampler allows you to sample a percentage of your queries (SQL, Mongo, etc) and view the ones that are taking up the most time. The queries are grouped together by where they originated from in your code.” Currently there is support Django SQL, Django Requests, Celery and MongoDB. Melopy A Python library for playing with sound, this is probably a dream come true for you audiophiles out there. It’s simple type the notes you want it to play, render and you got your music. DCPU16py This is an implementation of the proposed generator on the ships in Notch’s new game called 0x10c, this generator will simulate the limited resources available to each ship. James Tauber has previously wrote another emulator so knocking this one out was a breeze. Articles. Deferreds Are A Dataflow Abstraction Interesting article about the way callbacks are handled in Javascript and what alternatives are available in Python(via Twisted) w/ deferreds and if done correctly should read extremely cleanly, and test easily. Notes on tracing code execution in Python and Django This article provides some notes on using trace to trace the execution of Python and Django files and some tips on how to achieve some common tasks with trace. The author also provides a Django Plugin that provides a management command to allow you to trace execution of your Django project. The future of Python HTTP Kenneth Reitz talks about the future of Python Requests and how it intersects with the work done in Werkzeug. In the future Requests and Wekzeug will likely share the same core http libraries, discussion has now started about this on Freenode at #cores and the relevant git repositories will be here. Counting, without counting, in Python This is an interesting exploration of the common python idiom of executing the body of a loop n-times using range() or xrange() even if the body of the loop doesn’t need the integers produced by the range calls. The author examines some other options for achieving the same goal in python and discusses each. Check it out. Python objects, types, classes and Instances - a glossary Following up his last post on the internals of Python callables, the author provides a glossary of terms with explanations of things that commonly come up in the discussion of Python internals that may have more than one name, or may not be easily derived from the context of the discussion. If you are reading any of his articles on Python internals, or are just interested, you probably want to check this out. | | 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! | | | | | | |