# New Python category?

**URL:** https://discourse.vtk.org/t/new-python-category/7832
**Category:** Site Feedback
**Tags:** python, proposal
**Created:** [February 13, 2022, 9:04pm UTC](https://discourse.vtk.org/t/new-python-category/7832 "2022-02-13T21:04:20Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![berk.geveci](https://discourse.vtk.org/user_avatar/discourse.vtk.org/berk.geveci/32/3146_2.png) [@berk.geveci](https://discourse.vtk.org/u/berk.geveci)
#### Post date: [February 13, 2022, 9:04pm UTC](https://discourse.vtk.org/t/new-python-category/7832/1 "2022-02-13T21:04:20Z")

</div>

Hello everyone. What do you think about adding a Python category where we would discuss all things VTK + Python?

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.vtk.org/user_avatar/discourse.vtk.org/cory.quammen/32/6751_2.png) [@cory.quammen](https://discourse.vtk.org/u/cory.quammen)
#### Post date: [February 14, 2022, 3:03am UTC](https://discourse.vtk.org/t/new-python-category/7832/2 "2022-02-14T03:03:21Z")

</div>

I think that’s a good idea.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [February 14, 2022, 9:13am UTC](https://discourse.vtk.org/t/new-python-category/7832/3 "2022-02-14T09:13:57Z")

</div>

+1000

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [February 14, 2022, 2:56pm UTC](https://discourse.vtk.org/t/new-python-category/7832/4 "2022-02-14T14:56:25Z")

</div>

Do you mean a new category for discussing Python wrapping infrastructure, pip/conda packages, etc? Or you would like to separate questions about VTK depending on what language the poster uses the most often for VTK?

For me the first could make sense (although a tag may be more appropriate). The second may be hard to put in practice, because we don’t always know the language preference and it could also result in unnecessary siloing of information.

If the goal is to just see what languages VTK users mostly use a survey might work better. I would be very curious about the result of such survey, because my impression from questions posted on VTK, Slicer, and ITK forums is that the overwhelming majority uses Python. But results may be skewed because maybe C++ users ask less questions.

---

<div class="post-metadata">

### Author: ![berk.geveci](https://discourse.vtk.org/user_avatar/discourse.vtk.org/berk.geveci/32/3146_2.png) [@berk.geveci](https://discourse.vtk.org/u/berk.geveci)
#### Post date: [February 14, 2022, 3:03pm UTC](https://discourse.vtk.org/t/new-python-category/7832/5 "2022-02-14T15:03:29Z")

</div>

I am thinking a category for python-specific things. The wrapping infrastructure etc. would definitely fall into that category. I don’t consider the use of VTK from python to be a very python-specific thing. Most of the time, the same issues apply to both C++ and VTK. On the other hand, if you are trying to access the call data of an event from python, that’s a python specific thing. (I didn’t know that it was possible until recently. @dgobbi did a fantastic job there!)  
My specific use case is that I want to propose some changes to the dataset\_adapter module. I would actually like to propose a new module that lives closer to VTK and makes it easier to interface with numpy and pandas. I couldn’t figure out where to post that. I would like feedback from both users and developers; those that are involved with python.

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [February 14, 2022, 3:25pm UTC](https://discourse.vtk.org/t/new-python-category/7832/6 "2022-02-14T15:25:50Z")

</div>

I agree that Python support infrastructure is a very distinct topic, so it could be moved out to a new category.

However, category makes a very strong divide, it is very high level, kind of corresponds to subcommunities. So, a new category would be probably not justified for discussing this topic. It may be better to standardize on using a `python-wrapping` or similar _tag_ that would have most of the benefits of a category (forum members can sign up to get notifications, easily get list of related topics, etc) and it would not clutter the forum, could be used in both Support and Development categories, and could help with making the posts visible to more members.

Improving numpy and pandas interface would be great. Moving slightly beyond that with xarray support and coordinate with ITK would be even better. That would ideally allow us to get an image from ITKPython and render it using VTK without loss of metadata or doing complex conversion steps.

---

<div class="post-metadata">

### Author: ![dgobbi](https://discourse.vtk.org/user_avatar/discourse.vtk.org/dgobbi/32/18_2.png) [@dgobbi](https://discourse.vtk.org/u/dgobbi)
#### Post date: [February 14, 2022, 3:34pm UTC](https://discourse.vtk.org/t/new-python-category/7832/7 "2022-02-14T15:34:25Z")

</div>

Just a quick (slightly off-topic) clarification to this point:

> [@berk.geveci](#):
>
> access the call data of an event from python

There were several people who worked on this feature. Most of the code (and documentation) were from Jean-Christophe.

---

<div class="post-metadata">

### Author: ![berk.geveci](https://discourse.vtk.org/user_avatar/discourse.vtk.org/berk.geveci/32/3146_2.png) [@berk.geveci](https://discourse.vtk.org/u/berk.geveci)
#### Post date: [February 14, 2022, 5:06pm UTC](https://discourse.vtk.org/t/new-python-category/7832/8 "2022-02-14T17:06:54Z")

</div>

I would be fine with a python tag or something like that. It would be great to hear from a few others though.

By the way, it doesn’t look like I can create categories or tags. I am assuming that this would fall to one of the site maintainers?

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [February 14, 2022, 5:39pm UTC](https://discourse.vtk.org/t/new-python-category/7832/9 "2022-02-14T17:39:14Z")

</div>

Permission for creating tags is only available above a certain trust level (to avoid proliferation of tags). We can ask [@admins](https://discourse.vtk.org/groups/admins) to create a new tag if nobody in this discussion has sufficient trust level.

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.vtk.org/user_avatar/discourse.vtk.org/cory.quammen/32/6751_2.png) [@cory.quammen](https://discourse.vtk.org/u/cory.quammen)
#### Post date: [February 14, 2022, 7:12pm UTC](https://discourse.vtk.org/t/new-python-category/7832/10 "2022-02-14T19:12:17Z")

</div>

I can create categories/tags.

---

<div class="post-metadata">

### Author: ![dgobbi](https://discourse.vtk.org/user_avatar/discourse.vtk.org/dgobbi/32/18_2.png) [@dgobbi](https://discourse.vtk.org/u/dgobbi)
#### Post date: [February 15, 2022, 3:44am UTC](https://discourse.vtk.org/t/new-python-category/7832/11 "2022-02-15T03:44:40Z")

</div>

Tags are nice because they can be combined. For example, “python”+“proposal” in category “Development”.

---

<div class="post-metadata">

### Author: ![estan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/estan/32/460_2.png) [@estan](https://discourse.vtk.org/u/estan)
#### Post date: [February 15, 2022, 6:55am UTC](https://discourse.vtk.org/t/new-python-category/7832/12 "2022-02-15T06:55:35Z")

</div>

I also like tags rather than siloing into categories. Even if I work mostly from C++, I like seeing the posts about Python/Java etc because often I can learn something from those anyway (and occasionally help someone). I subscribe to Support and Development categories.

---

<div class="post-metadata">

### Author: ![berk.geveci](https://discourse.vtk.org/user_avatar/discourse.vtk.org/berk.geveci/32/3146_2.png) [@berk.geveci](https://discourse.vtk.org/u/berk.geveci)
#### Post date: [February 16, 2022, 12:50am UTC](https://discourse.vtk.org/t/new-python-category/7832/13 "2022-02-16T00:50:54Z")

</div>

Tag it is then. Thank you all. @cory.quammen can you create the python tag?

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.vtk.org/user_avatar/discourse.vtk.org/cory.quammen/32/6751_2.png) [@cory.quammen](https://discourse.vtk.org/u/cory.quammen)
#### Post date: [February 16, 2022, 2:36pm UTC](https://discourse.vtk.org/t/new-python-category/7832/14 "2022-02-16T14:36:27Z")

</div>

Done. The tag `python` has been created.
