Python-digest # 35. News, interesting projects, articles and interviews [July 27, 2014 - August 03, 2014]
The digest was published earlier, but for certain reasons it was excluded from the Habra, but now it was decided to return it back.
The next release of news from the world of Python.
For the illustration for the post, as before, we thank owlman75 , as well as alrusdi for the idea of digests and for the fact that I can still publish these digests for you.
In this issue, we have such interesting news gathered here: some fresh vulnerabilities in django, in releases the second release candidate Django 1.7, APScheduler 3.0, Pylint 1.3 / Astroid 1.2, django-extensions 1.3.9, boto 2.32.0 and many more interesting libraries and articles to study.
- Fresh vulnerabilities in django
The main idea is to upgrade to the maximum minor version in your branch right now.
Articles and interviews
- Follow the latest tweets with Python
Let's keep track of the latest tweets with Python.
There are Python modules for interacting with Twitter, such as tweepy, python-twitter, twitter, or twython, all of which depend on the Twitter API. To use them, you must open a Twitter account, register at dev.twitter.com, open a new application there, and use OAuth every time you connect.
This article describes how to parse HTML from a user’s page whose tweets you want to follow.
- CheckiO - gamification of learning python
A fascinating world in which achievement is solving problems in python
- Execution of x86-64 instructions
The author was puzzled by the unusual question of whether it is possible to execute compiled C code from python. The ctypes module comes to the rescue, but the counter question arises - why?
- Using python under windows makes you sad? Try Anaconda
The author talks about the sadness that comes to those who first deploy python on windows and describes one of the ways in which this sadness can be reduced. True, not always.
- Calling One Argument Methods in Django Templates
- Data analysis using Python. Charts in pandas and matplotlib.
Large collection of code for building various graphs
- C gevent asynchronous I / O is not difficult.
A large, noteworthy article with illustrations and code examples to accompany the author's report on the same topic from the EuroPyhton 2014 conference
- Modern Tornado, Part 2: Blocking Operations
Continuation of a series of articles on tornadoes. The first part is available at this link . The new article talks about configuring the application and connecting csrf protection. Then, using the example of creating thumbnails of images, we describe how to work with blocking tasks, launch coroutine in parallel, and handle the exceptions that arise in them.
- Comparing ORM performance in Python and Java
Anyone can win a spherical test in a vacuum. It is worth paying close attention also to comments on the article.
- Adding Interactive Charts to IPython Notebook. Part 3
An article with instructions: how to combine d3.js and pandas for interactive data visualization.
And here the first and second parts
- Organization of the service "callback by click" on Twilio and Pusher
- xlwings - let python be in MS Excel A
free Microsoft Office Excel automation tool using python via pywin32
- Stop using STATIC_URL in django templates.
Why is it useful to use the built-in static template tag and how it works
- Concurrently executing code in IPython
- We write a program for downloading songs from VK posts
- Three and a half ways to try python on Windows without installing it
- Simple CRUD in the Flask and WTForm admin interface. An
article on CRUD implementation using an example blog application.
- Argparse Recipe Collection A
great recipe book with Python examples Argparse
Interesting projects, tools, libraries
The project allows you to explore popular web frameworks: Django, Flask, Pyramid and others.
Django-proxy-storage provides a simple django-storage (storage), proxying operations with files in the original storage (for example, storage in the file system), while storing meta-information on files in the database. The main advantages of the project include the ability to organize authorized file distribution and the dynamic selection of the original storage.
- textract - isolating text from documents of different types
- redditDataExtractor - reddit content downloader A cross-
platform GUI program for receiving data of various types with reddit
- Python / tkinter miner game implementation in 187 lines
An impressive list of Django applications and projects
- planedict 1.0.0
A small library for working with nested dictionaries.
- PyChan - 4chan style imageboard on Django
There is a suspicion that the author began to follow this interesting path to success
- filtered_websocket - a framework for working with WebSockets technology
A fairly concise start code, integration with rediis.
- Django 1.7 RC2
Second Release Candidate Django 1.7 In this release, Django has undergone numerous changes. The most significant are: updating migration schemes, improving validation tools, reorganizing the initialization and loading paths of the application, and also searching and loading user databases.
- boto 2.32.0
The release includes backward compatibility support for Python 3.3 and 3.4, IPv6 support, Amazon VPC peer-to-peer connections, Amazon SNS message attributes, new regions for Amazon Kinesis, and several fixes.
- Pylint 1.3 / Astroid 1.2
A large list of new checks and fixes. This is the latest release with python support below 2.7
- APScheduler 3.0
Management system and deferred task execution. It has intersection points with Celery, but is not an alternative to it. The article provides all the details by reference.
- django-extensions 1.3.9
The main release is aimed at improving compatibility with django 1.7
Conferences, events, developer meetings
- 21st Moscow Django Meetup
On July 31st, in the midst of the holiday season, the 21st MoscowDjango Meetup is held.