<p dir="ltr">Flask-Admin is a generic administration interface, providing access to SQLAlchemy models, files, forms, etc.</p>
<p dir="ltr">The goal of this module is to provide an interface to query SQLAlchemy models, and allow the users to build complex(ish) queries taking all related models into account.</p>
<p dir="ltr">The workflow is (roughly) as follows:</p>
<p dir="ltr">• you choose a base model<br>
• you are then presented with the model's fields, together with all the related models and their fields, and the models related to those, etc.<br>
• you build the list of fields you want in the output<br>
• you set up some filters *<br>
• you see a bunch of rows while you are selecting fields (10 by default)<br>
• when you are done, you can view all the records (not just the 10 "example" rows), paginated *<br>
• …and you can save the results in CSV format *</p>
<p dir="ltr">* not implemented yet</p>
<p dir="ltr">The idea was to present my colleagues with such an interface, so they can do all the "complex" queries they request from me on a daily basis.</p>
<p dir="ltr">Best,<br>
Gergely</p>
<br><div class="gmail_quote"><div dir="ltr">On Wed, Jun 21, 2017, 20:18 Corey Boyle <<a href="mailto:coreybrett@gmail.com">coreybrett@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How would it compare to Flask-Admin?<br>
<br>
On Wed, Jun 21, 2017 at 11:27 AM, Gergely Polonkai <<a href="mailto:gergely@polonkai.eu" target="_blank">gergely@polonkai.eu</a>> wrote:<br>
> Hello,<br>
><br>
> I’ve started working on a Flask and SQLAlchemy based library to query<br>
> SQLAlchemy models through a web interface. It can be downloaded here:<br>
> <a href="https://gitlab.com/gergelypolonkai/flask-sqlalchemy-webquery" rel="noreferrer" target="_blank">https://gitlab.com/gergelypolonkai/flask-sqlalchemy-webquery</a><br>
><br>
> I developed it with Python3 in mind; it may or may not work with Python2.<br>
> Also, the web interface currently depends on Flask-Bootstrap and uses CSRF<br>
> tokens from Flask-WTF, but these could be easily eliminated.<br>
><br>
> I would be grateful to get some comments and ideas about it. Also, if you<br>
> find some code in it that makes you scream, don’t keep it in yourself! And<br>
> if you know about a library that does the same (and thus, I should stop<br>
> working on this one instead of contributing to that one), please let me<br>
> know!<br>
><br>
> Best,<br>
> Gergely<br>
><br>
> _______________________________________________<br>
> Flask mailing list<br>
> <a href="mailto:Flask@python.org" target="_blank">Flask@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/flask" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/flask</a><br>
><br>
</blockquote></div>