News for hackers. Stuff that matters.
Re:Pyxley: Python Powered Dashboards by nmkridler on Thursday July 16, 2015 @07:07PM (#9900408)
The flask dependency is pretty strong because I used the requests module for the api route functions. It should be possible to override it and use django instead, but I don't know django that well. It's probably a good idea to separate that dependency so it's a little more flexible.
Re:Pyxley: Python Powered Dashboards by meowface on Thursday July 16, 2015 @07:11PM (#9900422)
>The flask dependency is pretty strong because I used the requests module for the api route functions.

Not sure I understand? Are you talking about Kenneth Reitz's requests module? Why would that tie you to Flask or any other framework or library?

Re:Pyxley: Python Powered Dashboards by Thrymr on Thursday July 16, 2015 @07:40PM (#9900543)
pyxley uses `flask.request`, not Kenneth Reitz's `requests`.
Re:Pyxley: Python Powered Dashboards by nmkridler on Thursday July 16, 2015 @08:35PM (#9900738)
Yup, that one. I planned on simply filtering a pandas dataframe using the request.args that are passed in. The javascript components can be used directly, but I wrote the python wrappers as a convenience for really simple dataframes.