Copy
Welcome to issue 154 of Python Weekly. We have a packed issue this week. Enjoy it!

News

PEP 440 accepted : Version Identification and Dependency Specification
This PEP describes a scheme for identifying versions of Python software distributions, and declaring dependencies on particular versions.


Articles, Tutorials and Talks

Revenge of the Types 
This is part two about "The Python I Would Like To See" and it explores a bit the type system of Python in light of recent discussions. Like the earlier post this is a bit of a diving into the CPython interpreter, the Python language with some food for thoughts for future language designers.

Predictive modeling, supervised machine learning, and pattern classification
Pattern classification and machine learning are very hot topics and used in almost every modern application: Optical Character Recognition (OCR) in the post office, spam filtering in our email clients, barcode scanners in the supermarket ... the list is endless. This article gives a quick overview about the main concepts of a typical supervised learning task as a primer for future articles and implementations of various learning algorithms and applications.

Linkedin inMaps discontinued : how to visualize your professional network now?
One of the cool not-so-known feature of Linkedin was the ability to visualize your professional network. This was provided via inMaps and allowed everyone to get a feel of the communities and influencers in his own network. On August 31 this service will be discontinued but you can still visualize your Linkedin network.

Building a blog using Flask and AngularJS Part 1
In this tutorial, we will build a blog using Flask and AngularJS. This is the first part of the tutorial series. In this part we will focus on building the REST API which will be used by the AngularJS application.

Website SMS Alerts with the Plushcap Python Package: Part 1
This post walks through the entire lifecycle of a Python open source project from initial code structure to making Plushcap available on PyPI.

Neural Network Application: Predicting the Stock Market
We want to beat the market using financial indicators to predict a simple question: will the stock market go up or down next week? For our project we will use Quandl, an open-data website with thousands of variables. First we write functions that successfully download those variables, then clean and merge them into a single dataframe. After that, we run a series of naïve Bayes regressions to determine which of these variables have the most predictive power. Finally, we conglomerate a series of 20 of the best variables and run them through a neural network, which iterates to find the proper weights for each variable.

Patching Mocks in Python
This article explains the mock patching mechanism and describe four types of patch decorators, then demonstrate several ways to apply a patch. It also examines the MagicMock class and explain its role in patching.

Getting started with automation on Twitter
Using Twitter applications that create automated replies is an engaging way to encourage your audience to interact with your own API. Getting started with these types of apps is fairly easy and quite fun.

Snakefooding Python Code For Complexity Visualization
Snakefood is a tool written to create Python dependency graphs. Combined with GraphViz, snakefood can create beautiful visualizations of Python codebases. Here are graphs for some notable open source projects written in Python.

One line of code cut our Flask page load times by 60%

Django and AJAX Form Submissions - Say 'Goodbye' to the Page Refresh

Python Templating Performance Showdown: Django vs Jinja

Python for Scientific Computing

Using APIs with Python Requests Module

Telling Technology Stories with IPython Notebook


Books

Python 3 Text Processing with NLTK 3 Cookbook
This book will show you the essential techniques of text and language processing. Starting with tokenization, stemming, and the WordNet dictionary, you'll progress to part-of-speech tagging, phrase chunking, and named entity recognition. You'll learn how various text corpora are organized, as well as how to create your own custom corpus. Then, you'll move onto text classification with a focus on sentiment analysis. And because NLP can be computationally expensive on large bodies of text, you'll try a few methods for distributed text processing. Finally, you'll be introduced to a number of other small but complementary Python libraries for text analysis, cleaning, and parsing.

Python Practice Projects 
This book guides you through a series of projects designed to improve your command of the Python programming language and your software engineering abilities in general. The skills you gain here will carry over to all future programming endeavours. 


Interesting Projects, Tools and Libraries

Gooey
Turn (almost) any command line program into a full GUI application with one line.

smartcsv
smartcsv is a python utility to read and parse CSVs based on model definitions. Instead of just parsing the CSV into lists (like the builtin csv module) it adds the ability to specify models with attributes names. On top of that it adds nice features like validation, custom parsing, failure control and nice error messages.

Pineal Loop Project 
Live-Coding environment oriented to music based visuals.

NetworKit
NetworKit is a toolbox for high-performance network analysis. Its aim is to provide tools for the analysis of large networks in the size range from thousands to billions of edges.

Hython
A Python 3 interpreter implemented in Haskell.

Stellar
Fast database snapshot and restore tool for development. It allows you to quickly restore database when you are e.g. writing database migrations, switching branches or messing with SQL. PostgreSQL and MySQL are supported.

Twent
Twent (Time, WEather, and News in Terminal) is a Python script that allows you to display time, weather, and rss feeds in a text console.

icypher
ICypher is an IPython extension for running Cypher queries against a Neo4J graph database within IPython.

Flask-Edits
"Can't you just, rewrite it to sound more edgy?" Clients blowing up your phone to change some copy on the /about page? Enter Flask-Edits. Mark sections of your templates with {% editable %} and their content is exposed in a slick admin panel. Never worry about tweaking copy again.

Django Cassandra Engine
django-cassandra-engine is a database wrapper for Django Framework. It uses latest Cqlengine which is currently the best Cassandra CQL 3 Object Mapper for Python.

django-rules
It is a tiny but powerful app providing object-level permissions to Django, without requiring a database. At its core, it is a generic framework for building rule-based systems, similar to decision trees. It can also be used as a standalone library in other contexts and frameworks.

PlotDevice
A Python-based graphics language for designers, developers, and tinkerers.


Python Jobs of the Week

Senior Software Developer at Minted
Minted is looking for a Senior Software Engineers with Solid Coding Foo in Development and deep understanding of Object Oriented Languages and an in depth understanding of coding logistics. 

Full Stack Developer at Media Pop
We're a group of technically strong full stack developers that primarily work with Python/Django, node and Cordova (in that order) on a modern development stack. We're looking for someone with web development experience that takes ownership of their work, has velocity and can pick up things as needed. 


New Releases 

Matplotlib 1.4
This release contains many bug fixes as will as a number of new features. Some highlights are:
  • style module : experimental package to make managing the style of matplotlib figures easier
  • nbagg : interactive figures in ipython notebooks backed by the AGG renderer
  • full python 3 support (including cairo backends)
  • Qt5 support (for python 3 only)
  • violin plots and 3D quiver plots (projects done for a course at University of Toronto, Scarborough)
  • improved box plot interface

Jython 2.7 beta3
Jython 2.7b3 brings us up to language level compatibility with the 2.7 version of CPython. We have focused largely on CPython compatibility, and so this release of Jython can run more pure Python apps then any previous release.


Upcoming Events and Webinars

London Python Meetup September 2014 - London, United Kingdom
Matthew Sundquist will introduce Plotly, a startup supporting collaborative graphing and data analysis. We'll use Plotly's Python API, IPython, and matplotlib to look at how to make and share collaborative, interactive, web-based graphs and streaming graphs.

DC Python Meetup September 2014 - Washington, DC
There will be talk about ZODB, an object database for Python. It will cover Introduction, Example application, Quick usage demo, Architecture, Advantages, Disadvantages, Comparison with other databases.

Share Python Weekly 
 
You are receiving our weekly newsletter because you signed up at http://www.PythonWeekly.com.

Unsubscribe <<Email Address>> from this list | Forward to a friend | Update your profile
Our mailing address is:
Python Weekly
Brooklyn
Brooklyn, NY 11209

Add us to your address book

Copyright (C) 2014 Python Weekly All rights reserved.