Use the pydal, it's there to be used anywhere: https://github.com/web2py/pydal
And it's well maintained 2015-02-20 22:05 GMT+01:00 Michael Lam <wy2...@gmail.com>: > Massimo seems to had ported much of web2py components to other frameworks: > > https://github.com/mdipierro/gluino > > It hadn't seen updates since 2 years ago but it might serve as a starting > point? > > > On Friday, 20 February 2015 09:35:25 UTC-5, Laer Cius wrote: >> >> Hi, >> >> I try to use DAL as standalone but I got this message back : >> >> TypeError: __init__() got an unexpected keyword argument 'lazy_tables' >> >> Here's the code placed in test.py which is in applications/myap/modules : >> _______________________________________________________________________ >> >> from gluon.dal import DAL >> from gluon.dal import Field >> from gluon.validators import * >> >> db = DAL('sqlite://storage.sqlite', lazy_tables=True) >> _______________________________________________________________________ >> >> >> Web2py Version is 2.9.12-stable+timestamp.2015.01.17.06.11.03 >> >> Thank you, >> >> -- >> “One original thought is worth a thousand mindless quotings.” >> “Le vrai n'est pas plus sûr que le probable.” >> >> Diogene Laerce >> >> >> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.