Re: [LAD] Favorite Python3 equivalent of PyJack?

2016-04-25 Thread IOhannes m zmoelnig
On 2016-04-20 13:50, Matthias Geier wrote:
> Hi Jonathan.
> 
> On Tue, Apr 19, 2016 at 3:24 AM, Jonathan Brickman wrote:
>> I am finding myself motivated to convert from Python 2.7 to Python 3, and I
>> just realized that PyJack, the Python JACK library I have been using, has
>> not been set up for Python 3.  Anyone have a favorite JACK library for
>> Python3?
> 
> I'm probably biased (because I'm its author), but I like this one:
> http://jackclient-python.rtfd.org/
> 
> It works for both Python 2 and 3.
> 


i'm biased as well and involved in PyJack.
well, at least one of the various packages named PyJack, the one started
by Andy Schmeder and hosted at sourceforge:
   https://sourceforge.net/projects/py-jack/

if memory serves me well (and the git logs tell no lies), then i have
added python3 support to the v0.6 version about 3 years ago.

however, afaik we never did a format release (not even tag it), so
that's why there's still v0.5.2 sitting on PyPi, which lacks python3.

fgmasdr
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Favorite Python3 equivalent of PyJack?

2016-04-24 Thread Matthias Geier
Hi Chris.

On Thu, Apr 21, 2016 at 5:00 PM, Christopher Arndt wrote:
> Am 21.04.2016 um 10:14 schrieb Matthias Geier:
>> Those are the reasons for my recommendation:
>
> Ok, thanks for the explanation. I was just surprised by the strong
> wording. I would have probably written something like "Installing Numpy
> via pip is only recommended, if you are experienced with installing
> Python packages."

OK, thanks for the hint, I've changed the wording slightly:
http://jackclient-python.readthedocs.org/en/latest/#requirements

> Anyway, it's just a minor thing, I was just curious. I'll try to check
> out the package soon.

If you have any further suggestions for improvements, don't hesitate
to open issues/pull requests on Github:
https://github.com/spatialaudio/jackclient-python

This of course applies to everyone who is reading this!

cheers,
Matthias
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Favorite Python3 equivalent of PyJack?

2016-04-21 Thread Jonathan E. Brickman
Greetings, Matthias, and thanks for writing.  Indeed I do like your 
JACK-Client very much, I am working on converting my JACK process 
control library to it right now and you have saved me much code and 
complexity!


J.E.B.

On 04/20/2016 06:50 AM, Matthias Geier wrote:

Hi Jonathan.

On Tue, Apr 19, 2016 at 3:24 AM, Jonathan Brickman wrote:

I am finding myself motivated to convert from Python 2.7 to Python 3, and I
just realized that PyJack, the Python JACK library I have been using, has
not been set up for Python 3.  Anyone have a favorite JACK library for
Python3?

I'm probably biased (because I'm its author), but I like this one:
http://jackclient-python.rtfd.org/

It works for both Python 2 and 3.

cheers,
Matthias


--
Jonathan E. Brickman   j...@ponderworthy.com   (785)233-9977
Hear us at http://ponderworthy.com -- CDs and MP3 now available! 


Music of compassion; fire, and life!!!
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Favorite Python3 equivalent of PyJack?

2016-04-21 Thread Christopher Arndt
Am 21.04.2016 um 10:14 schrieb Matthias Geier:
> Those are the reasons for my recommendation:

Ok, thanks for the explanation. I was just surprised by the strong
wording. I would have probably written something like "Installing Numpy
via pip is only recommended, if you are experienced with installing
Python packages."

Anyway, it's just a minor thing, I was just curious. I'll try to check
out the package soon.


Chris






signature.asc
Description: OpenPGP digital signature
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Favorite Python3 equivalent of PyJack?

2016-04-21 Thread Matthias Geier
Hello Chris.

On Wed, Apr 20, 2016 at 5:10 PM, Christopher Arndt wrote:
> Am 20.04.2016 um 13:50 schrieb Matthias Geier:
>> I'm probably biased (because I'm its author), but I like this one:
>> http://jackclient-python.rtfd.org/
>
> Thanks for the link. Not sure, if I had this project already on the radar.

