We are a small, intelligent App development studio. We love "Building Amazing Apps", solving problems and cultivating strong relationships with our clients.
Using bpython shell with django (and some Ipython features you should know)
By : lakshman
What is bpython?
bpython is a fancy interface to the Python interpreter for Unix-like operating system.
says the bpython home page. It provides syntax highlighting, auto completion, auto-indentation and such stuff.
Unlike iPython, which implements then entire shell functions and emulates the standard python shell, and adds enhancements, bpython just adds features on top of the existing python shell functionality, using the curses module.
The "killer feature" of bpython is, as you can see from the image above, the IDE like prompting of the function parameters and the doc string of the function dynamically. I have always thought, what IntellijIDEA ...
more info..Foss.in 2009: The best foss.in. Ever.
By : lakshman
There are technology conferences, and then there are gatherings of passionate technology enthusiasts. You will most likely not know what I am talking about, unless you saw that someone wrote a software for controlling a toy-car, using it's blue tooth module, from an Nokia phone, at the event. You will most likely not know what I am talking about, unless you were at Nimhans Convention center at Bangalore between 1st to 5th December 2009.
Foss.in had its beginnings 10 years ago, as linux bangalore, whose objective was the popularize free and open source software to local Indians. From ...
more info..Pycon India 2009 : A Review
By : lakshman
Pycon India concluded last weekend at Indian Institute of Science, Bangalore.
There have been so many python/django conferences recently, I have been tracking them literally all through the year. Another one, SciPy India just got announced. Week long, with sprints!
Pycon India was attended by around 350 people and had 30 talks. I have attended many conferences, but this one was different. This one was where real people, the real developers gave talks and socialized. No enterprise BS, just the real thing*.
There were a vast majority of good talks. However, I could only attend a few. Strand use ...
more info..Better Python package management using source and version control systems
By : lakshman
Thanks to awesome django community, there is plenty of open source django code around.
These packages get updated quite often and if you use it often like we do, you'd have possibly realized the need to manage these packages better.
Thankfully, all python ever needs is the source, and all you need to do is to place the source in the python path.
Most projects use Distributed Version Control Systems like Mercurial and Git, and they come locally with the entire history of the source which provides a lot of control to use any version of the code. For ...
more info..Yahoo BOSS python api
By : lakshman
Yahoo has a search api with generous limits, BOSS. There are a few python apis around it. But we wanted a lighter api, and one which has the same interface as out Bing Python api. So here is the updated bingapi.(Now with bossapi.py as well). Or svn it from here
Usage
Usage is mostly compatible with bingapi
In [2]: from bingapi import bossapi
In [3]: api = bossapi.Boss('<appid>')
In [4]: api.do_web_search('Uswaretech')
Out[4]: ....
In [5]: api.do_news_search('salsa')
Out[5]: ...
In [6]: api.do_siteexplorer_search('http://uswaretech.com')
Out[6]: .....
Python Wrapper on Bing API
By : lakshman
The newly launched search engine Bing has a simple restful API. We have created a thin Python wrapper over this API, which allows to query the Bing servers in a very pythonic way.
Installing this is as easy as easy_install bingapi.
Using
from bingapi import bingapi
bing = bingapi.Bing(<appid>)
bing.do_web_search('Usware Technologies')
The README from the project is posted below, which provides more details on using this.
bingapi.py is a very thin python wrapper over the Bing API. Bing provides a very simple Restful interface to their search engine and provides ...
more info..Develop Twitter API application in django and deploy on Google App Engine
By : lakshman
Twitter's robust REST API enables building of good applications that leverage its increasingly large and real-time data.
Google's cloud system App Engine not only provides a scalable platform for deploying applications, but also proves to be economically viable because of its pay per resource usage model and a large free quota.
Little wonder then, there are increasingly large number of twitter apps being deployed on App Engine.
In this post, I am going to examine how to create a simple application based on twitter's REST API and deploy it on Google App Engine. A deployed version can ...
more info..Exploring Authorize.net Payment Gateway Options and integrating it with django
By : lakshman
Authorize.net has a user base of over 200k merchants making it the largest payment gateway service provider. Most e-commerce solutions already integrate with Authorize.net, including our favorite e-commerce store Satchmo, developed in django, that we have covered earlier.
However, many shopping portals still require custom development. The robust REST API Authorize.net offers (AIM and SIM) allows for integration with e-commerce merchants' websites.
The AIM API allows for the check out of the customer within the merchant's site, it requires SSL certificate for the merchants site and data is to be transferred in an 128-bit encrypted format ...
more info..Finding keywords using Python
By : lakshman
Update: keywords2.txt is Pride and Prejudice from Project Gutenberg. Attached for convenience.
Finding keywords in a given snippet of text has many uses. From classifying web pages to fighting spam mails, keyword recognition is the first step in many algorithms.
We here show the naive Bayesian filter to find keywords, which was popularised by Paul Graham to discover spam mails.
Steps to find keywords.
- Have a large corpus of text against which we will compare.
- Find the relative frequency of words in corpus. Eg if your corpus is "the green way is very green way green". Relative frequency is ...
How we built a Twitter Application
By : lakshman
Twitter, just like many other Web2.0 sites, has an excellent API. So much so, writing a twitter app is considered to be "Hello World" of Web2.0 Programming.
I wrote an application recently. It is DM++. By default, this application allows you to receive direct messages from twitter users you have @replied even if you currently don't follow them. You can even configure application to be able to receive direct messages from people you have @replied in only last 2 days, or receive Dm from all other twitter users.
Look how many people are currently complaining Cant DM ...
more info..- Common testing scenarios for Django app.
- Logging in Django
- Serving static files in Django
- Two Scoops of Django: Review
- Introduction to Python Workshop on February 15th, 2013
- Easy client side form validations for Django: Django Parsley
- MoreApps - Android Library Project: Open Sourced
- Tutorial: Building a Chrome app
- Password Generator App: Open Sourced
- Todo List App: Open Sourced
- April 2013
- March 2013
- February 2013
- January 2013
- November 2012
- October 2012
- September 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- October 2011
- September 2011
- July 2011
- June 2011
- April 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- June 2010
- April 2010
- March 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- April 2009
- March 2009
- February 2009
- November 2008
- October 2008
- June 2008
- May 2008
- April 2008
Great Indian Developer Summit 2010: A Review
By : lakshman
Great Indian Developer Summit, is the India's largest developer conference, held at Bangalore, India; in its third edition this year. The conference concluded last Friday. The summit had about a 1000 visitors on the first day and a comparable number on the other days.
The conference basically caters to the enterprises, and hence their focus on the .Net, Java and Flash. There were many star speakers.
I gave a talk on django, introducing it and then explaining the standard community conventions to make good reusable applications. Django, being a social software, developed by a community, it is important to ...
more info..