Python-digest # 28. News, interesting projects, articles and interviews [May 19, 2014 - May 25, 2014]
Here, at last, and the latest news about python and nearby technologies. This time we will prepare packages, debug regular expressions, optimize the number of queries to the database, play and solve puzzles. In general, entertainment for every taste.
Many thanks to everyone who helps me in word and deed on the digest tool. I know about the mailing engine, which is already in the new branch, but so far the hands do not reach literally anything. Special thanks to owlman75 for the release picture.
While preparing this digest, I came across a rather funny articlethat you should not be deceived by the simplicity with which you can learn to program. It is, of course, useless, but sometimes I meet interesting things that are not directly related to python, but are quite worthy of attention. I want to ask and ask you: is it worth it to have a special section for them and publish it in a digest?
Many thanks to everyone who helps me in word and deed on the digest tool. I know about the mailing engine, which is already in the new branch, but so far the hands do not reach literally anything. Special thanks to owlman75 for the release picture.
While preparing this digest, I came across a rather funny articlethat you should not be deceived by the simplicity with which you can learn to program. It is, of course, useless, but sometimes I meet interesting things that are not directly related to python, but are quite worthy of attention. I want to ask and ask you: is it worth it to have a special section for them and publish it in a digest?
Articles and interviews
- Dictionary Generators
- Creating a package for the library
A rather large and detailed article. Comments on her are no less interesting. - Monitoring the execution of management commands in Django
- Method overrides
A small article answering the questions of how and why methods are redefined in python - Nine practical examples of using filter and list generators
- Introducing Python, Machine Learning, and the NLTK Library
- Key differences 2.x from 3.x with examples
- Unexpected things
A few interesting code examples that are asked questions at an interview in Yandex - Microblog on microframework
Twitter killer on Flask and Jinja. Almost. - os.urandom, CPython, Linux and rake
An instructive error story in the implementation of the urandom function from the os module in CPython on UNIX-like operating systems (Linux, Mac OS X, etc.). - Tips for beginners to apply python in science
- How to download and continue downloading a file after a pause using urllib
- Introduction to developing kivy android applications
- Pautomount - a daemon for automatic mounting, running scripts and all that
- Mega-Tutorial Flask, Part 6: Profile page and avatar
Seventh part is also available:
Mega-Tutorial Flask, Part 7: Unit testing - Fresh look
Although the look is not the freshest, but rather extensive article with funny illustrations about optimizing the number of database queries using Django ORM. The second part is about creating additional representations (VIEW) at the database level for the same purpose. Nothing is said about caching, non-relational databases, denormalization, in-memory databases, stored procedures - Exploring asynchronous worker models in gunicorn
- Gevent manual
Video
- Python Meetup: April meeting
- “Development of mobile applications in Python” by Dmitry Ovchinnikov
- “Python for the lazy or how to make your life easier” from Nikita Grishko
- “Unittesting. How?" from Maxim Schepelin
- “Pathlib. Little goodies Python 3.4 "from Alexei Cherkes
Books and documentation
- Copy module - superficial and deep copying of objects.
Documentation of the copy module in Russian. - 51 free e-books about python
Interesting projects, tools, libraries
- ruler - measure console output
A funny library that adds column marks to the console according to the specified rules - Eliot - library for advanced logging
Previously it was a closed project - now it is available on github and pip - pythex - interactive regex debugging
- Platform on pygame from 1810 lines.
By the link is the code, but you can watch the gameplay video - pyp is a wonderful console assistant.
A tool from Sony Imaging working in awk style but using python. A beautiful video demonstrating functionality is also available. - Brackets 0.39
New release of the popular and unflagged editor brackets - data_dispenser - get uniformly data from different sources
Represents data from different types of sources / extensions JSON, CSV, YAML in the form of a list of dictionaries. - rq.filter - update dependencies in time
An interesting service that sends notifications in case of updating packages according to the rules specified in requirememnts.txt for pip
Releases
- mod_wsgi 3.5 - security update
- PyDev 3.5.0
Improved support for PyUnit and Django 1.7