- Python Weekly
- Posts
- Python Weekly (Issue 397 May 16 2019)
Python Weekly (Issue 397 May 16 2019)
Python Weekly - Issue 397
Python Weekly
Welcome to issue 397 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor
. Create a free account and: - choose from our 500+ vetted packages. - automatically pull in and resolve dependencies - install the distro in a virtual environment with a single command - Supports Python 3.6+ on Linux
News
Articles, Tutorials and Talks
Many people started switching to Python 3, unfrotunetly most people still write their code like it is Python 2. Below are useful Python 3 features.
A Single Source of Truth for install_requires.
In this blog post I’ll walk through a handful of code smells that indicate you’ve got a class instead of a function, and then follow it up with code examples demonstrating code that exhibits these code smells. Finally, I’ll demonstrate how we might refactor the offending functions into classes.
In this tutorial we will implement basic search in a Django website and touch upon ways to improve it with more advanced options.
All around the country boundaries separate neighborhoods with high and low life expectancy. We used python to find the most extreme examples.
This post talks about reverse engineering the Dropbox client, breaking its obfuscation mechanisms, de-compiling it to Python code as well as modifying the client in order to use debug features which are normally hidden from view. If you're just interested in relevant code and notes please scroll to the end. As of this writing it is up to date with the current versions of Dropbox which are based on the CPython 3.6 interpreter.
It can be hard to get your head around how immense an IoT network deployment is without a map, especially for Smart Cities. Using HERE XYZ to visualize infrastructure at a city level makes a world of difference. Let's look at how to do that, first fetching and scrubbing data with Python and then using HERE XYZ with Tangram and a bit of JavaScript to render a web map like the one shown.
How to use Python and Plotly for statistical visualization, inference, and modeling.
FDA drug approvals, legal verdicts, mergers, share buybacks, and the occasional CEO podcast appearance, are all examples of events that impact stock prices. Though not as quantifiable as technical indicators, real life events clearly affect prices. In an attempt to further explore the relationship between events and stock prices, I gathered historical price data from the IEX API and scraped events data from popular financial news sites. This post will go through the process of gathering and cleaning this data followed by an exploratory analysis examining price trends and the impact of events on prices.
Getting your messages without giving a third party your credentials and data.
Pandas has a relatively new API for styling output. This article shows examples of using the style API in pandas.
Interesting Projects, Tools and Libraries
openpilot is an open source driving agent. Currently, it performs the functions of Adaptive Cruise Control (ACC) and Lane Keeping Assist System (LKAS) for selected Honda, Toyota, Acura, Lexus, Chevrolet, Hyundai, Kia. It's about on par with Tesla Autopilot and GM Super Cruise, and better than all other manufacturers.
A Cron Monitoring Tool written in Python & Django.
Unlimited Drive Storage by splitting binary files into base64.
SenseTime Research platform for single object tracking research, implementing algorithms like SiamRPN and SiamMask.
stumpy is a powerful and scalable Python library that can be used for a variety of time series data mining tasks
A super simple CLI for sending emails.
Cloudmarker is a cloud monitoring tool and framework. It can be used as a ready-made tool that audits your Azure or GCP cloud environments as well as a framework that allows you to develop your own cloud monitoring software to audit your clouds.
Distributed machine learning infrastructure for large-scale robotics research.
A non-opinionated TABBED menu system to control program flow interactively for terminal-based programs.
Multiplayer text-based shooter created with python curses library.
Dynamically select only a subset of fields per DRF resource(Support both flat and nested resources)
A Python Library for Conway's Game of Life.
A simple plugin to list unused or duplicated fixtures in a pytest suite.
Online machine learning in Python.
Simple self-hosted music scrobble database to create personal listening statistics. No recommendations, no social network, no nonsense.
Upcoming Events and Webinars
In this talk, we'll learn about a highly controversial proposed change to Python syntax, the rationale for it, and the fallout as the result of it.
There will be following talks
DevOps, an intro
Customizing Django Admin
PyCon recap
Using Visual Studio Code for Python Development
Our Other Newsletters
- A free weekly newsletter featuring the best hand curated news, articles, tools and libraries, new releases, jobs etc related to NoSQL.
- A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.