We are a small, intelligent App development studio. We love "Building Amazing Apps", solving problems and cultivating strong relationships with our clients.
Getting trending Github projects via YQL
By : Shabda Raaj
Github.com/explore allows you to see the trending Github topics. They use repopular.com for this, which use twitter retweets to find out the popular Github repos.
Since neither Repopular, nor Github have a RSS of these trending repos, I wanted to get a list of these. Here is how easy it is with YQL.
How we do it
-
Go to YQL console. Give the SQL query to get the data from the webpage.
-
where url="repopular.com" and css="div.pad a"is the magic which select the webpage, and also what DOM elemenst we are interested in ...
Django-SocialAuth - Login via twitter, facebook, openid, yahoo, google using a single app.
By : Shabda Raaj
TL;DR version: Here is an app to allow logging in via twitter, facebook, openid, yahoo, google, which should work transparently with Django authentication system. (@login_required, User and other infrastructure work as expected.) Demo and Code.Longer version follow:
We are releasing our new app. Django-Socialauth. This app makes it awfully easy, to allow users to login your site using Yahoo/Google/Twitter/Facebook/Openid. A demo is available here.
This is released under an Attribution Assurance License. A copy of the same is provided included with the code.
After installing this app, you can use @login_required on any view ...
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..- 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
Dropbox file upload handler for django
By : Thejaswi Puthraya
Dropbox announced new pro plans last week and some accounts have had their storage size doubled. Wouldn't it be wonderful if we could upload all our files to dropbox from our django webapp?
In this post, I write a custom file upload handler that will upload files from our application to dropbox.
Let us see how to use the custom file upload handler.
Install the Dropbox Python SDK before you setup your django app to handle the file uploads.
In your settings.py, add the following attributes (with the values filled):
more info..