Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #105052

Any sqledit/sqlkit users here?

From cl@isbd.net
Newsgroups comp.lang.python
Subject Any sqledit/sqlkit users here?
Date 2016-03-16 16:48 +0000
Message-ID <lbforc-p94.ln1@esprimo.zbmc.eu> (permalink)

Show all headers | View raw


Does anyone here use sqledit/sqlkit?  It's a sqlite database
browser/editor which does most of its work by introspection (at least
I think that's the right name for it).

Thus it's trivially simple to write a gui program to edit data in a
database:-

    #!/usr/bin/python

    from sqlkit.widgets import SqlTable
    from sqlkit.db import proxy

    import gtk

    db = proxy.DbProxy(bind="sqlite:////home/chris/tmp/odinlog.db")

    t = SqlTable('tripLog',    dbproxy=db, order_by='Date' )
    t.reload()

    gtk.main()


(Yes, I know exit/close is missing)

Just run the above (against an existing database) and you get a very
neat looking, editable, grid view.

I was wondering if there are any active users with whom I could share
ideas, the mailing list is quite quiet though there is activity to
move the code to bitbucket and allow more contributions.

I'm just a bit overwhelmed by it at the moment and need some feedback.

-- 
Chris Green
ยท

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Any sqledit/sqlkit users here? cl@isbd.net - 2016-03-16 16:48 +0000

csiph-web