How to configure virtualenvwrapper with python3 in OSX Mojave

If you are a developer working with python, you should be using VirtualEnv to manage requirements for your projects and Virtualenwrapper to make your life easier with useful shortcuts. Virtualenvwrapper has a very good documentation and python installation with Homebrew is straightforward, but It's ...

Introduction to machine learning and pytorch

First thing first, I am no expert on machine learning. But I am studying it and I am very interested in it. This blog post is product of what I have studied so far, so I apologize for the errors or imprecisions it may ...

Creating a basic artificial neural network on python using keras

With the popularity that deep learning has acquired recently, artificial neural networks have become very relevant in the world of AI. Artificial neural networks are not a new concept, they have suffered for a long time before being recognized as a powerful tool. If ...

Speed up experiments with Jupyter

Quick iterations are essential to test concepts, discard bad ideas and get focused on what  may actually solve our problem. When I first started using Python, I used scripts for everything. Scripts are awesome to automate stuff and can be easily integrated into bigger ...

How to do a Wizard Form with Django

Many times, we have a form with a lot of fields and we need to use it, but we don't want users to get bored filling the form or that they stop at middle of the form and they end up leaving the website. ...

Diagnosing bottlenecks on your python program

I had an application that required loading some images and performing operations on them. Depending on the size of the images, the memory requirements of the application could make the whole system crash. This needed to be stopped... or at least understood. Looking around, ...

Testing Files with Python/Django

One of the most important moments when writing a python application is testing. It could be boring, tedious and {{ insert your favorite insult here }}, but it will save your life when that careless teammate goes and twists everything (that careless teammate could ...

Simply Django: Announcements

Once you have a site on production, new needs start showing up. For us one of those needs was to be able to send information to our users when something was happening to the application, like some update or maintenance. There are two simple ...

How to create a Django Application using Cookiecutter

The Django Cookiecutter created by Pydanny allow us to create a Django application with a great structure and best practices in no time. The official repository is located at: https://github.com/pydanny/cookiecutter-django Even though, the documentation is clear, I want to show you the whole process: Install ...

Dockerizing Django Apps

Docker is an open platform for building, shipping and running distributed applications. It gives programmers, development teams and operations engineers the common toolbox they need to take advantage of the distributed and networked nature of modern applications. Containerization provides several advantages like faster provisioning or ...