Skip to main content

EuroPython 2015 - Python and Internet of Things

I've been working in area of IoT for quite some time, and at Azoi we use Python extensively. Looking at usage of Python on micro-controller, I realised that it's not used as much as in other areas. I've had very good experience going with Python. I've got some exposure with micro controller and think it assists you to rapidly build prototype involving hardware.

I applied for a talk on Internet of Things with Python to spread some awareness around this and it was selected along with another talk by my colleague Bhaumik Shukla and one more by Hitul Mistry. Out of all all submissions, there were total 4 selection out of which 3 were from my team at Azoi. It was also my first major talk at a large conference like EuroPython. I was both nervous and excited as the same time and since I was going to Bilbao, Spain for conference, I thought its a great opportunity to explore other cities as well :-)

Bhaumik's topic was "Python for Cloud Services and Infrastructure Management" and Hitul's Topic was on Concurrency and Parallelism.

After a lot of preparation I was ready to go on stage to deliver my talk, one piece of advise you're delivering a talk at a conference, avoid changing your slides at last moment. In my case, my talk was on 2nd day so I thought I'll add a demo video and modify the flow a little bit to make it more easy to understand. It clearly wasn't a good idea but I managed to handle it.


Here's video of my talk, looking forward to your feedback!






Comments

Popular posts from this blog

Getting Started with Rancher & Kubernetes

During my time working at Azoi (a startup), I was responsible for maintaining Gitlab for my team along with various other self-hosted internal services. When I first setup Gitlab in 2013, it was quite a task, as setting it up would involve configuring various services using provided scripts and a lot of luck. Fortunately, I found Bitnami Gitlab package to make that process easier. However initial setup is one thing and keeping up with the latest releases was a nightmare.

Fast forward to 2016, I joined eInfochips as Solutions Consultant. Where one of my responsibilities was to modernize development workflow and encourage DevOps culture. It made sense to use Gitlab specially for Gitlab-runner and since this was a fresh setup, I explored few options to setup Gitlab, I found that Gitlab monthly releases were now published as Docker images. So I decided to use Gitlab docker image to host gitlab-ce internally. This time around, the experience was very different, initial setup and upgrading…

Rancher for Microservices : Load Balancing and Scaling Containers.

In my previous post, we saw how easy it is to set up Kubernetes cluster using Rancher. Once you have a cluster up and running, next step is to deploy your microservices on the cluster. In this post, we’ll look at how to deploy, run and scale a docker image on your cluster. We’ll also look at setting up an L7 load balancer to distribute traffic between multiple instances of your app.

Let’s create a simple HTTP service which returns server hostname & current version of the binary (hardcoded). I’ve used go-lang for this, below is code snippet which returns hostname and service version.

All it does is, returns a string "App Version 2.0 running on host: <hostname>", once deployed it will return container hostname.

Next step is to dockerize our service by generating a docker image and push it to DockerHub (or your private Docker registry), below is Dockerfile I used to dockerize this service.


Running this will compile our service and generate a docker image on local mac…

Ubuntu Touch SDK, Core Apps & Mac OSX

I have started working on Ubuntu Touch core apps, this involves using Ubuntu UI Toolkit which is basically QML Components designed for Ubuntu Touch OS. Unfortunately Ubuntu UI Toolkit is not available for Mac OS. In order to develop Ubuntu Touch core apps I have to get Ubuntu UI components running on Mac.

So this has shifted my focus from Ubuntu Touch core apps to ubuntu ui sdk. Once I get it, I can start working on Ubuntu Touch core apps.


Coming back to the SDK, it is a straightforward package which contains QML building block for application developers. Now compiling this on Mac should not be diffcult.

I have identified following dependencies causing compilation to fail.


QtDbus:

This is the first error message i got when trying to compile Ubuntu UI Toolkit.
it says Unknown Module : dbus  when I run QMake.

I have no clue why this is coming, as I think I have qtdbus installed. will come back to this point once I have a solution

libintl includes:

Ubuntu Touch SDK seems to be using lib…