Leandro:

The only dummy questions are the ones never asked!

You can checkout a copy and stick it in the modules folder of your
application, and instead of

``import web2py_utils``

you can do

web2py_utils = local_import('web2py_utils')

Mind you, I designed this so that only the code in __init__.py gets
imported, so if you wanted pagination you will need to do.

pagination = local_import('web2py_utils.paginate')

set = pagination.Pagination(....)

Most of the code should work on GAE, I have not tested so if you run
into any problems I don't mind fixing them!


Patrick:

Its almost there! I want to get the layout manager working better so
that you can hot-swap layouts like in wordpress.


--
Thadeus





On Thu, Apr 29, 2010 at 9:09 AM, DenesL <[email protected]> wrote:
> Thanks for sharing.
>
> On Apr 28, 9:02 pm, Thadeus Burgess <[email protected]> wrote:
>> I have decided to share some of the libraries that I have found useful
>> when creating web2py apps.
>>
>> This contains lots of goodies, and some nice shortcuts.
>>
>>     * Common shortcuts
>>     * Widgets
>>     * py2jquery module
>>     * Heirarchical category module.
>>     * Database store configuration settings
>>     * Class based menu builder
>>     * syntax highlighting
>>     * Output compression
>>     * Pagination
>>     * Stop words lists
>>     * Levenstien algorithm
>>     * NGram algorithm
>>     * New SQLHTML widgets (able to pass class attributes to them)
>>     * Convert wordpress xml export into a python dict!
>>     * Comments, tagging, and pingback/trackback plugins!
>>
>> And more!
>>
>> The whole library is designed to be installed like any other python
>> package using setuptools. For basic usage you can just import the
>> package normally.
>>
>> However, the plugins are there for convenience, and so that I can keep
>> them all in the same place, but you will need to copy them to your app
>> to actually use them.
>>
>> Read the documentation here
>>
>> http://static.thadeusb.com/web2py_utils/index.html
>>
>> And the source code is located here
>>
>> http://hg.thadeusb.com/Web/web2py_utils/summary
>>
>> I am open to ideas/suggestions, and if you want to contribute let me know!
>>
>> p.s. blogitizor gets some loving tonight, and is being migrated to use
>> this library.
>>
>> --
>> Thadeus
>

Reply via email to