Metadata-Version: 1.1
Name: SimpleORM
Version: 0.1.0
Summary: Simple SQLite3 Object Relational Mapper for Python.
Home-page: https://github.com/hideshi/SimpleORM
Author: hideshi
Author-email: hideshi.ogoshi@gmail.com
License: LGPL
Description: Simple SQLite3 Object Relational Mapper for Python.
        
        Requirements
        ------------
        * Python 3.3 or later
        
        Features
        --------
        * Under construction
        
        Setup
        -----
        ::
        
           $ pip install SimpleORM
        
        History
        -------
        0.1.0 (2014-03-13)
        ~~~~~~~~~~~~~~~~~~
        * first release
        
        Example
        -------
        
        .. code-block:: python
        
            from simpleorm import BaseDao
            from classes import Employee
            from collections import OrderedDict
        
            class SelectEmployeeAll(BaseDao):
                sql = '''
            SELECT A.ID
                  ,A.NAME
                  ,B.NAME AS BOSS_NAME
              FROM EMPLOYEE A
              LEFT OUTER JOIN EMPLOYEE B
                ON B.ID = A.BOSS
            '''
        
            if __name__ == '__main__':
                param = OrderedDict()
                result = SelectEmployeeAll(dbfile = 'test.db', return_type = Employee).execute(param)
                for elem in result:
                    print(elem.id, elem.name, elem.boss_name)
        
        .. code-block:: python
        
            class Employee:
                id = None
                name = None
                boss_name = None
        
        
Keywords: SQLite3,ORM,Framework
Platform: MacOS
Platform: POSIX
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Database
