This article describes how to use Twisted to build a client/server cars monitoring system. We are going to focus on the client/server communication. The client and server source code can be retrieved using Git: Overview Some researchers invented a system capable of monitoring cars and detecting the brand and color of a car. We are [...]
Update 11/24/2011: Updated article based on the latest nova.sh script. This article describes the internals of the script nova.sh used to get the OpenStack Nova source code, install it and run it. Nova is a cloud computing fabric controller, the main part of an IaaS system. The script can be retrieved using Git: Arguments The [...]
This tutorial shows how to distribute messages to multiple servers for processing. We will be using RabbitMQ which is based on AMQP. The way messaging works is that you have producers producing messages and consumers consuming them. We are going to have 1 producer generating random integers and 2 consumers: 1 consuming the odd integers [...]
This tutorial shows how to download REST resources to your database using Python and SQLAchemy. We are going to download manufacturers and cars resources to our database. We will also show how easy it is to query them once they are stored. Requirements We need to install SQLAchemy and simplejson Python libraries: You can use [...]
Are you are looking for an easy way to download your Twilio resources (calls, sms, notifications, recordings…) to your own database so you can access them faster and also when you are offline? Twilio Resources DB is a Python module doing just that. Features Download Twilio resources to a database. Download recordings audio files. Support [...]
This article is about a Python library I created to manage binary search trees. I will go over the following: Node class Insert method Lookup method Delete method Print method Comparing 2 trees Generator returning the tree elements one by one You can checkout the library code on GitHub: git clone https://laurentluce@github.com/laurentluce/python-algorithms.git. This folder contains [...]
This article describes how you can upload files to Amazon S3 using Python/Django and how you can download files from S3 to your local machine using Python. We assume that we have a file in /var/www/data/ which we received from the user (POST from a form for example). You need to create a bucket on [...]
In this post, I am going to describe how I integrated Facebook into Gourmious, so users could post their favorite dishes on Gourmious and on Facebook at the same time. I wanted to keep the Gourmious login so the users could decide to login using their Gourmious credentials or using the Facebook login feature. I [...]