Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 22462

Import Python: ImportPython Issue 97 - Building chat bots, quick python debugging tips, pitfalls to avoid and more

$
0
0
Worthy Read

visualization
,
opensource project
This is a super cool project build by Christian. Pyvisgraph builds a visibility graph given a set of simple obstacle polygons and find the shortest path between two points. Christian uses it at work for mapping vessel voyages.( Vessel as in ships ). Here are two blog post by him talking about the algorithm behind his code https://taipanrex.github.io/2016/09/17/Distance-Tables-Part-1-Defining-the-Problem.html and https://taipanrex.github.io/2016/10/19/Distanlogce-Tables-Part-2-Lees-Visibility-Graph-Algorithm.html .

chatbots
Talking to technology has taken a whole new level since Amazon has announced their voice assistant Alexa and opened up their platform for developers to build custom bots just like when Apple announced about app store for developers to create and sell apps. Here I wanted to talk about the ease of building an Alexa skill using python which could be used as information provider to a attendee for a conference.

Let Toptal connect you with the world's most talented developers. Get started today. Note - If you are / want to freelance visit the site, go the homepage and apply as a freelancer.
Sponsor

debugging
Nick gives us quick tour of debugging in Python. print statements, logging, pdb, pdb++, Debugging from the REPL and more.

async-io
Armin Ronacher's creator of Flask takes at length candidly about How it's difficult for him to grasp Asyncio , it's shortcomings, how David Beazley's live demo hacked up asyncio replacement is twice as fast as it. Curator's Note - Personally I learned Asyncio from the book Fluent Python. However once I went beyond the simple examples and try building something non trivial I ended up switching to golang and getting my job done faster. One key reason is the benchmark showed my asyncio's throughput was an order of magnitude slower, code required a lot of hand holding for a new developer.

core python
Common pitfalls to avoid when writing Python software

Easily share data across your company via SQL queries. From Grove Collab.

Read the Gartner Research Note and discover how your organization can automate and optimize DevOps projects using a toolchain architecture.
Sponsor

django channels
Daphne is a HTTP, HTTP2 and WebSocket protocol server for ASGI, and developed to power Django Channels. It supports automatic negotiation of protocols; there’s no need for URL prefixing to determine WebSocket endpoints versus HTTP endpoints. In this blog post Abu Ashraf shows us how to Deploy Django channels using Daphne.

video
Let's chat about working with dates and times in Python! We'll talk about parsing, formatting, timezones, and date arithmetic.

jupyter
I want to share some concepts and ideas about using Jupyter Notebook that I would like to know when I started.

django admin panel
In this post Haki Benita shows us how he extended Django admin to include two Button which perform action on a record/row. It's a well written step by step article to accomplish the task.

opensource project
Are you searching for an easy way to stream media files from your LinuxBox to a Chromecast ? You can use Stream2chromecast, a simple Python script that makes the task of streaming media files to a Chromecast device ridiculously easy.

pandas
Karlijn has written good article explaning what dataframes is and it's workings. If you don't know about Pandas and want to get a sense of what it's ?, then have a read.

kafka
,
opensource project
KQ (Kafka Queue) is a light-weight Python library which provides a simple API to queue and process jobs asynchronously in the background. It is backed by Apache Kafka and designed primarily for ease of use.

numpy
This is the first featured recipe from the IPython Cookbook, the definitive guide to high-performance scientific computing and data science in Python.

benchmark
The benchmarks here do not try to be complete, as they are showing the performance of the languages in one aspect, and mainly: loops, dynamic arrays with numbers, basic math operations.

pycon
Pycon Pune 2017 is announced. To be held on February 16-19 2017. Visit the website to know more.

Try Hired and get in front of 4,000+ companies with one application. No more pushy recruiters, no more dead end applications and mismatched companies, Hired puts the power in your hands.
Sponsor


Projects

predicting_stock_prices - 29 Stars, 14 Fork
This is the code for the Stock Price Prediction challenge for 'Learn Python for Data Science #3' by @Sirajology on YouTube. The code uses the scikit-learn machine learning library to train a support vector regression on a stock price dataset from Google Finance to predict a future price. In the video, I use scikit-learn to build an ML model, but for the challenge you'll use the Keras library.

altair_widgets - 25 Stars, 1 Fork
Interactive data exploration with Altair. Altair Widgets are a tool to easily allow to interact with Altair graphs in the Jupyter notebook.

py-vm - 19 Stars, 0 Fork
Simple CLI wrapper for VirtualBox. Could be considered a Vagrant replacement in many cases.

django-traffic - 8 Stars, 0 Fork
A Django middleware that helps visualize your app's traffic in Kibana. In a nutshell, by using this middleware you need no more effort to stream your app's traffic in your ElasticSearch host(s) and use Kibana for visualizations around it.

algorithms - 7 Stars, 46 Fork
Collection of algorithms in multiple programming languages. Including Python.


Viewing all articles
Browse latest Browse all 22462

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>