Re: Pyrolite and JavaScript in browser
Richard <[email protected]> Sat, 07 Mar 2015 14:36:33 +0100
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <[email protected]> |
I tried to run the gateway, but I got this: RMA:~ richard$ python -m Pyro4.utils.httpgateway -h /usr/bin/python: No module named Pyro4.utils.httpgateway RMA:~ richard$ python -m Pyro4.configuration Pyro version: 4.32 Loaded from: /Library/Python/2.7/site-packages/Pyro4-4.32-py2.7.egg/Pyro4 Python version: CPython 2.7.5 (Darwin, posix) Protocol version: 47 So I downloaded the 4.35 wheel and tried to install that, but the Pyro version did not change: sudo pip install Pyro4-4.35-2-py2.py3-none-any.whl Password: Unpacking ./Pyro4-4.35-2-py2.py3-none-any.whl Requirement already satisfied (use --upgrade to upgrade): serpent>=1.9 in /Library/Python/2.7/site-packages (from Pyro4==4.35) Installing collected packages: Pyro4 Successfully installed Pyro4 Cleaning up... RMA:Downloads richard$ python -m Pyro4.configuration Pyro version: 4.32 Loaded from: /Library/Python/2.7/site-packages/Pyro4-4.32-py2.7.egg/Pyro4 Python version: CPython 2.7.5 (Darwin, posix) Protocol version: 47 It's a bit confusing now... Richard On 07/03/15 12:25, Irmen de Jong wrote: > On 7-3-2015 11:23, Richard wrote: >> My idea is to run csound synthesizers on a headless, GUI-less Raspberry Pi. >> A client running in a browser should provide the interface in the form >> of sliders, etc, written in jQuery, JavaScript. >> The interface to csound would be a Pyro Python program running on the Pi. >> Could I use Pyrolite for the browser part to connect to JS? >> > Pyrolite is for .NET and Java, not javascript. > > Have a look at the recently introduced httpgateway in Pyro, which offers a simple REST > interface that talks Json. You can easily access that via javascript. > > Irmen > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Pyro-core mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pyro-core ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/