Metadata-Version: 2.1
Name: LazyPony
Version: 0.3.1
Summary: UNKNOWN
Home-page: https://github.com/stsouko/LazyPony
Author: Dr. Ramil Nugmanov
Author-email: stsouko@live.ru
License: LGPLv3
Platform: UNKNOWN
Classifier: Environment :: Plugins
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.6.7
Requires-Dist: pony (>=0.7.9)
Requires-Dist: guppy3 (>=3.0.9)

Lazy load of database


example:
========

**file1.py**

    from LazyPony import LazyEntityMeta

    class A(metaclass=LazyEntityMeta):
        id = PrimaryKey(int, auto=True)


**file2.py**

    from LazyPony import LazyEntityMeta

    db = Database()
    LazyEntityMeta.attach(db)
    db.bind()
    db.generate_mapping()

**file3.py**

    from file1 import A

    query = A.select()


