Get any new editorials published in The Hindu, the leading english daily in India.
- Requests - http://docs.python-requests.org/en/latest/
- FeedParser - https://pythonhosted.org/feedparser/
- BeautifulSoup - http://www.crummy.com/software/BeautifulSoup/
Adding feedparser to GAE
Google App Engine supports only certain libraries. For other libraries, including feedparser, additional steps need to be taken in order to make it work.
For this, follow these steps
- Install virtualenv
sudo pip install virtualenv
- Create virualenv outside source
virtualenv ../appenv
- Activate virtualenv
source ../appenv/bin/activate
- Make a lib folder in application source
mkdir lib
- Install the dependencies in lib folder using pip
pip install -t lib -r requirements.txt
And you are done.
Deploy the application to local machine using dev_appserver.py .