Re: [Numpy-discussion] ANN: numtraits v0.2

2015-09-24 Thread Thomas Robitaille
Hi Sylvain, Sylvain Corlay wrote: > Hi Thomas, > > This is great news! > > FYI, the traitlets module has been undergoing significant refactoring > lately, improving the API to favor a broader usage in the community. > One reason for this is that several projects outside of the Jupyter > organi

Re: [Numpy-discussion] ANN: numtraits v0.2

2015-09-23 Thread Sylvain Corlay
Hi Thomas, This is great news! FYI, the traitlets module has been undergoing significant refactoring lately, improving the API to favor a broader usage in the community. One reason for this is that several projects outside of the Jupyter organization are considering adopting traitlets. You can f

Re: [Numpy-discussion] ANN: numtraits v0.2

2015-09-23 Thread Stefan van der Walt
On 2015-09-23 17:16:14, Nathaniel Smith wrote: >> This looks great! At the moment, a pip install tries to install a >> different version of NumPy, even though I already have the development >> version on my tree. > > FYI the alternative solution is to fix your local numpy install to > give pip an

Re: [Numpy-discussion] ANN: numtraits v0.2

2015-09-23 Thread Nathaniel Smith
On Wed, Sep 23, 2015 at 5:10 PM, Stefan van der Walt wrote: > Hi Thomas > > On 2015-09-23 09:39:00, Thomas Robitaille wrote: >> We have released a small experimental package called numtraits that >> builds on top of the traitlets package and provides a NumericalTrait >> class that can be used to

Re: [Numpy-discussion] ANN: numtraits v0.2

2015-09-23 Thread Stefan van der Walt
Hi Thomas On 2015-09-23 09:39:00, Thomas Robitaille wrote: > We have released a small experimental package called numtraits that > builds on top of the traitlets package and provides a NumericalTrait > class that can be used to validate properties such as: This looks great! At the moment, a pip

[Numpy-discussion] ANN: numtraits v0.2

2015-09-23 Thread Thomas Robitaille
Hi everyone, We have released a small experimental package called numtraits that builds on top of the traitlets package and provides a NumericalTrait class that can be used to validate properties such as: * number of dimension (for arrays) * shape (for arrays) * domain (e.g. positive, negative, r