Metadata-Version: 1.1
Name: item
Version: 0.0.3
Summary: API to describe schema of data to extract them from HTML
Home-page: https://github.com/lorien/item
Author: Gregory Petukhov
Author-email: lorien@lorien.name
License: MIT
Description: ====
        item
        ====
        
        .. image:: https://travis-ci.org/lorien/item.png?branch=master
            :target: https://travis-ci.org/lorien/item?branch=master
        
        .. image:: https://coveralls.io/repos/lorien/item/badge.svg?branch=master
            :target: https://coveralls.io/r/lorien/item?branch=master
        
        .. image:: https://pypip.in/download/item/badge.svg?period=month
            :target: https://pypi.python.org/pypi/item
        
        .. image:: https://pypip.in/version/item/badge.svg
            :target: https://pypi.python.org/pypi/item
        
        .. image:: https://landscape.io/github/lorien/item/master/landscape.png
           :target: https://landscape.io/github/lorien/item/master
        
        
        Usage Example
        =============
        
        .. code:: python
        
            from item import Item
            from lxml.html import fromstring
        
            class SomeStructure(Item):
                id = IntegerField('//path/to/@id')
                name = StringField('//path/to/name')
                date = DateTimeField('//path/to/@datetime', '%Y-%m-%d %H:%M:%S')
        
            structure = SomeStructure(fromstring(SOME_HTML))
            print(structure.id)
            print(structure.name)
            print(structure.date)
        
        
        Installation
        ============
        
        .. code:: bash
        
            pip install item
        
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Software Development :: Libraries :: Python Modules
