Basic authentication in web.py via attribute

Here I demonstrate the process of Basic Authentication in web.py python web framework. There is a proof of concept article provided in the main site,however I just thought doing the same via an attribute might be a cleaner solution. HTTP Basic authentication implementation is one of the easiest ways to secure web pages because it doesn’t require cookies, session handling, or the development of login pages. Rather, HTTP Basic authentication uses static headers which means that no handshakes have to be done in anticipation,however the n the credentials are passed as plain-text and could be intercepted.
Read more →

Factorial in python

Read more →

Auto Complete with Redis (Python)

Read more →

How To Install and use Python Web.py framework on Windows

Web.py has been one of my favorite web frameworks as its pretty easy to get cracking on it. It’s super quick to install and one can come up with a prototype and rapid web services in matter of minutes. Install on windows If you haven’t configured easy_install on windows, then read this article. Once easy_install has been configured believe it or not, all you have to do is open a command prompt and type
Read more →

How to setup easy_install on Windows

If one has been using python, then installing various libraries and modules is basically a breeze using easy_install utility, however for folks using windows, easy_install utility has to be setup properly before using it. First lets make sure that python is properly installed and PYTHON_HOME environment variable is configured: Install Python on Windows If not already installed download python installer from here. After it’s done downloading, double click to run the installer, and select default options (unless you have other custom needs of course ).
Read more →