Well now you have!

> From the documentation:
>
> "Installing NumPy with pip is not recommended."
>
> Why do you write that? I have had no problems installing Numpy numerous
> times with pip (on Linux). Are you referring to a system-wide
> installation of Numpy? I usually use a virtualenv for every project
> anyway, and Numpy installs into virtualenv without problems.

I don't say it's impossible, I'm just not recommending it.
And mainly, I'm directing this to Python-newbies, advanced Python
users will already know how they prefer to install NumPy and they will
ignore my recommendation anyway.

Those are the reasons for my recommendation:

* installing (including compiling) with pip will take *much* longer
than installing it with apt-get or conda or .

* compiling NumPy need loads of third-party (non-Python) libraries,
which need to be installed beforehand. If some libraries are not
available, they might be replaced by other, less efficient ones during
compilation. I trust that the Debian people (and the Anaconda people
as well) took the time to choose the proper dependencies and that all
of those are compiled with appropriate flags. If you want to use
hand-tuned compilation settings, you are free to do that, but I guess
a newbie shouldn't be bothered with that.

* Everybody should do "apt-get upgrade" (or equivalent) regularly,
which will keep NumPy up-to-date. That's much more tedious with pip.

I know only one disadvantage:

* The pip version of NumPy might be more recent than a
Debian/conda/... binary package. But I guess that's not really a
problem for a newbie, either.

Does this sound reasonable?
Did I miss anything?

If it turns out that there is a real disadvantage for newbies there,
I'll of course change my recommendation.

cheers,
Matthias
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Favorite Python3 equivalent of PyJack?

2016-04-20 Thread Christopher Arndt
Am 20.04.2016 um 18:41 schrieb Gene Heskett:
> Your OpenPGP signature is bad coming in here, Christopher.

I recently updated the expiry date. Maybe you need to refresh your
keyring? Or maybe the mailing list mangles the messsage?

Chris




signature.asc
Description: OpenPGP digital signature
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Favorite Python3 equivalent of PyJack?

2016-04-20 Thread Gene Heskett
On Wednesday 20 April 2016 11:10:24 Christopher Arndt wrote:

Your OpenPGP signature is bad coming in here, Christopher.

> Am 20.04.2016 um 13:50 schrieb Matthias Geier:
> > I'm probably biased (because I'm its author), but I like this one:
> > http://jackclient-python.rtfd.org/
>
> Thanks for the link. Not sure, if I had this project already on the
> radar.
>
> From the documentation:
>
> "Installing NumPy with pip is not recommended."
>
> Why do you write that? I have had no problems installing Numpy
> numerous times with pip (on Linux). Are you referring to a system-wide
> installation of Numpy? I usually use a virtualenv for every project
> anyway, and Numpy installs into virtualenv without problems.
>
>
> Chris


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Favorite Python3 equivalent of PyJack?

2016-04-20 Thread Christopher Arndt
Am 20.04.2016 um 13:50 schrieb Matthias Geier:
> I'm probably biased (because I'm its author), but I like this one:
> http://jackclient-python.rtfd.org/

Thanks for the link. Not sure, if I had this project already on the radar.

From the documentation:

"Installing NumPy with pip is not recommended."

Why do you write that? I have had no problems installing Numpy numerous
times with pip (on Linux). Are you referring to a system-wide
installation of Numpy? I usually use a virtualenv for every project
anyway, and Numpy installs into virtualenv without problems.


Chris




signature.asc
Description: OpenPGP digital signature
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Favorite Python3 equivalent of PyJack?

2016-04-20 Thread Matthias Geier
Hi Jonathan.

On Tue, Apr 19, 2016 at 3:24 AM, Jonathan Brickman wrote:
> I am finding myself motivated to convert from Python 2.7 to Python 3, and I
> just realized that PyJack, the Python JACK library I have been using, has
> not been set up for Python 3.  Anyone have a favorite JACK library for
> Python3?

I'm probably biased (because I'm its author), but I like this one:
http://jackclient-python.rtfd.org/

It works for both Python 2 and 3.

cheers,
Matthias
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev