[IPython-dev] NDArray for traitlets

Satrajit Ghosh satra at mit.edu
Thu Jan 2 13:17:40 EST 2014


thanks brian.

didn't know this had happened. will contribute changes back to this project.

cheers,

satra

On Thu, Jan 2, 2014 at 7:07 PM, Brian Granger <ellisonbg at gmail.com> wrote:

> Work on separating traitlets has already begun here:
>
> https://github.com/ipython/traitlets
>
> It is definitely Python 3 compatible.
>
> On Thu, Jan 2, 2014 at 9:51 AM, Marmaduke Woodman <mmwoodman at gmail.com>
> wrote:
> > Hi satra,
> >
> > I am +1 for nypipe interop as the project I'll use traitlets on is also
> > neurosciency (github.com/mmwoodman/tvb we are still thinking how to use
> > nypipe) and maybe we can set up common, domain specific classes, eg
> sensors,
> > head models, MRI etc.
> >
> > Traitlets is already py3 compatible no?
> >
> > Have you aet up an independent repo already?
> >
> > New years cheers
> >
> > On Jan 2, 2014 12:39 PM, "Satrajit Ghosh" <satra at mit.edu> wrote:
> >>
> >> hi marmaduke,
> >>
> >> happy new year!
> >>
> >> recently i started playing with ipython traitlets to add some more
> traits
> >> functionality (dict, file/directory, either traits) that i needed in
> order
> >> to work with nipype. this is where i'm doing the work.
> >>
> >> https://github.com/nipy/nipype/pull/755
> >>
> >> i was hoping to first make sure everything was working in nipype and we
> >> could make the transition to py3k before figuring out how best to merge
> back
> >> to ipython or create a separate project.
> >>
> >> we could split off traitlets as a project and i can pull it in as a git
> >> submodule if other folks wanted to work on it as well.
> >>
> >> cheers,
> >>
> >> satra
> >>
> >> On Tue, Dec 31, 2013 at 12:25 AM, Marmaduke Woodman <
> mmwoodman at gmail.com>
> >> wrote:
> >>>
> >>> Hi,
> >>>
> >>> I was taking IPython's traitlets module for a spin to do manifest
> typing
> >>> in a project I work on, and the only thing I found missing was an
> NDArray
> >>> class which was fairly easy to put together, to traitlets' credit, and
> is
> >>> posted at
> >>>
> >>> https://gist.github.com/mmwoodman/8187958
> >>>
> >>> Basically, it is designed mainly to support shape and dtype
> >>> specifications, which are enforced during validation, and change
> >>> notification, configured per trait using `id()`, `all()` or
> `allclose()`.
> >>>
> >>> I'm writing to share this is case it is useful for other users of the
> >>> traitlets module, and if anyone is willing to provide some feedback on
> how
> >>> I've used the traitlets module, I'd love to hear it.
> >>>
> >>> I've also heard that traitlets might also be spun-off into a standalone
> >>> module, in which case I'd find useful to have something like this be
> >>> included.
> >>>
> >>>
> >>> Thanks,
> >>> Marmaduke
> >>>
> >>> _______________________________________________
> >>> IPython-dev mailing list
> >>> IPython-dev at scipy.org
> >>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >>>
> >>
> >>
> >> _______________________________________________
> >> IPython-dev mailing list
> >> IPython-dev at scipy.org
> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >>
> >
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
> >
>
>
>
> --
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> bgranger at calpoly.edu and ellisonbg at gmail.com
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140102/d3662b02/attachment.html>


More information about the IPython-dev mailing list