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


Groups > comp.lang.python > #105052 > unrolled thread

Any sqledit/sqlkit users here?

Started bycl@isbd.net
First post2016-03-16 16:48 +0000
Last post2016-03-16 16:48 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

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

#105052 — Any sqledit/sqlkit users here?

Fromcl@isbd.net
Date2016-03-16 16:48 +0000
SubjectAny sqledit/sqlkit users here?
Message-ID<lbforc-p94.ln1@esprimo.zbmc.eu>
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
ยท

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web