Metadata-Version: 1.1
Name: avoin
Version: 0.0.9.dev-20121012
Summary: Misc python tools
Home-page: https://github.com/ypcs/avoin
Author: Ville Korhonen
Author-email: ville@xd.fi
License: GPLv3
Description: # avoin
        Python code for data scraping  
        (c) 2012 Ville Korhonen (ville@xd.fi), GPLv3
        
        ## Installation
        You may install directly from PyPI using:
        
            pip install avoin
        
        or latest HEAD via git:
        
            pip install git+https://github.com/ypcs/avoin.git#egg=avoin
            
        ## Using (via Python Shell)
            >>> from avoin.scraper.scraper import DefaultScraper, html_title_parser
            >>> scraper = DefaultScraper()
            >>> url = 'http://www.google.com/'
            
            >>> result = scraper.parse(url, parser=html_title_parser)
            >>> print result
            Google
            
            >>> result = scraper.parse(url, parser=html_title_parser, format='json')
            >>> print result
            "Google"
            
        
        ## Using (via command line)
        Fetch all URLs from webpage as plaintext
        
            avoin xpath --url 'http://ypcs.fi/' --xpath '//a/@href' --format text
            
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Developers
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
