Live data from Hacker News

Pyxley: Python Powered Dashboards

multithreaded.stitchfix.com

31–40 of 47 posts

Re: Pyxley: Python Powered Dashboards

#31
post #29

Earlier quoted context omitted.

>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.

Re: Pyxley: Python Powered Dashboards

#32
post #12

How easy is it to integrate a chart or graph into a larger project? My biggest gripe with Shiny is how difficult is to use the R calculate and graphing functions in a larger project without using OpenCPU as an API. My guess is that with Python being a more general purpose language, this should be easier..

I've been working on a lightweight API solution for R recently. Still needs a bit of devops tooling, but I think the code is converging on stability.

Re: Pyxley: Python Powered Dashboards

#34

looks cool. shiny is very neat, but has the limitation of having R behind it and debugging ain't fun. I very much look forward to testing pyxley!

Why is having R a limitation? R is a fantastic data language which arguably beats all others in terms of number of libraries and data manipulation tools.

R has no native bayesian library like Pymc 3 (Must use stan which is c++). Also Python is better for ad hoc and agent based modeling and for out of core data with blaze and dask.

So no, R is not ahead in everything.

Re: Pyxley: Python Powered Dashboards

#35
Wow, this is really cool. Playing around w/ US state maps in examples right now. I love stuff like this partially because of the hands on introductions to component technologies I had heard of but not used before.

Re: Pyxley: Python Powered Dashboards

#36
post #22

Earlier quoted context omitted.

I actually just implemented some thing very similar to this. You probably want to checkout Dashing [1] which has built in plugins for a lot of things already. It's pretty easy to work with as well. [1] https://shopify.github.io/dashing/

Dashing is great, but it's Ruby on the backend, not Python :)

It actually has a REST API for sending a dashboard data so you can pump in new data from Python or any language.

Re: Pyxley: Python Powered Dashboards

#37

Earlier quoted context omitted.

Unless you have a screen with 50,000 pixels you would need to downsample the data anyway, wouldn't you normally do that instead of handling a visualization library the full data set?

You actually do have a screen with 50k pixels. Many more than that. A continuous heat map over two dimensions, at 500x500 pixels, is 250,000 pixels. Of course, to generate the heat map, you have to aggregate (binning on two dimensions), but you don't have to downsample.

Right. I was thinking only of time series.

Re: Pyxley: Python Powered Dashboards

#38
post #12

How easy is it to integrate a chart or graph into a larger project? My biggest gripe with Shiny is how difficult is to use the R calculate and graphing functions in a larger project without using OpenCPU as an API. My guess is that with Python being a more general purpose language, this should be easier..

For backend monitoring purposes, one common solution is to stand up statsd and consume it from Grafana.
Post reply on HN