2016-04-28

Worthy Read

Have an idea for a Python App ?



Create a new Python app, free with Azure App Service. Curator's Note - Select Python from the language dropdown and select Python. You have templates for django, flask, bottle. Check it out.

Sponsor

Python Sorted Collections

core python

Python is a little unusual regarding sorted collection types as compared with other programming languages. Three of the top five programming languages in the TIOBE Index include sorted list, sorted dict or sorted set data types. But neither Python nor C include these. For a language heralded as “batteries included” that’s a little strange.

Best Practices working with Django models in Python

django

A very handy and to the point list of checklist. If you are a Django developer do read them.

Optimizing Slow Django REST Framework Performance

Django Rest Framework

The Django REST Framework (DRF for short) allows Django developers to build simple yet robust standards-based REST API for their applications. Even seemingly simple, straightforward usage of the Django REST Framework and its nested serializers can kill performance of your API endpoints. At it’s root, the problem is called the “N+1 selects problem”; the database is queried once for data in a table (say, Customers), and then, one or more times per customer inside a loop to get, say, customer.country.Name. Using the Django ORM, this mistake is easy to make. Using DRF, it is hard not to make.

select — Wait for I/O Efficiently — PyMOTW 3

core python

The select module provides access to platform-specific I/O monitoring functions. The most portable interface is the POSIX function select(), which is available on UNIX and Windows. The module also includes poll(), a UNIX-only API, and several options that only work with specific variants of UNIX.

Episode 54 - Pip and the Python Package Authority with Donald Stufft

podcast

As Python developers we have all used pip to install the different libraries and projects that we need for our work, but have you ever wondered about who works on pip and how the package archive we all know and love is maintained? In this episode we interviewed Donald Stufft who is the primary maintainer of pip and the Python Package Index about how he got involved with the projects, what kind of work is involved, and what is on the roadmap. Give it a listen and then give him a big thank you for all of his hard work!

django-river state machine and workflow library

Main goal of developing this framework is to be able to edit any workflow item on the fly. This means, all elements in workflow like states, transitions, user authorizations(permission), group authorization are editable. To do this, all data about the workflow item is persisted into DB. Hence, they can be changed without touching the code and re-deploying your application.

Build real-time apps.



Syncano. Database. Backend. Middleware. Real-time. Support. Start for free!

Sponsor

Computational Geometry in Python: From Theory to Application

When people think computational geometry, in my experience, they typically think one of two things: Wow, that sounds complicated. Oh yeah, convex hull. In this post, I’d like to shed some light on computational geometry, starting with a brief overview of the subject before moving into some practical advice based on my own experiences

A polyglot's guide to multiple dispatch - part 3

core python

This is part 3 in the series of articles on multiple dispatch. Part 1 introduced the problem and discussed the issues surrounding it, along with a couple of possible solutions in C++. Part 2 revisited multiple dispatch in Python, implementing a couple of variations. In this part, I'm going back to the roots of multiple dispatch - Common Lisp - one of the first mainstream programming languages to introduce multi-methods and an OOP system based on multiple dispatch at its core.

Your Django Story: Meet Margaret Myrick

interview

Margaret Myrick is a program manager at Indeed, and a musician on the side. She has lived in Texas since she was a child.

YodaBot - An open source messenger bot to convert text to yoda speak

Master Yoda, I am. Left Degobah I have, and come to messenger as a bot. Message me. Reply in my own style, I would. Curator Note - Pretty funny check it out.

Python Prompt Toolkit

core python

prompt_toolkit is a library for building powerful interactive command lines and terminal applications in Python.

Employer Refuses to Allow Python - Reddit Discussion

core python

Hey guys, Recently, I informed my manager that I was willing to go above-and-beyond and help improve some of our team operations by writing a handful of Python scripts. He is a stickler for following the rules, so he ordered me to ask permission to install Python on my development machine (I wasn't intending on asking permission). My request has been refused. Despite providing evidence from the Python Foundation on their open licensing (especially for my purposes, which is just local machine -- not production), they are still refusing on account that Python is type of GPL and it is interpretative. Have you guys run into something like this before? It seems ridiculous to me.

James Powell - `from __past__ import print_statement`: a Dadaist Rejection of Python 2 vs 3

video

If the title doesn't make any sense, then there's no hope that the description will be any better. This talk will be a strange dive into interpreter hacks, the pointlessness of the Python 2 vs 3 debate, and the twisted artistic drive that pushes the speaker to come up with these perversions of the Python language. Prepared to be simultaneously repulsed, intrigued, and completely bored.

Analyze Chrome’s Browsing History with Python

Chrome stores its data locally in an SQLite database. So all we need to do here is write a consistent Python code that would make a connection to the database, query the necessary fields and extract the required data, which is the URLs visited and the corresponding total visit counts, and churn it out like a puppy.

Learn to use Python to Collect Intelligence Online



Learn how to write code to automatically extract and analyze data from the web and social media. Join students from around the world from law enforcement, journalism, information security and more.

Sponsor

New Books

Mastering Python Forensics

Learn to perform forensic analysis and investigations with the help of Python, and gain an advanced understanding of the various Python libraries and frameworks. Analyze Python scripts to extract metadata and investigate forensic artifacts. The writers, Dr. Michael Spreitzenbarth and Dr. Johann Uhrmann, have used their experience to craft this hands-on guide to using Python for forensic analysis and investigations

Jobs

Manager (Technical architect+Engineering leader) at CRISIL LIMITED

Mumbai

Python Developer II at Kforce Professional Staffing

San Antonio, TX, United States

Upcoming Conference / User Group Meet

PyData London 2016

PyCon Israel 2016

Pycon Sweden

Projects

gym - 635 Stars, 71 Fork

A toolkit for developing and comparing reinforcement learning algorithms.

rllab - 86 Stars, 12 Fork

rllab is a framework for developing and evaluating reinforcement learning algorithms.

otek - 45 Stars, 2 Fork

An unopinionated project builder for everyone.

LowRankPropagation - 22 Stars, 3 Fork

Propagation Technique for Solving Low Rank Matrix Completion

detux - 20 Stars, 3 Fork

The Multiplatform Linux Sandbox

doorman - 15 Stars, 1 Fork

an osquery fleet manager

ballade - 14 Stars, 1 Fork

Ballade is a light weight http proxy based on tornado and an upstream proxy switcher using SwitchyOmega rules

LearnProgrammingBot - 14 Stars, 1 Fork

Bot for /r/learnprogramming using supervised learning

falcon-api - 11 Stars, 0 Fork

Web APIs for Falcon.

flatdoc - 4 Stars, 0 Fork

Flat documentation generator

slactorbot - 4 Stars, 0 Fork

A Slack bot with hot patch!

elastic-bill - 3 Stars, 1 Fork

Elastic bill is a multi cloud platform billing management tool.

Show more