Python-digest # 2. News, interesting projects, articles and interviews [November 8, 2013 - November 15, 2013]
Now there are more articles and projects - news from pycoders, pythonplanet is included and new packages and releases of already popular projects on PyPI and github are still being monitored. Alas, there are still few materials in Russian. Please send me links if you find worthy and relevant articles.
Thank you so much to the glitch-user and axcel countryman, thanks to whom rss feed and optimistic locks appeared on our news gathering tool while saving objects.
Main window settings in WxPython Code examples on how to add / change / remove elements of the main wx.Frame window, such as an inscription, an icon, close buttons, minimize / maximize buttons, etc.
Manage Raspberry Pi from Flask A rather serious article with code examples and diagrams describing the procedure for connecting your Rasberry Pi device to an application on the popular Flask web framework. You might want to learn how to turn off the http coffee machine with a query :-)
Retrospective python 2 -> python 3 Presentation of Guido van Rossum with a story about changes in the programming language with the change of the major version. Why reduce speed, why despite the hatred of developers for backward incompatible changes, these changes are still being made and which ones, as well as many other things (22 slides).
Little-known features of TurboGears 2.3 - application wrappers The second of a series of articles about one of the oldest web frameworks written in Python. The previous article was about significant improvements in the structure and performance of the Response.
Profiling and Debugging Python A promising beginning of a series of articles from the mail.ru group on the types and methods of profiling applications
Parse CSV using playhouse Playhouse is a set of extensions for peewee ORM. An example is given of how to get data from csv to a relational database in a couple of lines and build queries on them.
Guido van Rossum on True, False and None The creator of the language writes about the history of the appearance of these elements. What is the difference between keywords and literals? What are the subtleties of using operators and expressions with these elements in different versions of the language?
Writing a multiplayer game A thirteen-year-old guy writes instructions and a two-player game code with his own rules on PyGame. Everything is a little mac-centric, but well worth your attention. In the second part there is already a client-server prototype.
Interesting projects, tools, libraries
trequests Asynchronous HTTP / HTTPS client on tornado for requests library
Enaml A programming language that extends Python syntax in order to add user-friendly declarative building of the user interface (using PyQT4) and linking it with data models (the author suggests using his own Atom library as an engine for building data models)
Flask-resize Based on the Pillow and pilkit library for getting reduced copies of images in Flask templates (similar to sorl_thumbnail and easy_thumbnails in django)
marshmallow Lightweight library for serialization of complex data types (for example ORM objects). It can serve as a good basis for preparing a REST API.
Wheels egg replacement pack format According to the PEP427 standard, a new format for storing package metadata should come to replace the egg. From the link, the project site on the main page of which you can find out which packages are already compatible with wheels and what needs to be done in your PyPI package in order to provide it with support for wheels. The format itself is declared supported by pip> = 1.4 and setuptools> = 0.8
stormss A simple console utility to simplify the routine procedures associated with the ssh-client. Adding / editing / deleting / searching / listing / aliasing of hosts and so on
Micro python A kickstarter campaign to encourage the development of a python 3 version for microcontrollers.
FeinCMS 1.8.0 released In fact, you have already released two more bugfix releases - so the current version 1.8.2. There are no significant functional changes, but much attention has been paid to refactoring - the code has become significantly cleaner after working on it with the flake8 static analyzer, as well as undergoing restructuring. Medialibrary_orphans console command entered to search for unused media files
django-ckeditor-updated After long and ineffectual persuasion of the missing author of the original django-ckeditor, the one-liner to support the latest version of django disappeared - a fork appeared with the ckeditor updated to 4.2.2, working in django 1.6 and supporting django-storages On pypi, a fork is loaded with the name django-ckeditor-updated
Python 2.7.6 released This is a release of bug fixes - one of the main ones being the crash under certain command mode conditions in OS X 10.9. Well, a decent amount of other fixes compared with 2.7.5
Celery 3.1 released More than six months after the release of 3.0, we get a huge list of changes - both planned and corrected.
PyDev 3.0 released A large plugin for python development in Eclipse refused to support older versions of software and now requires eclipse 3.7 and Java 7 and more. Declared several significant improvements to the interactive console, such as IPython 1.0 support, automatic reload of modules when they change, and debugging mode with the ability to breakpoints and other goodies.
PyPy 2.2 released Improvements in the garbage collector - it will now distribute the load more smoothly; eliminated unnecessary memory loss during the "infinite" JIT compilation; NumPy is divided into submodules - only its basic part is included in the main core; Non-inline calls consume less additional resources; JSON decoder acceleration; Improved Windows support in the os module
Still waiting for comments on the design, assistance in finding articles, in finalizing the project to collect materials. Maybe someone will take to draw a beautiful picture for the release? My artistic talents do not allow it.