![](http://habrastorage.org/getpro/habr/avatars/eb6/9f2/94f/eb69f294fb40091612d3ab52ea2896d5.jpg)
Python-digest # 18. News, interesting projects, articles and interviews [March 9, 2014 - March 16, 2014]
![](https://habrastorage.org/getpro/habr/post_images/20a/7ed/034/20a7ed0347d07de7da7624d393cc95c8.jpg)
Thanks owlman75 for the illustration, as well as everyone who sends news on the digest tool . There are even spammers> <
It's no secret that I collect news from the PythonWeekly and PyCoders mailing lists as well. This time it turned out to be a rather funny situation - we collected news so well that almost all the materials from the Friday newsletter were in our previous issue. PythonWeekly seems to be a week behind real news. In addition, announcements of all materials as they are added are available.
Articles and interviews
- One-line tree
Implementations of a recursive structure in one line based on defaultdict Apply visual effects to images in Django
- SVGFig - a pure python library for creating SVG
Brief article-introduction on the application of the API of an interesting project - Waiting for several different events in Tornado
- Levels of code coverage by tests
The author asks how to measure how much code is covered by tests and offers answers to these questions, which he gleaned from personal experience and the experience of his colleagues - Visitor Design Pattern A
brief example of a popular design pattern implementation - Decorators
Another attempt to clarify what decorators are, this time from Mike Driscoll. Judging by our digest, only the lazy did not write an article on this topic. - Real-time sound processing
The author introduces the principles of the PyAudio module and offers an example of solving one of the problems of sound processing, including using Cython to optimize performance - Adding tab code for IDLE
The author offers a way to configure IDLE, in which the editor will offer options for auto-completion by clicking on tab when entering code - Analysis of nginx logs
Using IPython and statistical modules to obtain useful data from web server logs - All about parsing web pages.
Well, not all, of course, but the important basic parts and modules are covered. Migrating a database from sqlite to postgres
- We catch any exceptions in wxPython.
A traditionally detailed and full code example article on one of the subtle nuances of working with binders for the popular graphical toolkit. - Simple parallel code execution with concurrent.futures
This feature is available from version 3.3, and those who want to simplify their parallel code now (even at 2.7) can once again pay attention to the article that we covered in one of the previous issues - Sublime Text 3 for python, javascript and web developers
Evangelical article with pictures about the new version of the popular text editor
Video
Screencasts by django in Russian
Nice screencasts by django framework in Russian
Books and documentation
We program in Python
. Peter publishes a fresh edition of Michael Dawson’s book in Russian and recommends it as an ideal guide for beginners to learn Python.
Interesting projects, tools, libraries
- growsdk - another attempt to create a CMS managed from the console on the principle of customization of anything and everything
- peepdf - exploring pdf A
library that allows you to study pdf for correctness, the presence of malicious code, the presence of garbage and incorrect data - bunch - referring to the dictionary as an object
The author offers his own solution realizing a call to dictionary elements of the foo ['bar'] type in the foo.bar object style with the provided serialization scripts, support for update, iteration, etc. - Visualization of code execution
An interesting online tool that allows you to see a graphical diagram of step-by-step code execution - BlitzDB - Pure Python Document Oriented Database
Releases
- Python 3.3.5
A bug fix release - including regression in zipimport, a problem with the encoding declaration for Windows, the removal of a potential DOS in bytes.decode () and some others - makehuman 1.0.0
MakeHuman is a program for creating three-dimensional models of people for any purpose - illustrations, animations, games. Entirely written in Python
Conferences, events, developer meetings
Dive into IT: spring workshops for developers in Kazan
Promise beginners to help with immersion in the topic, and for experienced docks to open the way to further development, escorting unexpected solutions, little-known features and tricks to the world.
Done 2 courses:
- Web in Python
- Advanced Python