Building Rest API using Serverless Architecture

In AWS re:Invent 2016 a very interesting session was presented regarding a framework named Chalice: Using this framework we can build RestAPI in fastest way and deploy on AWS using API gateway and AWS lambda.  Programming language used – Python. Advantages of using this technology…

PTVS – Python tools for Visual Studio

Python tools for Visual Studio might be a very good alternative IDE on windows.   http://www.hanselman.com/blog/OneOfMicrosoftsBestKeptSecretsPythonToolsForVisualStudioPTVS.aspx PTVS is a free/OSS plugin that turns Visual Studio into a Python IDE. PTVS supports CPython, IronPython, editing, browsing, Intellisense, mixed Python/C++ debugging, profiling, HPC clusters, multiple REPL’s, IPython,…

More on Git & GitHub

This post describes “know how” about the GitHub & links to Git Tuts GIT is powerful source control tool & github provides cloud based free repo for opensource projects. First create your account on GIThub https://github.com Setup your gitbash on your machine ( use link…

Reading text file in Python

Consider there is a file in /tmp/country.txt contents in the file are like below country name , population , language etc. United Kingdom,57533000,London,6756000,Europe,1066,1945,-,English United States,252177000,Washington DC,606900,North America,1776,1945,-,English Venezuela,19733000,Caracas,1290087,Latin America,1811,1945,-,Spanish Vietnam,67589000,Hanoi,1088862,Orient,1945,1977,-,Vietnamese Yemen,1184300,San’a,427150,Asia,1918,1957,Islam,Arabic Argentina,36955182,Buenos Aires,2033445,Latin America,1853,1945,-,Spanish Brazil,172860370,Brasilia,286037,0Latin America,1822,1945,-,Portuguese Bahrain,634137,Manama,34137,Persian Gulf,1973,1977,Islamic,Arabic Cameroon,15421937,Yaounde,421937,Africa,1960,1974,-,Franch Djibouti,451442,Djibouti,1442,Africa,1977,1980,-,Franch Equatorial Guinea,474214,Malabo,74214,Africa,1991,1995,-,Franch Fiji,832494,Suva,32494,Oceania,1970,1975,-,English France,59329691,Paris,329691,Europe,486,1945,-,Franch Greece,10601527,Athens,601527,Europe,1829,1945,-,Greek…

Access SOAP webservice from Python

HTTP Lib can be used to call soap webservices http://docs.python.org/library/httplib.html  There are many SOAP python client frameworks SOAPpy Suds urllib2 Article @ http://www.threepillarglobal.com/https-client-authentication-solution-for-the-suds-soap-library  gives insight on SSL certificate based authentication