ImportPython Newsletter
Issue 69.

Worthy Read


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

machine learning
I thought an easy project to learn machine learning was to guess the gender of a name using characteristics of the name. After playing around with different features by encoding characters of the name, I discovered you only needed THREE features for 80% accuracy which is pretty impressive. I am by no means an expert at machine learning, so if you see any errors, feel free to point them out.

core python
Slides of a tutorial on Python Object-oriented programming.

video
Six lines of Python is all it takes to write your first machine learning program! In this episode, we'll briefly introduce what machine learning is and why it's important. Then, we'll follow a recipe for supervised learning (a technique to create a classifier from examples) and code it up.

django
Admino is a django package that provides a REST API for admin endpoints. It allows you to customize django admin panel.

pycon
PyCon is proud to be part of the long tradition of events that take place because the attendees themselves care and are willing to put forward hours of volunteer work to ensure that new arrivals are greeted at the registration desk, that speakers are guided to and from their session rooms, and — yes — that swag bags are all properly stuffed.

machine learning
Code examples for some popular machine learning algorithms, using TensorFlow library. This tutorial is designed to easily dive into TensorFlow, through examples. It includes both notebook and code with explanations.

Jaspy is a Python VM written entirely from scratch in JavaScript with some unique features. Jaspy supports multiple threads, comes with an integrated debugger which offers remote debugging and provides a flexible preprocessor based architecture. Speed is explicitly not a main goal of this project. Jaspy aims to illustrate how web programming on the client side could be done by exploring new ways.

django
,
flask
If you're testing out a new idea or getting a product going, you have to choose a web stack to build it on. For Python devs, Flask and Django are the two most popular web framework options. I have experience with both and have chosen one or the other for my myriad of projects and companies. Having experienced the benefits of choosing the right framework, I created a worksheet to help other devs decide. You can go through it and get a "result" of the best framework to use.

pycon
We are happy to announce the schedule for EuroPython 2016 in Bilbao. With over 180 sessions, over 150 speakers, one day for workshops, 5 days of talks, training, keynotes, lightning talks and open spaces, followed by 2 days of sprints, EuroPython will be one of the most exciting and vibrant Python events this year.

About a year ago I was doing a lot of drone related work and was presented with the following problem: Would it be possible to use a drone to fly above the Bornean jungle and search for tagged orangutans? You are faced with a few thousand hectares of rainforest that you know harbours one or more orangutans that you need to track down. Where, how, and why do you start looking?

sublime
A collection of design patterns/idioms/snippets for Sublime Text.

code snippet
A simple implementation of a LRU dict that supports discarding by maximum capacity and by maximum time not being used.

django
So, I have made a cheat sheet for Django focusing on RESTful application. It contains information like Common commands for Django, important files in Django, Django Settings, Views (i.e. controllers) , Models, Making queries in Django.

django
I came to know about Openshift in one of my recent projects and checked their pricing. I was surprised to see that they are also offering some free plans.

interview
Justin is the principal consultant for Dark River Systems Inc. where he spends his time blogging, and training open source intelligence techniques using Python. He is the author of two books Gray Hat Python and Black Hat Python.

The calendar module implements classes for working with dates to manage year/month/week oriented values.

bot
In this first part we will create our slack bot and use it to send and receive simple messages. There are multiple packages out there that we can use for our task such as python-rtmbot or slackbot. However, for this tutorial I wanted to use the basic Slack Real Time Messaging API.


New Books

Many Python developers are curious about what machine learning is and how it can be concretely applied to solve issues faced in businesses handling medium to large amount of data. Machine Learning with Python teaches you the basics of machine learning and provides a thorough hands-on understanding of the subject.


Upcoming Conference / User Group Meet




Projects

smali_emulator - 166 Stars, 27 Fork
This software will emulate a smali source file generated by apktool.

JARVIS-on-Messenger - 85 Stars, 19 Fork
Just A Rather Very Intelligent System, now on Messenger!

EmailHarvester - 62 Stars, 11 Fork
Email addresses harvester

SnipLime - 60 Stars, 2 Fork
A collection of design patterns/idioms/snippets for Sublime Text.

altdns - 37 Stars, 9 Fork
Generates permutations, alterations and mutations of subdomains and then resolves them

slackline - 15 Stars, 0 Fork
WIP: Slack Bots using Django Channels

BookCreator - 9 Stars, 2 Fork
A scrapper that takes an online book from ORilley and turns into an epub book, because I want to read'em in my nook, away from my computer, and since I know python I figured out it could not be that hard...

messengerbot - 8 Stars, 2 Fork
Python client for Facebook Messenger Platform Bot

sentrycli - 8 Stars, 0 Fork
CLI scripts to query and analyze data gathered by Sentry

magic-constraints - 7 Stars, 1 Fork
Hacking In Python's Parameter Definition!

gzip-encoding - 2 Stars, 0 Fork
Examples of how to upload gzip-compressed HTTP requests to a web server and process these requests on the server.