Software Engineer at mPharma.
Image for post
Image for post
Photo by Markus Spiske

Most times, when we hear about data wrangling, we think about data cleaning and manipulation using Python or some other language. In most real-life cases, the data is so messy or so large that cleaning up with a language can feel very manual and painful.

Open Refine is a free open source tool by Google that helps with messy data by cleaning, transforming it from one format to another, and extending the data using other web services. Open Refine can also be used locally, so you don’t have to worry about losing your data to the public.

In this article…


Image for post
Image for post
Moby Dock

I am a Django developer and from time to time we work on projects that interact with the database. This is where the Django ORM comes in, it helps the developer to create and update database tables.

In order to create an environment that closely mimics that of the production environment on my local machine, I use Docker to containerize my project.

However, there are times you can have some challenges when you make migrations and for some reason, they are all mixed up and you get errors that you feel the best thing to do is to drop the…


Image for post
Image for post
Django Logo

Django is a very powerful web framework built for python developers with the aim of quickly building web applications using a concept called “Batteries included” where loads of features have been simplified within the framework.

In this tutorial, we are going to learn how to build a custom user model in Django. Why do we need to build a custom user model, what is wrong with the existing user model, you may ask. By default, Django’s user model requires a username and password to create a user. However, modern web applications would rather use email and password to create and…


Image for post
Image for post
Django Logo

As we grow in web application development, it comes to a point when we want to be able to carry out some tasks just before saving an object to the database or right after saving an object to the database.

In Django, this can be done using a feature called Signals. According to the documentation, Signals allow certain senders to notify a set of receivers that some action has taken place and that they’re especially useful when many pieces of code may be interested in the same events.

An example of an instance when using signals can be helpful is…


Image for post
Image for post

There is this feeling of satisfaction that comes to most developers when they finally host an application on a live server and everything is working and he feels he is done with that application. Well, that feeling is always short-lived when clients want things moved around. Sometimes, sensitive data is also involved and has to be preserved in this process.

I found myself in this situation when one of our clients requested that we move their application to Heroku because AWS was expensive for them. This took me some time because I couldn’t figure out how it would all be…


Computers are everywhere. Computers range from our laptops, servers, phones, tablets and so on. They can as well be found in devices like blenders, refrigerators, wristwatches, etc. Every computer does 4 major things:

1. Input

2. Storage

3. Process

4. Output

These are what make computers computers.

So all computers must be able to carry out these tasks in order to be referred to as a computer.

Input

Input can be referred as any form of data that is passed to the computer for processing. This input can come in any form including text, numbers, images, sound and even electrical…


Image for post
Image for post
image credit: Kwame Sarpong

For those building production applications may decide to use Amazon Web Services to host their applications and also take advantage of the many wonderful services they offer. One of these services is Amazon S3 (Simple Storage Service). This service is responsible for storage of files like images, videos, music, documents and so on. It is also important for storing static files for web applications, like CSS and JavaScript files.

In this tutorial, I will be showing how to upload files to Amazon S3 using Amazon’s SDK — Boto3.

  1. Get Your Access Key and Access Secret

Once you have an account…


Image for post
Image for post

When you have an application that requires users to login using their Twitter accounts, you will have to implement the Twitter Sign in API. The challenge with this is that the implementations of Twitter Sign in is based of OAuth, which can seem overly complicated.

This tutorial will be using a library called Requests-OAuthlib to ease the process of developing an application that allows users to be able to sign in easily with their Twitter accounts.

  1. Register as a developer on Twitter: You have to register as developer on Twitter. This can be done from this link
  2. Create an app…


Image for post
Image for post

When you have an application that requires users to login using their Twitter accounts, you will have to implement the Twitter Sign in API. The challenge with this is that the implementations of Twitter Sign in is based of OAuth, which can seem overly complicated.

This tutorial will be using a library called Requests-OAuthlib to ease the process of developing an application that allows users to be able to sign in easily with their Twitter accounts.

  1. Register as a developer on Twitter: You have to register as developer on Twitter. This can be done from this link
  2. Create an app…


Image for post
Image for post

I needed to install elasticsearch on my AWS instance, and this took me such a long time. I actually went online to search and posted the issue on a number of tech forums but no response.

Apparently, I guess I was thinking about the problem too much. One morning, I remembered my boss telling me, “Just install it like any other computer”. And that’s what I did. I came across a few hurdles and that’s why I’m writing about it — so you don’t spend as much time as i did thinking about a solution that’s right in your face…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store