Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #66857 > unrolled thread

is there a package similar to SHINY in R for python ...

Started byanujg1984@gmail.com
First post2014-02-21 15:28 -0800
Last post2014-02-22 20:21 -0500
Articles 6 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  is there a package similar to SHINY in R for python ... anujg1984@gmail.com - 2014-02-21 15:28 -0800
    Re: is there a package similar to SHINY in R for python ... Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-02-21 21:57 -0500
    Re: is there a package similar to SHINY in R for python ... Michael Torrie <torriem@gmail.com> - 2014-02-21 20:10 -0700
    Re: is there a package similar to SHINY in R for python ... Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-02-22 14:04 -0500
    Re: is there a package similar to SHINY in R for python ... Michael Torrie <torriem@gmail.com> - 2014-02-22 16:07 -0700
    Re: is there a package similar to SHINY in R for python ... Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-02-22 20:21 -0500

#66857 — is there a package similar to SHINY in R for python ...

Fromanujg1984@gmail.com
Date2014-02-21 15:28 -0800
Subjectis there a package similar to SHINY in R for python ...
Message-ID<f0fe49f6-ae05-46e1-b7ba-554b728b730e@googlegroups.com>
I want to have textboxes, sliders, and buttons in the web browser that change the data visualization just like shiny does in R.

Is there something like that in python. 
Bokeh makes graphs in the browser, but they dont provide a way to manipulate the graph with sliders, textboxes etc. ? 

[toc] | [next] | [standalone]


#66865

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2014-02-21 21:57 -0500
Message-ID<mailman.7246.1393037883.18130.python-list@python.org>
In reply to#66857
On Fri, 21 Feb 2014 15:28:55 -0800 (PST), anujg1984@gmail.com declaimed the
following:

>I want to have textboxes, sliders, and buttons in the web browser that change the data visualization just like shiny does in R.
>
>Is there something like that in python. 

	Python doesn't really matter here... You've described HTML objects, and
for dynamic ones, you are likely talking either M$ "ASP", or Javascript
(unless you have a browser that can run embedded Python scripts).

	At least, I'm guessing you don't intend to have every movement of a
"slider" trigger a page refresh from a server -- you want the action to
operate /in/ the browser. "In the browser" means the server language
doesn't matter -- it's solely the Javascript that gets sent to the browser.
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [prev] | [next] | [standalone]


#66866

FromMichael Torrie <torriem@gmail.com>
Date2014-02-21 20:10 -0700
Message-ID<mailman.7247.1393038654.18130.python-list@python.org>
In reply to#66857
On 02/21/2014 07:57 PM, Dennis Lee Bieber wrote:
> On Fri, 21 Feb 2014 15:28:55 -0800 (PST), anujg1984@gmail.com declaimed the
> following:
> 
>> I want to have textboxes, sliders, and buttons in the web browser that change the data visualization just like shiny does in R.
>>
>> Is there something like that in python. 
> 
> 	Python doesn't really matter here... You've described HTML objects, and
> for dynamic ones, you are likely talking either M$ "ASP", or Javascript
> (unless you have a browser that can run embedded Python scripts).
> 
> 	At least, I'm guessing you don't intend to have every movement of a
> "slider" trigger a page refresh from a server -- you want the action to
> operate /in/ the browser. "In the browser" means the server language
> doesn't matter -- it's solely the Javascript that gets sent to the browser.

I'm pretty sure he's talking about tools that make it really slick to
put up graphs in a window and manipulate them with GUI controls.
Nothing to do with html or web programming here, at least not what the
OP was asking for.

Such things can be done in Python using a GUI library, but that's quite
a bit more work than using the SHINY library appears to be in R.  The OP
might be advised to check out the SciPy forums and mailing lists.  Or
talk to the folks at the Sage project.

[toc] | [prev] | [next] | [standalone]


#66902

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2014-02-22 14:04 -0500
Message-ID<mailman.7266.1393095873.18130.python-list@python.org>
In reply to#66857
On Fri, 21 Feb 2014 20:10:39 -0700, Michael Torrie <torriem@gmail.com>
declaimed the following:

>On 02/21/2014 07:57 PM, Dennis Lee Bieber wrote:
>> On Fri, 21 Feb 2014 15:28:55 -0800 (PST), anujg1984@gmail.com declaimed the
>> following:
>> 
>>> I want to have textboxes, sliders, and buttons in the web browser that change the data visualization just like shiny does in R.
>>>
>>> Is there something like that in python. 
>> 
>> 	Python doesn't really matter here... You've described HTML objects, and
>> for dynamic ones, you are likely talking either M$ "ASP", or Javascript
>> (unless you have a browser that can run embedded Python scripts).
>> 
>> 	At least, I'm guessing you don't intend to have every movement of a
>> "slider" trigger a page refresh from a server -- you want the action to
>> operate /in/ the browser. "In the browser" means the server language
>> doesn't matter -- it's solely the Javascript that gets sent to the browser.
>
>I'm pretty sure he's talking about tools that make it really slick to
>put up graphs in a window and manipulate them with GUI controls.
>Nothing to do with html or web programming here, at least not what the
>OP was asking for.
>
	Except he did state "... in the web browser ...", so I responded on
that side...

	Apparently "shiny" is rather new... It isn't mentioned in any of: R in
a Nutshell 2nd ed; R Graphics Cookbook; R Graphics 2nd ed; The R Book 2nd
ed; Guidebook to R Graphics Using Microsoft Windows, nor Using R for
Introductory Statistics...
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [prev] | [next] | [standalone]


#66906

FromMichael Torrie <torriem@gmail.com>
Date2014-02-22 16:07 -0700
Message-ID<mailman.7268.1393110493.18130.python-list@python.org>
In reply to#66857
On 02/22/2014 12:04 PM, Dennis Lee Bieber wrote:
> 	Except he did state "... in the web browser ...", so I responded on
> that side...

You're right of course.  Sorry about that.  I kind of wondered why he
was asking when R does the job.

> 
> 	Apparently "shiny" is rather new... It isn't mentioned in any of: R in
> a Nutshell 2nd ed; R Graphics Cookbook; R Graphics 2nd ed; The R Book 2nd
> ed; Guidebook to R Graphics Using Microsoft Windows, nor Using R for
> Introductory Statistics...

[toc] | [prev] | [next] | [standalone]


#66910

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2014-02-22 20:21 -0500
Message-ID<mailman.7270.1393118500.18130.python-list@python.org>
In reply to#66857
On Sat, 22 Feb 2014 16:07:55 -0700, Michael Torrie <torriem@gmail.com>
declaimed the following:

>On 02/22/2014 12:04 PM, Dennis Lee Bieber wrote:
>> 	Except he did state "... in the web browser ...", so I responded on
>> that side...
>
>You're right of course.  Sorry about that.  I kind of wondered why he
>was asking when R does the job.
>
	In my short glance at the Shiny web site, apparently beside the local
host mode, they provide a web server mode too. 

	Hmmm, if they want a framework -- maybe Shiny and R can be used via the
RPy package? (long way around, but... <G>)

-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web