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.
[ Parent
| on HN ]
>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?
pyxley uses `flask.request`, not Kenneth Reitz's `requests`.
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.