No project description provided
Project description
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()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.