New small project: stackquery-dashboard

I’ve started a new project called stackquery-dashboard. Basically, it’s a web interface to show reports about user contribution in OpenStack, using the stackalytics.com API and part of the code from launchpadstats from  Martina Kollarova.

The first reason I start this project is because stackalytics.com only shows reports for each user, and sometimes managers in companies working with OpenStack, need a overview of all their employees at once, and it’s kinda boring to look for each user and then mount a spreadsheet.

The project have a Web interface, where you can create teams, assign users for these teams and generate reports based on several OpenStack projects (actually, right now it’s only Openstack and Stackforge).

The second reason is because for a long time I wanted to use Python for web, and it was a good opportunity to start.

Flask is really amazing and very easy to learn. I read this book and in one day I was already doing some cool stuff.
Also, since I’m not a Web designer, I had the opportunity to learn about Twitter bootstrap, which is very good for people who have no idea how CSS and JavaScript works and don’t want to waste a lot of time learning before start some project using these technologies.

The project is very simple, and still in the earlier stages. I’m not sure if it will be useful for anyone, but if is, please, let me know. I would be glad to hear about it.

Next steps
  • I need to work on the unit tests (yes, I started the project before create the unit tests, but I’ll fix it soon)
  • Documentation
  • More API’s
  • More types of reports
  • Make the project work with modules so you can have modules enabled for other types of reports
  • Create a config file
  • Save the state in the forms between posts
  • Better message system when delete, update and create teams, users, projects, etc.
  • Can’t think anything else for now.

And if you’re interested, here’s a few screenshots:

Screen Shot 2015-02-05 at 10.56.10 Screen Shot 2015-02-05 at 10.56.17 Screen Shot 2015-02-05 at 10.56.25
Screen Shot 2015-02-05 at 10.57.08

2 thoughts on “New small project: stackquery-dashboard”

  1. hi arx, it’s a cool project, I am interested with this one, I download the code from github, but don’t find any readme to play with.
    I install pip requirements and python setup.py install, installation finished and I can see stackquery_dashboard-0.4-py2.7.egg in /usr/local/lib/python2.7/dist-packages/

    Using /usr/local/lib/python2.7/dist-packages
    Finished processing dependencies for stackquery-dashboard==0.4

    but how can I access the web site?

    http://127.0.0.1:5000/

    what I can only seen is :

    {“versions”: {“values”: [{“status”: “stable”, “updated”: “2013-03-06T00:00:00Z”, “media-types”: [{“base”: “application/json”, “type”: “application/vnd.openstack.identity-v3+json”}], “id”: “v3.0”, “links”: [{“href”: “http://taget-ThinkStation-P300:5000/v3/”, “rel”: “self”}]}, {“status”: “stable”, “updated”: “2014-04-17T00:00:00Z”, “media-types”: [{“base”: “application/json”, “type”: “application/vnd.openstack.identity-v2.0+json”}], “id”: “v2.0”, “links”: [{“href”: “http://taget-ThinkStation-P300:5000/v2.0/”, “rel”: “self”}, {“href”: “http://docs.openstack.org/”, “type”: “text/html”, “rel”: “describedby”}]}]}}

    can you give some guide on this?

    1. Hi Eli,

      Indeed, it’s missing a README file.

      For debug purposes, you can download from git, enter in the dashboard directory, and run python manage.py runserver, and you will have it running in http://127.0.0.1:5000

      Cheers!

Leave a Reply

Your email address will not be published. Required fields are marked *